Solved

C++ Language question

Posted on 1997-09-06
2
292 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

777 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