Original Post
Hi,
have some problems about this error:
I get this error with this code:
But when I include "f_driver.cpp" at first, it functions.
What is my mistake ?
Edited by - kudi on January 19, 2002 11:22:57 AM
Compiling... flight.cpp Linking... flight.obj : error LNK2001: unresolved external symbol _IID_IDirectDraw7 flight.obj : error LNK2001: unresolved external symbol _IID_IDirect3D7 flight.obj : error LNK2001: unresolved external symbol _IID_IDirect3DRGBDevice flight.obj : error LNK2001: unresolved external symbol _IID_IDirect3DHALDevice flight.obj : error LNK2001: unresolved external symbol _IID_IDirect3DMMXDevice flight.obj : error LNK2001: unresolved external symbol _IID_IDirect3DTnLHalDevice Debug/flight.exe : fatal error LNK1120: 6 unresolved externals Error executing link.exe. flight.exe - 7 error(s), 0 warning(s) |
#ifndef _f_graph_cpp_
#define _f_graph_cpp_
#define D3D_OVERLOADS
#include <d3dtypes.h>
#include "d3dmath.h"
#include "d3dutil.h"
#include "f_graph.h"
#include "f_driver.cpp"
BOOL InitDirectDraw (HWND hWnd)
{
DDSURFACEDESC2 DDS..................
}
|