TestRich.prg

Post Reply
Frank Demont
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

TestRich.prg

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
AlexSchaft
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

version.lib

Post by AlexSchaft »

Hi,

xHarbour will find it if specified on the cmd line. It's in C:\xhb\c_lib\Win
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

How can I know all the func of riched20.dll
where I can found information on this dll
Frank Demont
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Frank,

Do you mean samples\TestRich.prg ?

What error do you get ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Frank Demont
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Testrich.prg

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Frank,

Do this simple test:

Replace new xRC.exe with previous xRC.exe and try it again.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply