Is there any possible way to pass parameter to vagen gui with c# dll ?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
5 replies Latest Post - 2013-04-03T14:18:17Z by markevans
Pinned topic Pass parameter to vagen gui
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-04-03T14:18:17Z at 2013-04-03T14:18:17Z by markevans
Re: Pass parameter to vagen gui2013-04-01T12:31:51Z in response to markevansHi Mark,
Thanks for replying. I'm trying to pass RC code back(which comes from Smalltalk GUI) to Smalltalk GUI. I saw couple examples about c++ to Smalltalk GUI. But couldn't find a solution for c# to Smalltalk GUI.
Re: Pass parameter to vagen gui2013-04-02T15:31:48Z in response to SystemAdminAre you saying you are calling a C# DLL from a ST GUI and are trying to pass data back from the DLL to the GUI after the call?
if so, you should just pass a field to it that will hold the return code. Then set the return code in the DLL and when the "call" returns, the data should be there since it was passed as a parameter.
Re: Pass parameter to vagen gui2013-04-03T08:30:59Z in response to markevansoh god.. My mistake, I didn't mentioned that I call an exe file that calls c# dll. because I couldn't reach c# dll function by using linkage. To be able to use functions in dll from SmallTalk GUI, the dll must be written in c++.
so.. As you said Mark, I did same thing I send a parameter that holds the value that I want to return and I change it inside of program.
if somebody is came here for same problem, here is my solution.
Firstly, I call c++ dll from SmallTalk GUI, and that c++ dll calls the c# dll. I do my all stuff in c# dll, at the end, I return a value to send SmallTalk GUI with using c++ dll.
if any method(s) else can be apply, it would be much appreciated to hear!
Thank you markevans!