how can i link the .lib files????
VC++.Net
______________________________________________
i am a chinese.
i am only 15 yars old........
my english is too bad.......
INCLUDE a lib file from the LINKed ones:
#pragma comment( lib, ".lib" )
or try in your project settings
____________________________________
if you wanna LINK them:
I dont know, check your options | directory's.
[edited by - pipo declown on September 14, 2002 8:49:52 AM]
#pragma comment( lib, ".lib" )
or try in your project settings
____________________________________
if you wanna LINK them:
I dont know, check your options | directory's.
[edited by - pipo declown on September 14, 2002 8:49:52 AM]
o Right click on the project in the solution explorer.
o Choose properties
o Choose Linker on the left side of the property sheet that comes up
o Choose Input(a subitem of Linker)
o Enter the path to your .lib file in the Additional Dependencies field of the property grid(or click on the ... button to Browse for it)
The world holds two classes of men -- intelligent men without religion, and religious men without intelligence.
Abu''l-Ala-Al-Ma''arri (973-1057; Syrian poet)
o Choose properties
o Choose Linker on the left side of the property sheet that comes up
o Choose Input(a subitem of Linker)
o Enter the path to your .lib file in the Additional Dependencies field of the property grid(or click on the ... button to Browse for it)
The world holds two classes of men -- intelligent men without religion, and religious men without intelligence.
Abu''l-Ala-Al-Ma''arri (973-1057; Syrian poet)
or the hardcore version:
typedef LPDIRECT3D8(WINAPI *creatorFun)(UINT);
LPDIRECT3D8 D3d;
// ...
HMODULE m = LoadLibrary("d3d8.dll");
// if !m => no d3d available
creatorFun f = (creatorFun)GetProcAddress(m, "Direct3DCreate8");
// if !f ...
D3d = f(D3D_SDK_VERSION); // here is your d3d object
simply replace the interfaces / creator function names for dinput, dsound...
typedef LPDIRECT3D8(WINAPI *creatorFun)(UINT);
LPDIRECT3D8 D3d;
// ...
HMODULE m = LoadLibrary("d3d8.dll");
// if !m => no d3d available
creatorFun f = (creatorFun)GetProcAddress(m, "Direct3DCreate8");
// if !f ...
D3d = f(D3D_SDK_VERSION); // here is your d3d object
simply replace the interfaces / creator function names for dinput, dsound...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement