07-28-2005 09:55 AM
07-28-2005 10:32 AM
07-28-2005 10:51 AM
07-28-2005 03:59 PM
typedef struct TSStepError_Rec
{
int errorCode;
char * errorMessage; // [1024]
int errorOccurred;
} tTSStepError;
void __declspec(dllexport) openAllTrunks(tTSStepError *stepErrorStruct);
void __declspec(dllexport) openAllTrunks(short *errorOccurred, long *errorCode, char errorMsg[1024]);
07-29-2005 08:51 AM
07-29-2005 01:42 PM
TiWi -
Your specification for (1) sounds correct. For (2), I assume that you are talking about C structs defined for Windows SDK? There is no "source" for existing datatypes for these types of structs. You must create your own data type and determine the correct data type mapping yourself. Just keep the name of the data type unique so that it will not collide with data types that others might create and share with you.