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?
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?