Click here to Skip to main content
15,894,740 members
Home / Discussions / C#
   

C#

 
GeneralRe: Calling C# functions from a DLL from within unmanaged C++ Pin
Uwe Keim23-Nov-04 6:11
sitebuilderUwe Keim23-Nov-04 6:11 
GeneralRe: Calling C# functions from a DLL from within unmanaged C++ Pin
Nick Parker23-Nov-04 7:22
protectorNick Parker23-Nov-04 7:22 
GeneralRe: Calling C# functions from a DLL from within unmanaged C++ Pin
Uwe Keim23-Nov-04 7:34
sitebuilderUwe Keim23-Nov-04 7:34 
GeneralRe: Calling C# functions from a DLL from within unmanaged C++ Pin
Nick Parker23-Nov-04 8:02
protectorNick Parker23-Nov-04 8:02 
GeneralRe: Calling C# functions from a DLL from within unmanaged C++ Pin
Heath Stewart23-Nov-04 8:40
protectorHeath Stewart23-Nov-04 8:40 
GeneralDrawing & Scaling Pin
Prof AKA22-Nov-04 21:37
Prof AKA22-Nov-04 21:37 
GeneralRe: Drawing & Scaling Pin
Gary Thom23-Nov-04 3:17
Gary Thom23-Nov-04 3:17 
GeneralGet the command line parameters of an external process. Pin
Matt Philmon22-Nov-04 19:42
Matt Philmon22-Nov-04 19:42 
Does anyone know how to get the commandline parameters of an externally created process?

The Process class gives you the StartInfo property which includes "Arguments". This works great if I want to start my own process. However, I've found that it never contains the arguments used to start an external process that my program didn't start. It's always empty.

In C, there's a Win32 call for GetCommandLine() which would work great... except it only works for the calling process, not an external one.

SysInternals' "Process Explorer" does this without any trouble for any process so I know it can be done. Any help? I don't care if it's C/C++, VB, VB.NET, or C#.

Thanks
GeneralRe: Get the command line parameters of an external process. Pin
Guinness4Strength9-Sep-06 6:53
Guinness4Strength9-Sep-06 6:53 
GeneralRe: Get the command line parameters of an external process. Pin
Matt Philmon9-Sep-06 9:51
Matt Philmon9-Sep-06 9:51 
QuestionDatagrid? Pin
murali_utr22-Nov-04 19:08
murali_utr22-Nov-04 19:08 
AnswerRe: Datagrid? Pin
sreejith ss nair22-Nov-04 19:20
sreejith ss nair22-Nov-04 19:20 
AnswerRe: Datagrid? Pin
Gary Thom23-Nov-04 3:20
Gary Thom23-Nov-04 3:20 
QuestionObject Writer? Pin
Rafferty Uy22-Nov-04 18:37
Rafferty Uy22-Nov-04 18:37 
AnswerRe: Object Writer? Pin
Daniel Turini22-Nov-04 19:14
Daniel Turini22-Nov-04 19:14 
GeneralHandle MS IIS Pin
pmasknguyen22-Nov-04 16:00
pmasknguyen22-Nov-04 16:00 
GeneralRe: Handle MS IIS Pin
Gerald Schwab22-Nov-04 16:27
Gerald Schwab22-Nov-04 16:27 
GeneralRe: Handle MS IIS Pin
Dave Kreskowiak23-Nov-04 0:49
mveDave Kreskowiak23-Nov-04 0:49 
GeneralRe: Handle MS IIS Pin
pmasknguyen23-Nov-04 16:16
pmasknguyen23-Nov-04 16:16 
GeneralRe: Handle MS IIS Pin
Dave Kreskowiak24-Nov-04 1:22
mveDave Kreskowiak24-Nov-04 1:22 
GeneralRe: Handle MS IIS Pin
pmasknguyen24-Nov-04 3:16
pmasknguyen24-Nov-04 3:16 
GeneralRe: Handle MS IIS Pin
Dave Kreskowiak24-Nov-04 10:16
mveDave Kreskowiak24-Nov-04 10:16 
GeneralMPEG2 stream on IPAQ PDA Pin
kenes22-Nov-04 13:20
kenes22-Nov-04 13:20 
GeneralImplementing Permissions Over Remoting Pin
Paebbels22-Nov-04 11:26
Paebbels22-Nov-04 11:26 
GeneralDirectX with MDI Pin
Rob Tomson22-Nov-04 10:15
Rob Tomson22-Nov-04 10:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.