Usage of Callin from within VAST

88 views
Skip to first unread message

SebastianHC

unread,
Dec 19, 2011, 2:37:20 PM12/19/11
to va-sma...@googlegroups.com
Hi!

Has anybody ever tried to use the callin functionality from within vast?

I try to start a second vast image via calling abtvxt40.dll.

Once I put wrong parameters into the call of vastart() the status pointer
contains the according proper error codes.

But, calling vastart with proper parameters leads to vm crashes and even
though I get the evaluation popup of the second VAST image, there's never an
additional abt.exe listed in my task manager.

Is this ment to work, or shall I better stay with cmd calls?

Regards
Sebastian

--
View this message in context: http://forum.world.st/Usage-of-Callin-from-within-VAST-tp4215364p4215364.html
Sent from the Instantiations mailing list archive at Nabble.com.

SebastianHC

unread,
Dec 21, 2011, 5:26:13 PM12/21/11
to va-sma...@googlegroups.com
Okay,...

I got a little further.

so: "CallIn" start's a vastimage within the current thread. This is why my
idea of starting an additional image in it's own thread won't work.

Is there any other way than "cmd" to start an additional VAST image and
providing it with some data in memory?

Sebastian

--
View this message in context: http://forum.world.st/Usage-of-Callin-from-within-VAST-tp4215364p4223486.html

Thomas Koschate

unread,
Dec 22, 2011, 12:04:31 PM12/22/11
to va-sma...@googlegroups.com
Not sure what you're trying to accomplish, but what about using Server Smalltalk and sharing objects using that framework?

Tom

SebastianHC

unread,
Jan 18, 2012, 1:08:32 PM1/18/12
to va-sma...@googlegroups.com
Hi Thomas,

well, I also already thought about that possibillity, but it might be a
little too much for what I have in mind.

I have a dev-extension with some kind of packaging configuration editor.
Once I created this configuration I start the packaging process. But
packaging runs in an additional headless image. This enables the developer
to go with development, or close the main image and go home for example.

Usually you would just use the programmstarter or just execute a batch file
from VAST adding some parameters which are interpreted by the newly started
image.

The problem with those batchfiles is, that somebody has to distribute them,
developers have to keep them up-to-date, access rights,.....

So I thought it might be nice to just use CallIn and pass the parameters.

As far as I understand it right know, I might just have to write a
sharedlibaray which itsself creates a process calling the CallIn methods.

Sebastian

--
View this message in context: http://forum.world.st/Usage-of-Callin-from-within-VAST-tp4215364p4307540.html

John O'Keefe

unread,
Jan 18, 2012, 2:41:41 PM1/18/12
to va-sma...@googlegroups.com
Sebastian -
 
Why do you need a batch file?  Can't you just pass whatever parameters are needed by the headless packaging app when you start it with the programstarter?
 
John 
Reply all
Reply to author
Forward
0 new messages