🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2048

Re: OWL: How to access lpCmdLine

#2048
From: Eric Kimmel
Date: Sun, 20 Dec 1992 21:22
19 lines
1377 bytes
In article <16DEC199223145238@trentu.ca> rbarclay@trentu.ca (ROSS BARCLAY) writes:
>
>I'm having trouble accessing the data in lpCmdLine from my OWL
>program. When I click a button, I want the lpCmdLine string to be put
>into an edit box.
>
>All I could figure out was that its a data element of TModule. Other
>than that, I don't know how to get at it. My guess is that I need to
>pass it from WinMain to the function I need. Is this correct?
>
>Can anybody point me in the right direction?
>
I'll probably get ripped for this, but I just copy it to a global variable
in WinMain and use that.  -Rick

>Thanks.
>________________________________________________________________________________
>"Here, finish your strudel! <Crash>"           Ross Barclay - RBarclay@TrentU.CA
>________________________________________________________________________________
Technical Details
Message-ID: <1992Dec20.212240.11925@news2.cis.umn.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!umn.edu!staff.tc.umn.edu!kimmel
References: <16DEC199223145238@trentu.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!umn.edu!staff.tc.umn.edu!kimmel
From: kimmel@staff.tc.umn.edu (Eric Kimmel)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: OWL: How to access lpCmdLine
Message-ID: <1992Dec20.212240.11925@news2.cis.umn.edu>
Date: 20 Dec 92 21:22:40 GMT
References: <16DEC199223145238@trentu.ca>
Sender: news@news2.cis.umn.edu (Usenet News Administration)
Organization: University of Minnesota
Lines: 19
Nntp-Posting-Host: staff.tc.umn.edu