New User FWH6.12

Re: New User FWH6.12

Postby Antonio Linares » Tue Dec 20, 2011 1:12 pm

You should compile just the main FBS.rc file:

FBS.RES : FBS.RC
$(BCDIR)\bin\brc32.exe -r -I$(BCDIR)\include fbs.rc

So you will get just one single res file
regards, saludos

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

Re: New User FWH6.12

Postby RiazKhan » Tue Dec 20, 2011 3:38 pm

Dear Antonio,

Thanks,
Getting closer to a 32 bit application.
I have managed to produce a single res file including the four rc files in the exe file.

Now, some lib files need to be converted to 32 bit libs..Is there a convector for doing this. Before i go any further.

Any suggestions...??
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: New User FWH6.12

Postby Antonio Linares » Tue Dec 20, 2011 4:37 pm

You need to have the source code of those libs to rebuild them in 32 bits, otherwise you need to find a replacement for them.

What do you need them for ?
regards, saludos

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

Re: New User FWH6.12

Postby RiazKhan » Tue Dec 20, 2011 4:43 pm

Hi,

One lib holds the application security and copy protection..the prg is with myself and lib file generated and compiled..the source is with me..what file do I use to convert to 32 bits for my prg..

the other is outlook.lib....for a outlook like style.

the third is the six3 driver....its for tagged nsx files.....also the dbfs are encrypted with a password ...for protection at client end..
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: New User FWH6.12

Postby Antonio Linares » Tue Dec 20, 2011 4:58 pm

1. Simply compile the LIB PRGs using Harbour instead of Clipper
regards, saludos

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

Re: New User FWH6.12

Postby RiazKhan » Wed Dec 21, 2011 6:26 am

Hi,

The Libs are okay and compiled..No errors.

Now I have 225 prgs, 225 obj and 225 c files. Compilation gives a few warnings about syntax..but not to worry as those are not so critical. There are NO compile errors .

The exe is produced. I have added a msginfo() on the first line of my main prg as an indicator for execution..The exe file does not even reach there but just an alert dialog box appears with a OK button.

Am I missing something..????

Thanks, Regards and Merry Christmas
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: New User FWH6.12

Postby Antonio Linares » Wed Dec 21, 2011 9:18 am

Is it a Windows alert or a console text alert ?
regards, saludos

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

Re: New User FWH6.12

Postby RiazKhan » Wed Dec 21, 2011 9:53 am

Hi,
It seems a console text alert...
FBS.EXE is my application
when i run 'fbs' i get the following.:


Image


when i run 'fbs pfl,2011' i get the following :

Image


very strange....
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: New User FWH6.12

Postby Antonio Linares » Wed Dec 21, 2011 12:22 pm

Check if you get any log file in the folder where your EXE is located
regards, saludos

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

Re: New User FWH6.12

Postby RiazKhan » Wed Dec 21, 2011 12:24 pm

Hi,
NO log files.....
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: New User FWH6.12

Postby Antonio Linares » Wed Dec 21, 2011 12:28 pm

What libraries are you linking ?

Please list all the libs that you are using
regards, saludos

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

Re: New User FWH6.12

Postby RiazKhan » Wed Dec 21, 2011 12:34 pm

Hi,
Here is a list from my test.rmk file..

PROJECT : FBS.EXE

FBS.EXE : $(PRG:.PRG=.OBJ) $(D:.C=.OBJ) FBS.RES
echo off
echo $(BCDIR)\bin\C0W32.OBJ + > b32.bc
echo $(OBJS), + >> b32.bc
echo FBS.EXE, + >> b32.bc
echo FBS.MAP, + >> b32.bc
echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
echo $(HBDIR)\lib\rtl.lib + >> b32.bc
echo $(HBDIR)\lib\vm.lib + >> b32.bc
echo $(HBDIR)\lib\gtgui.lib + >> b32.bc
echo $(HBDIR)\lib\lang.lib + >> b32.bc
echo $(HBDIR)\lib\macro.lib + >> b32.bc
echo $(HBDIR)\lib\rdd.lib + >> b32.bc
echo $(HBDIR)\lib\dbfntx.lib + >> b32.bc
echo $(HBDIR)\lib\dbfcdx.lib + >> b32.bc
echo $(HBDIR)\lib\dbffpt.lib + >> b32.bc
echo $(HBDIR)\lib\hbsix.lib + >> b32.bc
echo $(HBDIR)\lib\debug.lib + >> b32.bc
echo $(HBDIR)\lib\common.lib + >> b32.bc
echo $(HBDIR)\lib\pp.lib + >> b32.bc
echo $(HBDIR)\lib\codepage.lib + >> b32.bc

echo $(HBDIR)\lib\olympia.lib + >> b32.bc
echo $(HBDIR)\lib\folder.lib + >> b32.bc
echo $(HBDIR)\lib\objects.lib + >> b32.bc
echo $(HBDIR)\lib\outlook.lib + >> b32.bc
echo $(HBDIR)\lib\oslib.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
rem echo $(HBDIR)\lib\Ace32.lib + >> b32.bc

echo $(BCDIR)\lib\cw32.lib + >> b32.bc
echo $(BCDIR)\lib\import32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\odbc32.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\nddeapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
echo $(BCDIR)\lib\psdk\rasapi32.lib, >> b32.bc

IF EXIST FBS.res echo FBS.res >> b32.bc
$(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
del b32.bc

Regards
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: New User FWH6.12

Postby Antonio Linares » Wed Dec 21, 2011 1:11 pm

Try to link gtwin.lib instead of gtgui.lib

also try to remove objects.lib
regards, saludos

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

Re: New User FWH6.12

Postby RiazKhan » Wed Dec 21, 2011 3:46 pm

Dear Antonio,

linking the gtwin.llib instead of gtgui.lib and without objects.lib produces the following errors:
*********************************************************************************************************
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_gt_w32_tone' referenced from D:\FWH\HARBOUR\LIB\
GTWIN.LIB|gtwin
Error: Unresolved external '_hb_cdpID' referenced from D:\FWH\HARBOUR\LIB\GTWIN.
LIB|gtwin
Error: Unresolved external '_hb_gt_w32_setKbdState' referenced from D:\FWH\HARBO
UR\LIB\GTWIN.LIB|gtwin
Error: Unresolved external '_hb_gt_w32_setClipboard' referenced from D:\FWH\HARB
OUR\LIB\GTWIN.LIB|gtwin
Error: Unresolved external '_hb_gt_w32_getClipboard' referenced from D:\FWH\HARB
OUR\LIB\GTWIN.LIB|gtwin

** error 2 ** deleting FBS.EXE
**********************************************************************************************************
I have checked and these calls are in the gtwin.lib file, so they should not be unresolved externals...????

I can generate a clip.log file, but that will only give the compilation of the prgs..

Thanks
FWH 20.04/Harbour3.2/Bcc7.40+/ilink32/Pelles 9.0
EMail: amriazkhan@gmail.com
Pakistan
User avatar
RiazKhan
 
Posts: 99
Joined: Fri Dec 16, 2011 3:30 pm
Location: Pakistan

Re: New User FWH6.12

Postby Antonio Linares » Wed Dec 21, 2011 6:48 pm

Link gtgui.lib and remove objects.lib
regards, saludos

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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 59 guests

cron