TestRich.prg

TestRich.prg

Postby Frank Demont » Thu Jan 26, 2006 8:53 am

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
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Postby Antonio Linares » Thu Jan 26, 2006 9:25 am

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

version.lib

Postby AlexSchaft » Thu Jan 26, 2006 12:07 pm

Hi,

xHarbour will find it if specified on the cmd line. It's in C:\xhb\c_lib\Win
User avatar
AlexSchaft
 
Posts: 172
Joined: Fri Oct 07, 2005 1:29 pm
Location: Edenvale, Gauteng, South Africa

Postby Silvio » Fri Jan 27, 2006 11:56 pm

How can I know all the func of riched20.dll
where I can found information on this dll
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Frank Demont » Sat Jan 28, 2006 9:35 pm

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
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Postby Antonio Linares » Sat Jan 28, 2006 9:45 pm

Frank,

Do you mean samples\TestRich.prg ?

What error do you get ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Testrich.prg

Postby Frank Demont » Sun Jan 29, 2006 8:07 am

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
Frank Demont
 
Posts: 142
Joined: Sun Oct 09, 2005 10:59 am

Postby Antonio Linares » Sun Jan 29, 2006 10:12 am

Frank,

Do this simple test:

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 76 guests