FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to use 1 RC and 1 DLL file?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How to use 1 RC and 1 DLL file?
Posted: 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

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
How to use 1 RC and 1 DLL file?
Posted: 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
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
I've 2 DLL files in my app.?
Posted: Mon Nov 28, 2005 06: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

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion