I'm using ShellExecute to open a file, and my memory usage almost doubles when I do -from about 1.5mb to 3mb, and doesn't go back down.
I call it like,
I've looked at MSDN, and it doesn't say anything about closeing or freeing handles, what am I doing wrong? Is it supposed to work like this anyway?Code:ShellExecute(NULL, "open", "C:\test.html", NULL, NULL, SW_SHOWNORMAL);
Thanks in advanceCode:Windows XP MinGW gcc -W -Wall -ansi -pedantic -O2 -mwindows -o launch launch.c -lkernel32 -luser32 -lshell32