G
Guest
before installing the latest security updates to windows xp, i was, within my app, able to launch internet explorer to allow users to access my web site. now it only works if ie is already launched. if ie isn't launched i get an error message: Problem with shortcut - Unable to open "http://www.mysite.com". source code appears below. i'm stumped. can anyone please help? thanks!!!
sprintf(sBuf,"url.dll, FileProtocolHandler http://mysite.com")
ShellExecute(NULL, NULL, "RunDLL32.EXE", sBuf, NULL, SW_SHOWNORMAL)
the following older code has the same effect
ShellExecute(NULL, NULL, "http://www.mysite.com", NULL, NULL, SW_SHOWNORMAL)
sprintf(sBuf,"url.dll, FileProtocolHandler http://mysite.com")
ShellExecute(NULL, NULL, "RunDLL32.EXE", sBuf, NULL, SW_SHOWNORMAL)
the following older code has the same effect
ShellExecute(NULL, NULL, "http://www.mysite.com", NULL, NULL, SW_SHOWNORMAL)