Pervasive
Sign in | Join | Help
in

How to exit from DJ Engine ?

Last post 06-30-2008 6:07 PM by abe. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-12-2008 10:09 AM

    How to exit from DJ Engine ?

    I execute dj engine from command prompt using batch file.

    It executes the engine and transforms the file with message :

    Return code : 0

    but after that it doesn't come out to C prompt.

    Do i need to configure the dj engine or i need to give some command in batch file to exit from DJ engine??

    Please advice..

     

    Thanks

  • 06-25-2008 1:09 PM In reply to

    • bvh
    • Not Ranked
    • Joined on 05-16-2008
    • Austin, TX
    • Posts 2

    Re: How to exit from DJ Engine ?

    Could you provide us the text of your bat file so we can see what's happening?  In my experience, djengine exits and goes back to the C prompt automatically when finished.

  • 06-30-2008 6:07 PM In reply to

    • abe
    • Top 50 Contributor
    • Joined on 12-31-2003
    • Posts 125

    Re: How to exit from DJ Engine ?

    Use the -ot option in your command line. 

    This often happens when an object that isn't thread safe is called.  Some ActiveX components will not run multithreaded, possibly because they're not thread safe, and the only thing you can do is to run it with the -ot option.

    This -ot command line option does NOT make the engine run on a single thread.  It forces the CoInitializeEx call to set the threading mode as SINGLE-THREAD-APARTMENT.  This simply means that each COM object you invoke will be isolated from other threads.

     

Page 1 of 1 (3 items)
© 2008 Pervasive Software Inc. All Rights Reserved.