Reply To: dll passing ASCIZ string to Multi-Edit

Product Compare Forums Multi-Edit Support dll passing ASCIZ string to Multi-Edit Reply To: dll passing ASCIZ string to Multi-Edit

#3947
deleyd
Participant

I have a question about my dll code I gave in my original post (above). First I prototype the function as:[code:3ubu6a0j]extern "C" _declspec (dllexport) long set_string(char *a);[/code:3ubu6a0j]But then the actual function itself is:[code:3ubu6a0j]extern "C" long set_string(char *a)[/code:3ubu6a0j]
Is this wrong because the function itself is missing the _declspec (dllexport) part? Should I be adding that in?