Updated SDK: Quibbles

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,827
48
Albuquerque, NM
prospero.unm.edu
The updated TakeCommand.h has:

LPVOID WINAPI AllocMem( unsigned int * puSize );

Shouldn't that be:

LPVOID WINAPI AllocMem( unsigned int puSize );


Also, I think that:

BOOL WINAPI QueryIsTCMD( void );

should be:

BOOL __cdecl QueryIsTCMD( void );
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,827
48
Albuquerque, NM
prospero.unm.edu
Also: PlugIn.h gives a 2K Unicode-characters maximum length for the pszArguments string passed to/from plugin commands, functions, and variables. Is this still true, or has the limit been increased since that was written?
 
May 20, 2008
9,290
62
Syracuse, NY, USA
On Thu, 27 Jan 2011 14:36:26 -0500, you wrote:

|The updated TakeCommand.h has:
|
| LPVOID WINAPI AllocMem( unsigned int * puSize );
|
|Shouldn't that be:
|
| LPVOID WINAPI AllocMem( unsigned int puSize );

That's an old one. As I recall, (int*) was once correct. I fixed it in my
TakeCmd.h more than a year ago.

|Also, I think that:
|
| BOOL WINAPI QueryIsTCMD( void );
|
|should be:
|
| BOOL __cdecl QueryIsTCMD( void );

That one is OK (__cdecl) in my TakeCmd.h. I don't remember fixing it (but that
doesn't mean I didn't).