H
Herbert Saal
Hello,
I have a c++ class in a dll. like this one:
class __declspec(dllexport) MyClass
{
private:
public:
MyClass(void);
int funtion1(unsigned char * inBuffer, unsigned int inType, unsigned char
*outBuffer, int& out_Size);
int function2(void *inBuffer_a, void *inBuffer_b, unsigned long int
*outResult);
};
Note that the function parameters are prefixed with "out" and "in" depending
of the parameter.
I tried to use the class with the DLLImport functionality but it doesn't
works, i'm not sure if i have to use this with classes.
I'm working with c#.
Please help me.
Regards,
Herbert
I have a c++ class in a dll. like this one:
class __declspec(dllexport) MyClass
{
private:
public:
MyClass(void);
int funtion1(unsigned char * inBuffer, unsigned int inType, unsigned char
*outBuffer, int& out_Size);
int function2(void *inBuffer_a, void *inBuffer_b, unsigned long int
*outResult);
};
Note that the function parameters are prefixed with "out" and "in" depending
of the parameter.
I tried to use the class with the DLLImport functionality but it doesn't
works, i'm not sure if i have to use this with classes.
I'm working with c#.
Please help me.
Regards,
Herbert