Failure with new SDK

#1
1>4conbuf.obj : error LNK2001: unresolved external symbol "void * __stdcall AllocMem(unsigned int *)" ([email protected]@[email protected])

Can I overcome this?

Also, I find it useful to have this (below) in TakeCmd.h. Perhaps you'd put it there.

Code:
typedef struct {
   WCHAR   *pszDll;                // name of the DLL
   WCHAR    *pszAuthor;            // author's name
   WCHAR   *pszEmail;            // author's email
   WCHAR   *pszWWW;                // author's web page
   WCHAR   *pszDescription;        // (brief) description of plugin
   WCHAR   *pszFunctions;        // command, _variable, @function
   int    nMajor;                // plugin's major version #
   int    nMinor;                // plugin's minor version #
   int    nBuild;                // plugin's build #
   HMODULE hModule;                // module handle
   WCHAR *pszModule;
} PLUGININFO, *LPPLUGININFO;
 
#2
Looking at the LIB, the new AllocMem takes an unsigned int while the old one takes an unsigned int *. Is that correct?

1>4conbuf.obj : error LNK2001: unresolved external symbol "void * __stdcall AllocMem(unsigned int *)" ([email protected]@[email protected])

Can I overcome this?

Also, I find it useful to have this (below) in TakeCmd.h. Perhaps you'd put it there.

Code:
typedef struct {
   WCHAR   *pszDll;                // name of the DLL
   WCHAR    *pszAuthor;            // author's name
   WCHAR   *pszEmail;            // author's email
   WCHAR   *pszWWW;                // author's web page
   WCHAR   *pszDescription;        // (brief) description of plugin
   WCHAR   *pszFunctions;        // command, _variable, @function
   int    nMajor;                // plugin's major version #
   int    nMinor;                // plugin's minor version #
   int    nBuild;                // plugin's build #
   HMODULE hModule;                // module handle
   WCHAR *pszModule;
} PLUGININFO, *LPPLUGININFO;
 
#4
And the header says QueryIsTCMD() is WINAPI while the LIB exports a __cdecl.

Could you also put this in the header:

__declspec(dllexport) int TakeCommandIPC( LPTSTR pszCommand, LPTSTR pszArguments );