How can I get the programs address (C++, Win32, GUI)?
For example if the program is in "C:\Program Files\booga.exe", how can I get the same string inside that program?
How can I get the programs address (C++, Win32, GUI)?
For example if the program is in "C:\Program Files\booga.exe", how can I get the same string inside that program?
Are you looking for GetCommandLine()?
If you understand what you're doing, you're not learning anything.
Code:char lpFilename[MAX_PATH]; GetModuleFileName(NULL, lpFilename, sizeof lpFilename);
Intel Core 2 Quad Q6600 @ 2.40 GHz
3072 MB PC2-5300 DDR2
2 x 320 GB SATA (640 GB)
NVIDIA GeForce 8400GS 256 MB PCI-E