The following *does not* work, however I'm not sure how to change it (since with the old way, additional libraries were required).
In the last 3 lines, all filenames are the same...
{
char *source = "";
char *dest = "";
char *exename = "";
HANDLE hPatch, hSource, hDest;
int result;
popstring(exename);
MessageBox(g_hwndParent,exename,0,MB_OK);
popstring(source);
MessageBox(g_hwndParent,source,0,MB_OK);
popstring(dest);
MessageBox(g_hwndParent,dest,0,MB_OK);
MessageBox(g_hwndParent,exename,0,MB_OK);
MessageBox(g_hwndParent,source,0,MB_OK);
MessageBox(g_hwndParent,dest,0,MB_OK);
I've attached the complete project. What is the correct way to do this?
Thanks for any help you can give!