TeleFlow Forums
http://teleflow.org/phpbb/

Passing multiple parameters to DLL function
http://teleflow.org/phpbb/viewtopic.php?f=13&t=974
Page 1 of 1

Author:  itandy [ Tue Sep 28, 2010 9:05 pm ]
Post subject:  Passing multiple parameters to DLL function

Is it possible to pass multiple separate parameters to an export function in the DLL? TeleFlow seems to be concatenating everything into a single string before passing the parameter.

Author:  Chris [ Wed Sep 29, 2010 9:45 am ]
Post subject:  Re: Passing multiple parameters to DLL function

From the help:
Quote:
Use of this step requires a custom DLL that exports a function with the following properties:
· accepts a constant char* null terminated string as the sole parameter
· returns type char* that points to a dynamically allocated null terminated string that can be freed by the step


So it does only accept one string parameter. If you need to provide multiple parameters, you must set up the string so that it can easily be parsed by your DLL into separate functional parameters.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/