How to use 1 RC and 1 DLL file?

Post Reply
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

How to use 1 RC and 1 DLL file?

Post by dutch »

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

Post by Antonio Linares »

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
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

I've 2 DLL files in my app.?

Post by dutch »

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
Post Reply