Link to home
Start Free TrialLog in
Avatar of mite51
mite51

asked on

'CreateDibSection' : undeclared identifier... in a DLL

I have used VC6.0 to create a standard Win32 DLL with MFC statically linked, and I have some exported functions. One of the functions needs to use CreateDibSection but it is always undefined, I verified that wingdi.h in included.

I fiddled with the project settings, adding GDI32.LIB, defining it as _AFXDLL,_DLL. Nothing I try seems to work, does anyone have a suggestion how I can get CreateDibSection to work in my DLL.

Jason
ASKER CERTIFIED SOLUTION
Avatar of Zoppo
Zoppo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mite51
mite51

ASKER

OMFG, I guess thats what I get for programming at 2am. I will verify it but the points are as good as yours :P
Thanks a lot ...

have a nice day,

regards,

ZOPPO