怎么介绍?
分类:
2008-10-09 16:43:19
I have problem of "linking" in the Microsoft Visual C++ 9.0 Express
Edition tool.
In Visual C++ 6.0, I linked "alpha.lib and common.lib" with following
way:
"Project" menu -> "Settings" tab -> "Link" tab -> add "common.lib"
and
"alpha.lib"
But I am not able to do this in Microsoft Visual C++ 9.0 Express
Edition.
Actually, I already have "alpha.lib" and I know where the "alpha.lib"
is.
I need to create "common.lib".
When I build the my project, the error message is that
"cannot open alpha.lib"
Could anyone help me with "how to set up the linking" in the
Microsoft Visual C++ 9.0 Express Edition tool?
Thank you in advance
I Don't know regarding linker settingt in VC9 but you simply can use another way use following syntax in your class.h File or stdafx.h etc and build your project once again
#pragma comment(lib, "alpha.lib") .
Thanx