Hi,

I need to call a DLL function, from vb.net. The c++ header for the DLL looks like this

Code:
GRIDHANDLE tek_CreateGrid (const char* const kszMapName, DEVICEINDEX devIndex )

GRIDHANDLE and DEVICEINDEX are both integer types.

In vb.net I need to pass a null terminated string, with a value in it, to kszMapName. If the DLL was just expecting a cString, passed in as a parameter, I'd be golden....