How to use 1 RC and 1 DLL file?

How to use 1 RC and 1 DLL file?

Postby dutch » Mon Nov 28, 2005 11:12 am

Dear All,

I've use 1 RC (Fix screen) and DLL (custom screen ) file as following in fw 16bit. How can I do in FWH/xHb?

************
Static hResc

Function main()
hResc := GetResources()
SET RESOURCES TO ("SECOND.DLL")
SET RESOURCES TO ("BWCC.DLL")
SetResource( hResc )
..

Function Scr
Set Resource To "SECOND.DLL"
DEFINE DIALOG ...
ACTIVATE DIALOG ... ;
ON PAINT SetResources( hResc )
return

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

Postby Antonio Linares » Mon Nov 28, 2005 11:38 am

Dutch,

Are you using Borland controls in your resources ?

If yes then please read "Using Borland Custom Controls (Bwcc32.dll)" at http://www.fivetechsoft.com/english/fwh.html
regards, saludos

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

I've 2 DLL files in my app.?

Postby dutch » Mon Nov 28, 2005 6:52 pm

Dear Antonio,

I've 2 DLL files. The 1st DLL used for fixed screen such as setup screen and another one is entry screen (able to modify for each customer site).

I used 1st DLL as RC file in my FW16bit and 2nd as DLL file. I can set resource from default RC file to external DLL but It doesn't work with xHB/FWH. How can I fix it?

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


Return to FiveWin for Harbour/xHarbour

Who is online

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