Page 1 of 1

TestRich.prg

Posted: Thu Jan 26, 2006 8:53 am
by Frank Demont
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

Posted: Thu Jan 26, 2006 9:25 am
by Antonio Linares
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.

version.lib

Posted: Thu Jan 26, 2006 12:07 pm
by AlexSchaft
Hi,

xHarbour will find it if specified on the cmd line. It's in C:\xhb\c_lib\Win

Posted: Fri Jan 27, 2006 11:56 pm
by Silvio
How can I know all the func of riched20.dll
where I can found information on this dll

Posted: Sat Jan 28, 2006 9:35 pm
by Frank Demont
Today : a new problem

I could build and run with fw2.6+xhb oct release , not with fw2.7 + xhb feb release

Can it be confimed ?

Frank

Posted: Sat Jan 28, 2006 9:45 pm
by Antonio Linares
Frank,

Do you mean samples\TestRich.prg ?

What error do you get ?

Testrich.prg

Posted: Sun Jan 29, 2006 8:07 am
by Frank Demont
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

Posted: Sun Jan 29, 2006 10:12 am
by Antonio Linares
Frank,

Do this simple test:

Replace new xRC.exe with previous xRC.exe and try it again.