From: DHarray on 24 Sep 2006 06:15 Hello, i have a small app with some ShellExecutes. for example this one: ShellExecute(hWnd, "open", "http://www.domain.com", NULL, NULL, SW_SHOWNORMAL); Everytime i debug my app and this command is executed, the debuger will output the following: First-chance exception at 0x7c812a5b in explorer.exe: Microsoft C++ exception: CError at memory location 0x00fce708.. i also tried ShellExecute(NULL, NULL, ...). What's the reason for this simple shellexecute and why is a First-chance exception thown here?
From: Abdo Haji-Ali on 24 Sep 2006 08:43 "DHarray" <info(a)floriangilles.de> wrote in message news:ut#KkJ83GHA.2464(a)TK2MSFTNGP06.phx.gbl... > Hello, > > i have a small app with some ShellExecutes. > for example this one: > > ShellExecute(hWnd, "open", "http://www.domain.com", NULL, NULL, > SW_SHOWNORMAL); > > Everytime i debug my app and this command is executed, the debuger will > output the following: > > First-chance exception at 0x7c812a5b in explorer.exe: Microsoft C++ > exception: CError at memory location 0x00fce708.. > > i also tried ShellExecute(NULL, NULL, ...). > > What's the reason for this simple shellexecute and why is a First-chance > exception thown here? I've experienced this behavior before. This "first-chance" exception is thrown by the internal open-file dialog (IIRC, when you click the drop down list). I don't know if I you can catch it (although I don't think so, try google). However I think that you shouldn't worry much about it as it's implementation specific and may vary from a Windows version to another -- Abdo Haji-Ali Programmer In|Framez
From: DHarray on 24 Sep 2006 07:54 Abdo Haji-Ali wrote: > "DHarray" <info(a)floriangilles.de> wrote in message > news:ut#KkJ83GHA.2464(a)TK2MSFTNGP06.phx.gbl... >> Hello, >> >> i have a small app with some ShellExecutes. >> for example this one: >> >> ShellExecute(hWnd, "open", "http://www.domain.com", NULL, NULL, >> SW_SHOWNORMAL); >> >> Everytime i debug my app and this command is executed, the debuger will >> output the following: >> >> First-chance exception at 0x7c812a5b in explorer.exe: Microsoft C++ >> exception: CError at memory location 0x00fce708.. >> >> i also tried ShellExecute(NULL, NULL, ...). >> >> What's the reason for this simple shellexecute and why is a First-chance >> exception thown here? > I've experienced this behavior before. This "first-chance" exception is > thrown by the internal open-file dialog (IIRC, when you click the drop down > list). I don't know if I you can catch it (although I don't think so, try > google). However I think that you shouldn't worry much about it as it's > implementation specific and may vary from a Windows version to another > ah ok. thanks for your answer. ShellExecute(NULL, "open", "explorer.exe", "/N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}", NULL, SW_SHOWNORMAL); there is also a first chance exception with the rpc server: First-chance exception at 0x7c812a5b in explorer.exe: 0x000006BA: The RPC server is unavailable. First-chance exception at 0x7c812a5b in explorer.exe: Microsoft C++ exception: CError at memory location 0x00fcd39c.. .... but what is the rpc server? important?
From: Abdo Haji-Ali on 24 Sep 2006 09:21 "DHarray" <info(a)floriangilles.de> wrote in message news:uxDz8A93GHA.1060(a)TK2MSFTNGP04.phx.gbl... > Abdo Haji-Ali wrote: > ShellExecute(NULL, "open", "explorer.exe", > "/N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-080 02B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}", > NULL, SW_SHOWNORMAL); Mmmm, What on earth was I talking about? (Slap my head) I'm really sorry Please ignore my previous post Sorry again, -- Abdo Haji-Ali Programmer In|Framez
From: DHarray on 24 Sep 2006 08:35
Abdo Haji-Ali wrote: > "DHarray" <info(a)floriangilles.de> wrote in message > news:uxDz8A93GHA.1060(a)TK2MSFTNGP04.phx.gbl... >> Abdo Haji-Ali wrote: >> ShellExecute(NULL, "open", "explorer.exe", >> > "/N,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-080 > 02B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}", >> NULL, SW_SHOWNORMAL); > Mmmm, What on earth was I talking about? (Slap my head) I'm really sorry > Please ignore my previous post > > Sorry again, Sorry |