?I have a c DLL that exports the following:

extern HAMLIB_EXPORT_VAR(const char) hamlib_version[];
extern HAMLIB_EXPORT_VAR(const char) hamlib_copyright[];

I've tried the following but I get an error that say it can not marshal the 
return values;

Declare Function hamlib_version Lib "libhamlib-2.dll" () As Char()

Declare Function hamlib_copyright Lib "libhamlib-2.dll" () As Char()



I do know that hamlib_version is a char array of 21 bytes and the copyright has 
231 bytes

anyone got an idea how to go about declaring or marshalling this into vb.net?

Jeff K. Steinkamp N7YG
Tucson, AZ
SCUD Missile Coordinates:
N032-13-55.02  W110-55-52.79
Registered Linux User: 420428
------------------------------------------------------

ATTITUDE is a little thing that makes a big difference.

Reply via email to