I'm essentially working on writing a plugin, and I'd like to do it in LV for all the obvious reasons of why people like LV. To make the plugin, I have to create a DLL whose function names, parameters, and return values all conform to the third party's specified protocols. Here's a tricky one I've encountered. I have to make a function of the format:
char* __stdcall Function()
The LV DLL builder refuses to allow me to create a function that returns a string pointer without having that same pointer as an input. This is ostensibly due to concerns over allocated memory. LV requires something like:
void Function(char* StrPtr, long len)
Nevermind that the third party probably should have structured the function call differently. Is there a way to accomplish what I need to do without writing a wrapper DLL in another language (or exclusively using another language)?
Nick
"You keep using that word. I do not think it means what you think it means." - Inigo Montoya