Page 1 of 1

error Fivewin/1 Non Defined Id : No 210

PostPosted: Fri Oct 14, 2005 4:14 am
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

PostPosted: Fri Oct 14, 2005 9:29 am
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.

PostPosted: Sun Oct 16, 2005 1:51 pm
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.