hi all,
I've ancounter problem at my user where same dll/exe files updated to same computer BUT return different result. Computer A, can run all the module with susccesfull. But Computer B, prompt this error fivewin/1 : non defined id. This error prompt when reading my program to activate a dialog 210 on screen.
I tottaly lost in my own jungle where after checked tru my program, there's no problem at all.
relaly need help on how to solve this. How come same program return different result.
--
Masita
error Fivewin/1 Non Defined Id : No 210
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
You could avoid this problem by adding the resource compiler to your LNK-file.
What do you have to do :
1. Open your DLL-files with Workshop and save them as RES-files.
2. Re-open your RES-files and save them with the same name (you need to this otherwisse you'll get an error "unable to create dialogbox").
3. Add the resource compiler into your LNK-file. Do it like this :
-----------------
OUTPUT YOUR_APPLICATION.EXE
BLINKER INCREMENTAL OFF
BLINKER CLIPPER SYMBOL OFF
BLINKER EXECUTABLE ALIGNMENT 128
PACKCODE
PACKDATA
FI YOUR_PRG-files
DEFBEGIN
name YOUR_APPLICATION
description 'Your application'
exetype Windows 3.1
code moveable discardable preload
data preload moveable
rc YOUR-RES-file.RES
stacksize 10500 (use your own stacksize)
heapsize 1024 (use your own heapsize)
segment 'PLANKTON_TEXT' nondiscardable
segment 'EXTEND_TEXT' nondiscardable
segment 'OM_TEXT' nondiscardable
segment 'OSMEM_TEXT' nondiscardable
segment 'SORTOF_TEXT' nondiscardable
segment 'STACK_TEXT' nondiscardable
DEFEND
LIB YOUR_LIB's
LIB oFive16, oFive16C, OZLIBc, Objects
LIB WinApi
NOBELL
-----------------
4. Add a rc-line for each RES-file
5. Compile and link your application.
By doing this, you'll avoid a wrong DLL-file to be used.
Good luck.
What do you have to do :
1. Open your DLL-files with Workshop and save them as RES-files.
2. Re-open your RES-files and save them with the same name (you need to this otherwisse you'll get an error "unable to create dialogbox").
3. Add the resource compiler into your LNK-file. Do it like this :
-----------------
OUTPUT YOUR_APPLICATION.EXE
BLINKER INCREMENTAL OFF
BLINKER CLIPPER SYMBOL OFF
BLINKER EXECUTABLE ALIGNMENT 128
PACKCODE
PACKDATA
FI YOUR_PRG-files
DEFBEGIN
name YOUR_APPLICATION
description 'Your application'
exetype Windows 3.1
code moveable discardable preload
data preload moveable
rc YOUR-RES-file.RES
stacksize 10500 (use your own stacksize)
heapsize 1024 (use your own heapsize)
segment 'PLANKTON_TEXT' nondiscardable
segment 'EXTEND_TEXT' nondiscardable
segment 'OM_TEXT' nondiscardable
segment 'OSMEM_TEXT' nondiscardable
segment 'SORTOF_TEXT' nondiscardable
segment 'STACK_TEXT' nondiscardable
DEFEND
LIB YOUR_LIB's
LIB oFive16, oFive16C, OZLIBc, Objects
LIB WinApi
NOBELL
-----------------
4. Add a rc-line for each RES-file
5. Compile and link your application.
By doing this, you'll avoid a wrong DLL-file to be used.
Good luck.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7