Solved

C++ Language question

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Building cUrl in Windows v7.43.0 4 45
Excel/Word Add-in in what language? 5 164
C++ to C# code conversion issue 4 134
I could not set window to top 4 63
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
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.

752 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