How can I get which .pf and .ini used in the current program? Because I would like to run another program but I want to use it as another process (through prowin32).
I do not think you can get this info (someone please correct me if I am wrong). Maybe it's an idea to pass it along to your startup procedure using the "-param" startup paremeter?
Many thanks Gabor, that's it, what I wanted. I also tried to find something about this thing earlier, but it looks like I used bad words, you saved my life
thanks again
Regards,
Viktor
Originally posted by Gabor Topor Hi,
You can use Win32 API function called GetCommandLineA. This returns the command line you can extract any information. See details in KBase 21972:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.