Jump to content
Excelsior Forums
Jack_An

problem occurs when called by another program!

Recommended Posts

Hi There,

I got a problem when I called the program from another program, the situation is like this:

I wrote a program with eclipse and compiled it with JET 3.15, it runs fine when I start it from win2000 command line with command line parameters, looks good. But when I start it from another program with the same way as above (the same command syntax and the same parameters), but it not respond, ...

Is there anybody know anything about it?

Jack An

Share this post


Link to post
Share on other sites

Hi,

Running a program via exec()-like functions has a major difference - no environment variables are set. My advice is to experiment with environment variables like PATH and CLASSPATH. Then, you may try to turn the console on to see what error messages are emitted.

Have you tried to run the JVM-version of your program from another program?

Share this post


Link to post
Share on other sites

Hi mavr,

Thanks for your reply.

After a couple of days research, the problem seems like the program can't refresh the client area when the caller is active. it refreshes the client area immediately after I close the caller, so that's weird like there's something prevent the program using some resources of the system, ...

Regards,

Jack An

:huh:

Share this post


Link to post
Share on other sites

×