[C/C++] 4 little C questions (I'm using Win32 API) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [C/C++] 4 little C questions (I'm using Win32 API) (
/showthread.php?tid=288158)
[C/C++] 4 little C questions (I'm using Win32 API) -
Sasino97 - 06.10.2011
1 - How do I remove the "s (Doublequotes) in a string, in C, using WinAPI
( Because the lpszArgument returns the filename with the quotes )
2 - Why
Код:
wincl.hIcon = LoadIcon (NULL, "pawn.ico");
doesn't work, and it's still loading the normal icon?
3 - How do I open a program and give some params to it?
4 - How do I edit the Windows Registry and make that all ".amx" files will open with my program, will have my custom icon and will have my custom description? ( <--- This is one of the most urgents, because I searched on ****** but no results found)
Please reply as soon as possible
Re: [C/C++] 4 little C questions (I'm using Win32 API) - [L3th4l] - 06.10.2011
Trust me, this forums are used to ask anything nowadays. Your best bet is to use a C help forum and get answers from people specialized in this!
(Not trying to be rude or anything, but just sayin')
Re: [C/C++] 4 little C questions (I'm using Win32 API) -
Sasino97 - 06.10.2011
Quote:
Originally Posted by [L3th4l]
Trust me, this forums are used to ask anything nowadays. Your best bet is to use a C help forum and get answers from people specialized in this! (Not trying to be rude or anything, but just sayin')
|
Already done (Posted on cplusplus.com)