prob with brc32

prob with brc32

Postby patili » Wed Nov 19, 2008 7:20 pm

Hi i have a problem in my migration to harbour
I can't create my .res to be link in the app

BRC32 -r file.rc (i use Borland C++ 5.5.1)

it don't create something

I've tried many [options] of BRC32 and BRCC32 and never generate any file.res
Thanks for help
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Postby patili » Wed Nov 19, 2008 8:42 pm

In fact in my batch file it doesn't work
but when i go in a dos box and input at the prompt "BRCC32 -32 file.rc" it generate my file.res
I don't understand why it didn't work in the batch file
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Postby dutch » Thu Nov 20, 2008 4:30 am

Dear Patili,

Don't you forget to create BCC32.CFG and ILINK32.CFG as following

BCC32.CFG
-IC:\BCC55\INCLUDE
-LC:\BCC55\LIB

ILINK32.CFG
-LC:\BCC55\LIB

Dutch
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Thu Nov 20, 2008 8:12 am

Patrick,

> it don't create something

What error do you get on the screen ? It should report an error.
regards, saludos

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

Postby patili » Thu Nov 20, 2008 1:11 pm

Sometimes i think i am very stupid
In my batch i've put

"ECHO brcc32 -32 file.rc"

I just cut ECHO and everything is clear

I AM RED WITH THE SHAME!!!!!!



But i have an other error : I can't preview my prints
hERE IS ERROR LOG

"Application
===========
Path and name: C:\titus\PRG\titus.exe (32 bits)
Size: 1,585,664 bytes
Time from start: 0 hours 0 mins 25 secs
Error occurred at: 20/11/08, 14:06:23
Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: PREVIEW_PROC

Stack Calls
===========
Called from: .\source\classes\DIALOG.PRG => CREATEDLGERROR(0)
Called from: => TDIALOG:ACTIVATE(0)
Called from: => TREPORT:ACTIVATE(0)
Called from: VACCIN.prg => IMPLISTE(275)
Called from: VACCIN.prg => (b)VACCIN(100)
Called from: => TBUTTON:CLICK(0)
Called from: => TBUTTON:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => SENDMESSAGE(0)
Called from: => TDIALOG:COMMAND(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TDIALOG:HANDLEEVENT(0)
Called from: => DIALOGBOX(0)
Called from: => TDIALOG:ACTIVATE(0)
Called from: VACCIN.prg => VACCIN(108)
Called from: VACCIN.prg => VACCIN0(9)
Called from: TITUS.prg => (b)BARRE(481)
Called from: => TBTNBMP:CLICK(0)
Called from: => TBTNBMP:LBUTTONUP(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TCONTROL:HANDLEEVENT(0)
Called from: => TBTNBMP:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: => TWINDOW:ACTIVATE(0)
Called from: TITUS.prg => PRINCIPALE(394)


THANKS
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Postby Antonio Linares » Thu Nov 20, 2008 1:18 pm

Patrick,

Please remember to copy FWH\DLL\prev32.dll to the folder where your EXE is located.
regards, saludos

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

Postby Armando » Thu Nov 20, 2008 1:19 pm

Patili:

Perhaps you have not the PREV32.DLL file in the exe's folder.

Regards
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3067
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Postby patili » Thu Nov 20, 2008 8:33 pm

Yes it works fine
Thank you two
Patrick
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Postby driessen » Thu Nov 20, 2008 8:58 pm

Hello everybody,

Concerning PREV32.DLL, I can do this proposition.

I imported all the resources of PREV32.DLL into my own DLL-file or RES-file. And it works very well.

It was a great help for me since I don't have to take care about PREV32.DLL anymore.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.02 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc77
User avatar
driessen
 
Posts: 1396
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Antonio Linares » Thu Nov 20, 2008 9:23 pm

Michel,

Yes, thats a good solution to avoid prev32.dll :-)
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

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