SDK request

May 20, 2008
11,285
95
Syracuse, NY, USA
Would you please put these in TakeCmd.h?

Code:
typedef struct {
   int   nKey;               // key entered
   int   nHomeRow;           // start row
   int   nHomeColumn;       // start column
   int   nRow;               // current row in window
   int   nColumn;           // current column in window
   LPTSTR   pszLine;       // command line
   LPTSTR   pszCurrent;       // pointer to position in line
   int   fRedraw;           // if != 0, redraw the line
} KEYINFO, *LPKEYINFO;

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;

int WINAPI TCError(int nErrorCode, LPCTSTR pszArg);

And adding "const" to the declaration of TccKeyWords[] seems to stop errors like this:
Code:
resize.obj : error LNK2005: "char * TccKeyWords" (?TccKeyWords@@3PADA) already defined in 4utils.obj
 
Similar threads
Thread starter Title Forum Replies Date
fpefpe utf-8 support in sdk/plugin api Plugins 4
D A version of the SDK that works with VS community Plugins 6
C SDK broken Plugins 19
fpefpe Documentation Plugin API/SDK Plugins 3
fpefpe New SDK? Plugins 0
Charles Dye Updated SDK: Quibbles Plugins 5
Charles Dye Current SDK missing QueryIsGUI() and QueryParentWindow() Plugins 4
fpefpe Version 8 SDK Plugins 4
p.f.moore v11 SDK (2009-10-26) missing TakeCommandIPC Plugins 2
T Link error with v11 SDK Plugins 5
fpefpe Changes in SDK API Plugins 0
vefatica Failure with new SDK Plugins 4
p.f.moore Plugin SDK Plugins 0
p.f.moore What format is the .lib file in the SDK? Plugins 4
dcantor FileUtils @ISABATCH feature request Plugins 3
dcantor Fileutils @CMPTIME feature request Plugins 0
dcantor Textutils request Plugins 15
dcantor Request for documentation for ISO8601 plugin Plugins 4
dcantor Feature request for TEXTUTILS command UPEND Plugins 2
dcantor Feature request for TEXTUTILS command WRAP Plugins 9
JohnQSmith HTMLDump feature request Plugins 2
dcantor SNAPSHOT request for feature Plugins 2
H TEXTUTILS: Change request for UTYPE Plugins 4
dcantor Suggestion and request for DBF plugin Plugins 6
M A (presumbly pretty simple) SafeChars plugin request... Plugins 2
M A "SafeChars" plugin request... Plugins 2
dcantor Request for ISO8601 plugin Plugins 19

Similar threads