home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4378 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!umn.edu!staff.tc.umn.edu!kimmel
  2. From: kimmel@staff.tc.umn.edu (Eric Kimmel)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: OWL: How to access lpCmdLine
  5. Message-ID: <1992Dec20.212240.11925@news2.cis.umn.edu>
  6. Date: 20 Dec 92 21:22:40 GMT
  7. References: <16DEC199223145238@trentu.ca>
  8. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  9. Organization: University of Minnesota
  10. Lines: 19
  11. Nntp-Posting-Host: staff.tc.umn.edu
  12.  
  13. In article <16DEC199223145238@trentu.ca> rbarclay@trentu.ca (ROSS BARCLAY) writes:
  14. >
  15. >I'm having trouble accessing the data in lpCmdLine from my OWL
  16. >program. When I click a button, I want the lpCmdLine string to be put
  17. >into an edit box.
  18. >
  19. >All I could figure out was that its a data element of TModule. Other
  20. >than that, I don't know how to get at it. My guess is that I need to
  21. >pass it from WinMain to the function I need. Is this correct?
  22. >
  23. >Can anybody point me in the right direction?
  24. >
  25. I'll probably get ripped for this, but I just copy it to a global variable
  26. in WinMain and use that.  -Rick
  27.  
  28. >Thanks.
  29. >________________________________________________________________________________
  30. >"Here, finish your strudel! <Crash>"           Ross Barclay - RBarclay@TrentU.CA
  31. >________________________________________________________________________________
  32.