Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2002-05-02
3
Medium Priority
?
281 Views
Last Modified: 2013-12-03
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
0
Comment
Question by:mite51
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 31

Accepted Solution

by:
Zoppo earned 800 total points
ID: 6986264
Hi mite51,

do you use CreateDibSection or CreateDIBSection? It needs to be CreateDIBSection...

ZOPPO
0
 
LVL 1

Author Comment

by:mite51
ID: 6986848
OMFG, I guess thats what I get for programming at 2am. I will verify it but the points are as good as yours :P
0
 
LVL 31

Expert Comment

by:Zoppo
ID: 6988058
Thanks a lot ...

have a nice day,

regards,

ZOPPO
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question