|
-
August 16th, 2009, 11:32 AM
#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
-
August 16th, 2009, 12:50 PM
#2
Re: IShellFolder error.
You are leaking memory. For a more detailed reply, can you post some code?
-
August 17th, 2009, 02:34 AM
#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.
-
August 18th, 2009, 12:31 AM
#4
Re: IShellFolder error.
 Originally Posted by unnamed
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.
Thanks a zillion unnamed. IT WORKED!!!!!!
Regards,
J.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|