www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - Error 42: Symbol Undefined

reply "Phil Laing" <kmk gofdregzwurld.com> writes:
When compiling I got this error:

frac.obj(frac)
 Error 42: Symbol Undefined _DeleteDC 4
frac.obj(frac)
 Error 42: Symbol Undefined _BitBlt 36
frac.obj(frac)
 Error 42: Symbol Undefined _SetPixel 16
frac.obj(frac)
 Error 42: Symbol Undefined _CreateCompatibleDC 4

--- errorlevel 4

Now what I'd like to know is what does it mean and how do I fix it?

thanks,
Phil
Feb 01 2002
parent Jan Knepper <jan smartsoft.cc> writes:
I think you need to add USER32.LIB to your link command line.



Phil Laing wrote:

 When compiling I got this error:

 frac.obj(frac)
  Error 42: Symbol Undefined _DeleteDC 4
 frac.obj(frac)
  Error 42: Symbol Undefined _BitBlt 36
 frac.obj(frac)
  Error 42: Symbol Undefined _SetPixel 16
 frac.obj(frac)
  Error 42: Symbol Undefined _CreateCompatibleDC 4

 --- errorlevel 4

 Now what I'd like to know is what does it mean and how do I fix it?

 thanks,
 Phil
Feb 01 2002