Hello,
Working with 2.6 , xhb october release , i try to compile testRichprg :
xLINK: error: Unresolved external symbol '_GetFileVersionInfoSizeA'.
xLINK: error: Unresolved external symbol '_GetFileVersionInfoA'.
xLINK: error: Unresolved external symbol '_VerQueryValueA'.
I know that riched20.dll is required , so i have searched and downloaded it, and put in the samples directory
Frank
TestRich.prg
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Frank,
Please link this library too:
http://hyperupload.com/download/7da2854 ... n.lib.html
It is a missing import library in xharbour builder.
This library is not needed using Borland or Microsoft.
Please link this library too:
http://hyperupload.com/download/7da2854 ... n.lib.html
It is a missing import library in xharbour builder.
This library is not needed using Borland or Microsoft.
- AlexSchaft
- Posts: 172
- Joined: Fri Oct 07, 2005 1:29 pm
- Location: Edenvale, Gauteng, South Africa
version.lib
Hi,
xHarbour will find it if specified on the cmd line. It's in C:\xhb\c_lib\Win
xHarbour will find it if specified on the cmd line. It's in C:\xhb\c_lib\Win
-
- Posts: 142
- Joined: Sun Oct 09, 2005 10:59 am
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 142
- Joined: Sun Oct 09, 2005 10:59 am
Testrich.prg
Antonio
I reported on xhb problems when rc-files are in the xbp-file (step 3)
Tested on alaska.prg and alaska.rc :
When alaska.rc is not present in the build file , it build and runs ok
So i suppose there is no need to import a rc-file with the same name in the xbp-file
But when we import the rc-file in the xbp-file , i got errors as described earlyer. The first line in the rc-file , # include .../winapi.ch , takes winapi.ch from XHB , not from fwh . It seems that the default dir is changed to XHB.
Note that in fw2.6 and xhb october release there are no problems
Then i take testrich.prg , which has as alaska.prg also a rc-file with the same name
First try : without rc-file in the xbp-file :
pplication
===========
Path and name: C:\FWH\SAMPLES\testrich.exe (32 bits)
Size: 1,426,432 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 01/29/06, 09:01:31
Error description: Error FiveWin/3 Cannot create Dialog Box:
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿResource: Test
Stack Calls
===========
Called from: => CREATEDLGERROR(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: testrich.prg => MAIN(34)
SO , TESTRICH.RC MUST BE INCLUDED . WHY ? . IN ALASKA IT WAS NOT NEEDED.
Next problem : see higher
The first line in the rc-file , # include .../winapi.ch , takes winapi.ch from XHB , not from fwh . It seems that the default dir is changed to XHB.
So i had to change this line in # include "c:\fwh\....." , and now it seems to work. Yesterday i thaught that i had always the same error (cannot create dialog) , but maybe i did something wrong
I will report on xhb forum
Frank
I reported on xhb problems when rc-files are in the xbp-file (step 3)
Tested on alaska.prg and alaska.rc :
When alaska.rc is not present in the build file , it build and runs ok
So i suppose there is no need to import a rc-file with the same name in the xbp-file
But when we import the rc-file in the xbp-file , i got errors as described earlyer. The first line in the rc-file , # include .../winapi.ch , takes winapi.ch from XHB , not from fwh . It seems that the default dir is changed to XHB.
Note that in fw2.6 and xhb october release there are no problems
Then i take testrich.prg , which has as alaska.prg also a rc-file with the same name
First try : without rc-file in the xbp-file :
pplication
===========
Path and name: C:\FWH\SAMPLES\testrich.exe (32 bits)
Size: 1,426,432 bytes
Time from start: 0 hours 0 mins 0 secs
Error occurred at: 01/29/06, 09:01:31
Error description: Error FiveWin/3 Cannot create Dialog Box:
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿResource: Test
Stack Calls
===========
Called from: => CREATEDLGERROR(0)
Called from: DIALOG.PRG => TDIALOG:ACTIVATE(0)
Called from: testrich.prg => MAIN(34)
SO , TESTRICH.RC MUST BE INCLUDED . WHY ? . IN ALASKA IT WAS NOT NEEDED.
Next problem : see higher
The first line in the rc-file , # include .../winapi.ch , takes winapi.ch from XHB , not from fwh . It seems that the default dir is changed to XHB.
So i had to change this line in # include "c:\fwh\....." , and now it seems to work. Yesterday i thaught that i had always the same error (cannot create dialog) , but maybe i did something wrong
I will report on xhb forum
Frank
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: