senglory Posted March 8, 2007 Posted March 8, 2007 IEnumIDList folderEnum = (IEnumIDList)Marshal.GetTypedObjectForIUnknown(folderEnumPtr, typeof(IEnumIDList)); while (folderEnum.Next(1, out pidlSubItem, out celtFetched) == ShellAPI.S_OK && celtFetched == 1) { } The cycle "while" execute several time ok but suddenly raises exception "First-chance exception at 0x7c81eb33 in Server.exe: 0x80004002 Not supported" Info about Studio: Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Whats wrong to my code? Quote
Leaders snarfblam Posted March 8, 2007 Leaders Posted March 8, 2007 Having no idea what your code does, this is all I can tell you. Since the exception is thrown in Server.exe, there isn't necessarily anything wrong with your code. I'm not quite sure what the address 0x7c81eb33 refers to, but 99% of google search results associated that offset with kernel32.dll (not that that probably helps much). It also seems to be related to things like static initializers and Windows Forms initialization. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.