PDA

View Full Version : Creating a dll file Linking error


bkhe1
05-16-2002, 11:19 PM
When I create a dll file I get the following error. My program compiles sucessfully but does not build.

Creating library Debug/TestApp.lib and object Debug/TestApp.exp
AEEModGen.obj : error LNK2001: unresolved external symbol _AEEClsCreateInstance
Debug/TestApp.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...

Any suggestion or help will be greatly appreciated

Cheers,
harry
:(

Craig Evans
05-17-2002, 08:59 AM
Check that you have the INC and SRC paths set up to include the BREW\inc and BREW\src paths in VC.

Yao Ningbo
06-06-2002, 02:45 AM
Maybe you didn't include some *.h files.:D

GuNboss.Park
06-19-2002, 02:29 PM
I think you included and compiled AEEModGen.c properly.

And I think the problem is static in prototype of AEECls....

in this case:
static int AEECls...

just remove static from it.

if it is not the case, check you linking your main object file properly.


___
GuNboss.Park