error Fivewin/1 Non Defined Id : No 210

Post Reply
Masita
Posts: 2
Joined: Fri Oct 14, 2005 4:05 am
Location: Malaysia
Contact:

error Fivewin/1 Non Defined Id : No 210

Post by Masita »

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

Post by Antonio Linares »

Masita,

It is really strange. Please do a search on the computer that fails, to check if there is another copy of the resources DLL.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

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