PDA

View Full Version : help plz


Estevan
25-01-2004, 09:28 PM
This has nothing nothing to do with HL2 or the SDK but i need help for my lil prog. Im probly the n00best of em all asking this question but, What is the command to open up a Program Like mIRC or a game like Warcraft III in C++?

In Advance Thanks

ComradeBadger
25-01-2004, 10:05 PM
No.

To the best of my knowledge.

bobvodka
25-01-2004, 10:47 PM
you'll have to use one of the win32 functions, althought the name of it escapes me atm

Estevan
25-01-2004, 11:15 PM
k thx allot bobvodka

Estevan
25-01-2004, 11:22 PM
im using MSVC 6.0 if that helps, i just dont know how to put in win32 functions :/. but if you remmber plz say

Sandman
26-01-2004, 03:02 AM
Ahhhh I just figured out what you're trying to say. You want to open the program via windows using a function in your program... yeah, you need to use a win32 call. At first I thought you meant you wanted to decompile a program into coherent C++ lol. Unfortunately I have no idea what it is. Maybe look up a tutorial.

EvNTHriZen
26-01-2004, 05:03 AM
ShellExecute(...) (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp)

Estevan
26-01-2004, 05:29 AM
Omg Thank You!