--------------------Configuration: ADOLAB1 - Win32 Unicode Release MinDependency--------------------
Compiling...
StdAfx.cpp
Compiling...
ADOLAB1.cpp
ADOTier.cpp
Generating Code...
Linking...
Creating library ReleaseUMinDependency/ADOLAB1.lib and object ReleaseUMinDependency/ADOLAB1.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseUMinDependency/ADOLAB1.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.ADOLAB1.dll - 2 error(s), 0 warning(s)_________________________________________________________________________
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
可以告诉我该怎样解决吗?
Compiling...
StdAfx.cpp
Compiling...
ADOLAB1.cpp
ADOTier.cpp
Generating Code...
Linking...
Creating library ReleaseUMinDependency/ADOLAB1.lib and object ReleaseUMinDependency/ADOLAB1.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseUMinDependency/ADOLAB1.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.ADOLAB1.dll - 2 error(s), 0 warning(s)_________________________________________________________________________
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
可以告诉我该怎样解决吗?
您好象在做一个DLL文件,
但错误提示却说找不到main()函数,
您的设置可能有问题。
中的ADO。
它的原例子一编译就有这两个错,
您可以把邮箱给我吗,我把例子给您传过去
好吗?
如果是,那可能是你没有定义主函数吧.