home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / misc / 1003 < prev    next >
Encoding:
Text File  |  1992-07-25  |  1.2 KB  |  35 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!jjacob
  3. From: jjacob@nyx.cs.du.edu (Jude Jacob)
  4. Subject: Re: Clarification on WinExec question
  5. Message-ID: <1992Jul25.032507.9735@mnemosyne.cs.du.edu>
  6. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  7. Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
  8. References: <ceQ4CaO00WB4Ika0Ue@andrew.cmu.edu>
  9. Date: Sat, 25 Jul 92 03:25:07 GMT
  10. Lines: 23
  11.  
  12. In article ak10+@andrew.cmu.edu (Andrew Joseph Kompanek) writes:
  13. >
  14. >Here's a restatement of my problem: I need to run a DOS program from
  15. >a Windows application in the background so that it doesn't take over the
  16. >screen and it runs without any user interaction.  Specifically, I merely
  17. >want to run Paradox 3.5 on a PAL script so that it can generate a report
  18. >for me (very simple).
  19.  
  20. Andrew,
  21.  
  22. I haven't seen the other postings.. But here is one way it might work.. 
  23. Create a PIF file for the application, with the BackGround Execution 
  24. option set. Then WinExec() this PIF file  using the SW_HIDE flag on 
  25. the WinExec(). 
  26.  
  27. If this works at all, :-), it should work only in 386 enhanced.
  28.  
  29.  
  30. Let me know if this does not work
  31.  
  32. Jude
  33.  
  34.  
  35.