Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

SDK request

May
12,996
174
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

Back
Top