[C/C++] 4 little C questions (I'm using Win32 API)
#1

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
Reply
#2

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')
Reply
#3

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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)