Hi,
I am calling
word macro from
java program with the help of JACOB(14) lib. It actually calling macro in loop, in every iteration it calls macro once. Where it actually bookmarks paragraphs in given document .
For every call of macro it opens given word document bookmark paragraph and closes it , I know this may not be ideal way , but now its a scenario
When we try to run two or more instances of java program which calls macro, simultaneously it gives error for word document that the "document is locked by user do you want to open it in read Only mode "
I am not able to identify it is problem with java or word macro or JACOB lib.
Also i wanna know when we call native method JVM waits for native method to complete or not???
Thanks in advance!!!