Solved

C++ Language question

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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.

747 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

11 Experts available now in Live!

Get 1:1 Help Now