Solved

C++ Language question

Posted on 1997-09-06
2
282 Views
Last Modified: 2008-03-06
When compiling my project I get this error message:
"[Linker Error] Undefined symbol _IID_IDirect3D referenced from C:\Data\Development\CBuilder\DDraw\MainUnit.Obj"

I'm quite new to C++ and I think I just forgot to link a library or header file.  So, which file do I need to link?  And how?

I can supply the source of MainUnit.h or MainUnit.cpp if necessary.
0
Comment
Question by:Odie
2 Comments
 
LVL 3

Accepted Solution

by:
msmits earned 0 total points
ID: 1169020
You are using the IDirect3D OLE interface in your program. The IID_IDirect3D is the CLSID for this OLE interface. It is probably defined in some Direct3D header file or library file.
Please consult the Direct3D documentation for the correct files to include and link.

PS. you may delete the other question, because is looks identical to this one.
0
 
LVL 1

Author Comment

by:Odie
ID: 1169021
OK but I found the cause now (a INITGUID command that had to be at the beginning of the file).
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now