PAppStdPlugin.dsp and AISView.dsp

Hi,

When I used VC++ to compile PAppStdPlugin.dsp, the following error prompted:

Linking...

Creating library Debug/PAppStdPlugin.lib and object Debug/PAppStdPlugin.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 Debug/PAppStdPlugin.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

PAppStdPlugin.exe - 2 error(s), 0 warning(s)

Even if I tried to set Entry-point symbol of Link to wWinMainCRTStartup, the problem was still there.

When I used VC++ to compile AISViewer.dsp, the following error occurred: Linking...

Creating library Debug/AISViewer.lib and object Debug/AISViewer.exp AISViewer.obj : error LNK2001: unresolved external symbol "void __cdecl Draw_Appli(void *,void *,char *,int,void (__cdecl*)(class Draw_Interpretor &))" (?Draw_Appli@@YAXPAX0PADHP6AXAAVDraw_Interpretor@@@Z@Z) Debug/AISViewer.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

AISViewer.exe - 2 error(s), 2 warning(s)

Does anyone have any suggestion ?

Thanks in advance,

Jie.

Philippe Poncot's picture

> Hi,

> When I used VC++ to compile
> PAppStdPlugin.dsp, the following error
> prompted:

> Linking...

> Creating library Debug/PAppStdPlugin.lib and
> object Debug/PAppStdPlugin.exp
> LIBCD.lib(wwincrt0.obj) : error LNK2001:
> unresolved external symbol _wWinMain@16
> Debug/PAppStdPlugin.exe : fatal error
> LNK1120: 1 unresolved externals Error
> executing link.exe.

> PAppStdPlugin.exe - 2 error(s), 0 warning(s)

> Even if I tried to set Entry-point symbol of
> Link to wWinMainCRTStartup, the problem was
> still there.

PAppStdPlugin is a : Win32 (x86) Dynamic-Link Library and not a : Win32 (x86) Application"

This problem is now corrected . You can find this correction on CVS repository.

> When I used VC++ to compile AISViewer.dsp,
> the following error occurred: Linking...

> Creating library Debug/AISViewer.lib and
> object Debug/AISViewer.exp AISViewer.obj :
> error LNK2001: unresolved external symbol
> "void __cdecl Draw_Appli(void *,void
> *,char *,int,void (__cdecl*)(class
> Draw_Interpretor &))"
> (?Draw_Appli@@YAXPAX0PADHP6AXAAVDraw_Interpretor@@@Z@Z)
> Debug/AISViewer.exe : fatal error LNK1120: 1
> unresolved externals Error executing
> link.exe.

> AISViewer.exe - 2 error(s), 2 warning(s)

I don't reproduce this problem. Could you verify that TKDraw.lib is used in Project/Settings/Link libraries modules.

> Does anyone have any suggestion ?

> Thanks in advance,

> Jie.

salman's picture

Your Message

"When I used VC++ to compile PAppStdPlugin.dsp, the following error prompted:

Linking...

Creating library Debug/PAppStdPlugin.lib and object Debug/PAppStdPlugin.exp LIBCD.lib(wwincrt0.obj) : error LNK2001: unresolved external symbol _wWinMain@16 Debug/PAppStdPlugin.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

PAppStdPlugin.exe - 2 error(s), 0 warning(s)

Even if I tried to set Entry-point symbol of Link to wWinMainCRTStartup, the problem was still there "

Did u find any solution to this problem

Patrik Müller's picture

Hi,

change the settings for "PAppStdPlugin.dsp" from "application" to DLL.

HTH,

Patrik