C to VB 5 porting
Posted on 1998-12-22
I'm having trouble converting a 3rd party example program from C to VB (5 Pro), they don't support VB :+(
unsigned char *GlobalBlock = (unsigned char *)new unsigned char;
Where GlobalBlock is used in the initialisation function
and the function prototype is
extern "C" short __declspec(dllexport) WINAPI SAFEInitGlobal(unsigned char*);
My C is very rusty so any help will be much appreciated.
Well Have a good winter holiday one and all.