Post new topic Reply to topic  [ 2 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator

Author Message
 Post subject:
PostPosted: Wed Mar 08, 2006 7:24 pm 
Offline

Joined: Sat Jun 18, 2005 11:33 am
Posts: 5
Location: USA
I have a DLL that we have created. It takes a number of paramagers as input, and provides a single value in the return. <br> <br>I put the inputs in the function parameter section of the step like this: <br> <br>@gMACHINENAME, @PORT, @gSENDREPORTTYPE, @gSENDPARAM1, <br>@gSENDPARAM2, @gSENDPARAM3 <br> <br>The problem is, Teleflow appears to be populating all these values into the first input in the function. Is the problem that Teleflow only supports a single input to the DLL Function step???


Back to top
 Profile WWW 
 
 Post subject:
PostPosted: Tue Mar 14, 2006 3:07 pm 
Offline

Joined: Wed Mar 19, 2003 4:28 pm
Posts: 510
Location: Canada
Your assumption is correct. The DLL function is provided just one parameter, which is a string of characters (containing everything you pass in the "Function parameters" field). <br> <br>You must then parse the string in your function. <br> <br>Here is the help description of how this works: <br> <br>In order to use this step, you must have a custom DLL that exports a function with the following properties (see example): <br> <br>· accepts a constant char* null terminated string as the sole parameter <br> <br>· return type char* that points to a dynamically allocated null terminated string that can be freed by the step


Back to top
 Profile WWW 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Board index : TeleFlow Forums : TeleFlow Designer & Simulator


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.