vaughn preddy wrote:
> I was wondering for question 3 do we have to show the result in the
> client or server command prompt?
The client prompt.
>
> For the demo hello-1 how would one make it that it outputs the result on
> the client side?
>
You would need to change the idl so that it returns a string to the client and then the client would print that. There is a complete Hello World example (which does exactly this) on the Orbix cpp programmers guide web site at
http://www.iona.com/support/docs/e2a/asp/5.0/mainframe/pguide_cpp/html/
If you look at part 2 (getting started with Orbix) and try and ignore the Orbix specific stuff, the basic example would work pretty much the same with mico.
For the sake of variety you might also want to look at the java introductory "Hello World" example of much the same thing (at
http://java.sun.com/j2se/1.4.2/docs/guide/idl/)
Cheers
Bob
(cross posted to forum)