Page 1 of 1

How to use 1 RC and 1 DLL file?

Posted: Mon Nov 28, 2005 11:12 am
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

Posted: Mon Nov 28, 2005 11:38 am
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

I've 2 DLL files in my app.?

Posted: Mon Nov 28, 2005 6:52 pm
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