Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: how to know if a file(jar file) that I have opened is close.  (Read 2887 times)

0 Members and 1 Guest are viewing this topic.

willer2009

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
how to know if a file(jar file) that I have opened is close.
« on: March 18, 2011, 06:14:26 PM »

in my program I use to open an external java application. in that application a write into a file and then close the application. and I want that my game wait until I close the external application before to continue. because I will read the content of the file in the game.
any ideas???
Logged

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: how to know if a file(jar file) that I have opened is close.
« Reply #1 on: March 18, 2011, 06:54:09 PM »

Why don't you use the File object to write into the file instead of using an external application?
Logged

willer2009

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
Re: how to know if a file(jar file) that I have opened is close.
« Reply #2 on: March 18, 2011, 07:31:00 PM »

It is only a prototype for the moment(test phase). I will open a more complex external application if that prototype. I want to simulate the communication between WME and one other application I have written. I Want to use the file as temporary area where the two applications will read and write to communicate.
Logged
 

Page created in 0.045 seconds with 24 queries.