View Single Post
Old 20th January 2011, 16:07   #1
Junior Member
Join Date: Jan 2011
Posts: 1
Question Problem sending string arg to DLL function

Hey all,
I need some assistant.
I'm calling a DLL function from an NSIS script. The function takes a char* as an argument. However, when I send a string to the DLL function, I only get the first char of the string.

Here's the call to the function:
Processes::KillParentProcess "chrome"

I get the string in the DLL by using popstring(char* str)

To debug, I used a message box and only got "c" instead of "chrome"

I'd really appreciate some input on this
yotambarzilay is offline   Reply With Quote