Click here to Skip to main content
15,896,153 members
Home / Discussions / C#
   

C#

 
AnswerRe: How: one service program for two similar forms? Pin
Nader Elshehabi9-Sep-06 7:46
Nader Elshehabi9-Sep-06 7:46 
GeneralRe: How: one service program for two similar forms? Pin
N3croman9-Sep-06 9:57
N3croman9-Sep-06 9:57 
GeneralRe: How: one service program for two similar forms? [modified] Pin
Nader Elshehabi9-Sep-06 11:24
Nader Elshehabi9-Sep-06 11:24 
GeneralRe: How: one service program for two similar forms? Pin
N3croman10-Sep-06 6:33
N3croman10-Sep-06 6:33 
QuestionCommand Line Arguments for an existing process Pin
Guinness4Strength9-Sep-06 6:58
Guinness4Strength9-Sep-06 6:58 
AnswerRe: Command Line Arguments for an existing process Pin
Nader Elshehabi9-Sep-06 7:06
Nader Elshehabi9-Sep-06 7:06 
GeneralRe: Command Line Arguments for an existing process Pin
Arjun "Mjolnir" Bahree9-Sep-06 10:03
Arjun "Mjolnir" Bahree9-Sep-06 10:03 
AnswerRe: Command Line Arguments for an existing process Pin
Arjun "Mjolnir" Bahree9-Sep-06 9:59
Arjun "Mjolnir" Bahree9-Sep-06 9:59 
Well do i assume that the external process is a managed app?
Anyways, any process started with command line arguments, has them stored in the process primary stack, since they are in scope of the entry point. You need to write a generic unmanaged code piece to access the string array passed into the entry point by the c runtime in an unmanaged process. For a managed app you need to get the pointer location of the entrypoint and then in contigous to the it would be the command line arguments passed in. you can see where the arguments finish by wrapping your search before any instruction address or jmp instruction appears.

Does that make something clear here?

Excelsior
Arjun Bahree
"By The Might of Mjolnir"

I Came! I Coded! I Conquered!

QuestionHow is made documentation Pin
papa809-Sep-06 4:08
papa809-Sep-06 4:08 
AnswerRe: How is made documentation Pin
Ravi Bhavnani9-Sep-06 4:40
professionalRavi Bhavnani9-Sep-06 4:40 
AnswerRe: How is made documentation Pin
Suelinda_W20-Sep-06 8:06
Suelinda_W20-Sep-06 8:06 
QuestionApplication.Exit() not working very well Pin
J Liang9-Sep-06 3:52
J Liang9-Sep-06 3:52 
AnswerRe: Application.Exit() not working very well Pin
Nader Elshehabi9-Sep-06 6:01
Nader Elshehabi9-Sep-06 6:01 
GeneralRe: Application.Exit() not working very well Pin
J Liang10-Sep-06 2:28
J Liang10-Sep-06 2:28 
AnswerRe: Application.Exit() not working very well Pin
Arjun "Mjolnir" Bahree10-Sep-06 4:17
Arjun "Mjolnir" Bahree10-Sep-06 4:17 
Questionhow can i make wizard in c# Pin
Parshant Verma9-Sep-06 3:21
Parshant Verma9-Sep-06 3:21 
AnswerRe: how can i make wizard in c# Pin
Ravi Bhavnani9-Sep-06 3:58
professionalRavi Bhavnani9-Sep-06 3:58 
Questionhow can i integrate vc++ code in c# Pin
Parshant Verma9-Sep-06 3:20
Parshant Verma9-Sep-06 3:20 
AnswerRe: how can i integrate vc++ code in c# Pin
User 66589-Sep-06 3:31
User 66589-Sep-06 3:31 
AnswerRe: how can i integrate vc++ code in c# Pin
Arjun "Mjolnir" Bahree9-Sep-06 10:11
Arjun "Mjolnir" Bahree9-Sep-06 10:11 
QuestionWriting date and time in seperate tags xml Pin
Yustme9-Sep-06 3:12
Yustme9-Sep-06 3:12 
AnswerRe: Writing date and time in seperate tags xml Pin
Ravi Bhavnani9-Sep-06 3:24
professionalRavi Bhavnani9-Sep-06 3:24 
AnswerRe: Writing date and time in seperate tags xml Pin
User 66589-Sep-06 3:29
User 66589-Sep-06 3:29 
GeneralRe: Writing date and time in seperate tags xml Pin
Yustme9-Sep-06 3:36
Yustme9-Sep-06 3:36 
Questionsome thread problem in client/server application Pin
selcux9-Sep-06 1:43
selcux9-Sep-06 1:43 

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.