| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
| Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
IShellFolder error.
Hi Friends,
I am getting an out of memory error every time i call the CoCreateInstance for IShellFolder inside a hook function. This problem is only for IShellFolder. Any idea? Regards and thanks, J |
|
#2
|
||||
|
||||
|
Re: IShellFolder error.
You are leaking memory. For a more detailed reply, can you post some code?
|
|
#3
|
|||
|
|||
|
Re: IShellFolder error.
I guess the stack space is exhausted....I recommend you to put the CoCreateInstance stuff inside a seperate thread so that it will get a fresh stack to play with.
|
|
#4
|
|||
|
|||
|
Re: IShellFolder error.
|
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|