|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using a C DLL for vb.net 2005with most of the translations. The following 5 function have been giving me a real hard time, particularly the last one which has a **. Any help would be appreciated. TS_CTX* __EXPORT__ __STDCALL__ SIM_FLD_INIT(char *userId, int userIdLen, char *password, int passwordLen, char *resource, int resourceLen, char *configPath, int configPathLen); void __EXPORT__ __STDCALL__ SIM_FLD_TERM(TS_CTX *tsCtx); int __EXPORT__ __STDCALL__ SIM_FLD_DEC(TS_CTX *tsCtx, unsigned char *changedField, unsigned int changedFieldLen, unsigned char *field, unsigned int fieldLen, unsigned int *fieldLenUsed); int __EXPORT__ __STDCALL__ SIM_FLD_ENC(TS_CTX *tsCtx, unsigned char *field, unsigned int fieldLen, unsigned char *changedField, unsigned int changedFieldLen, unsigned int *changedFieldLenUsed); int __EXPORT__ __STDCALL__ SIM_GET_ERR(TS_CTX *tsCtx, char **message, int *messageLen); I got them to work. Thanks for the help.
Show quoteHide quote "Bob Simoneau" <bobsimoneau@newsgroups.nospam> wrote in message news:uM5A4JFcGHA.3364@TK2MSFTNGP05.phx.gbl... >I am trying hard to utilize a C DLL from my VB.net code. I have had luck >with most of the translations. The following 5 function have been giving >me a real hard time, particularly the last one which has a **. Any help >would be appreciated. > > TS_CTX* __EXPORT__ __STDCALL__ > SIM_FLD_INIT(char *userId, int userIdLen, > char *password, int passwordLen, > char *resource, int resourceLen, > char *configPath, int configPathLen); > > void __EXPORT__ __STDCALL__ > SIM_FLD_TERM(TS_CTX *tsCtx); > > int __EXPORT__ __STDCALL__ > SIM_FLD_DEC(TS_CTX *tsCtx, unsigned char *changedField, > unsigned int changedFieldLen, > unsigned char *field, unsigned int fieldLen, > unsigned int *fieldLenUsed); > > int __EXPORT__ __STDCALL__ > SIM_FLD_ENC(TS_CTX *tsCtx, unsigned char *field, > unsigned int fieldLen, unsigned char *changedField, > unsigned int changedFieldLen, > unsigned int *changedFieldLenUsed); > > int __EXPORT__ __STDCALL__ > SIM_GET_ERR(TS_CTX *tsCtx, char **message, int *messageLen); > >
ReadXML after File Copy
WebBrowser WindowClosing Simple questions about interfaces Internationalisation Project VB.net 2005 RESX Recursive WebRequest.Create() Call Lisp Program from vb.net File Names: List Long file Names from Database List of short file names help logging events to txt file System.Uri.UserEscaped Compiling internally instead of as a DLL? |
|||||||||||||||||||||||