Windows XP Please Help with Error

Joined
Sep 14, 2006
Messages
2
Reaction score
0
I am creating an application and am fairly new to C++. I have the following error and am not sure why. My application is a 3D graphic written in OpenGL and controlled with a optical mouse, via serial port. So I have written the serial communication part and now have the following error. Please help!

c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlcom.h(144): error C2065: 'COINIT_MULTITHREADED' : undeclared identifier

The headers that I am including are in stdafx.h:
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#include <afxcmn.h> // MFC support for Windows Common Controls
#include <afxdhtml.h>
 

muckshifter

I'm not weird, I'm a limited edition.
Moderator
Joined
Mar 5, 2002
Messages
25,739
Reaction score
1,204
May help, I dunno ... :blush:

http://msdn2.microsoft.com/en-us/library/ewcf0002.aspx



user.gif
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top