by driessen » Tue Dec 27, 2005 10:21 am
I use FW 2.4, Clipper 5.3e and Blinker 7.0.
I needed 6 DLL's files to store all my screens. And that was to much to handle properly.
So what did I do ?
In Workshop 4.5, I saved all my DLL-files as RES-files.
I implimented my RES-files into my LNK-script like this :
---------------------------
OUTPUT APLLIC.EXE
BLINKER INCREMENTAL OFF
BLINKER CLIPPER SYMBOL OFF
BLINKER EXECUTABLE ALIGNMENT 128
PACKCODE
PACKDATA
FI obj1
FI obj2
....
FI objZ
DEFBEGIN
name APPLIC
description 'APPLICATION'
exetype Windows 3.1
code moveable discardable preload
data preload movable
-> rc DLL1.RES
-> rc DLL2.RES
-> rc DLL3.RES
-> rc DLL4.RES
-> rc DLL5.RES
-> rc DLL6.RES
stacksize 10500
heapsize 1024
segment 'PLANTON_TEXT' nondiscardable
segment 'EXTEND_TEXT' nondiscardable
segment 'OM_TEXT' nondiscardable
segment 'OSMEM_TEXT' nondiscardable
segment 'SORTOF_TEXT' nondiscardable
segment 'STACK_TEXT' nondiscardable
DEFEND
LIB yourlibs
LIB oFive16,oFive16C
LIB WINAPI
NO BELL
---------------------------
That is how my LNK-script looks like.
And it just works fine.
Also, you need to delete all your "SET RESOURCE TO" in your PRG-files.
the '->' in the LNK-script are just signs to put the attention on, of course.
Good luck.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773