PC Review Forums Newsgroups Windows Vista Windows Vista General Discussion Facing problem with the CreateToolhelp32Snapshot() call in Windows Vista

Reply

Facing problem with the CreateToolhelp32Snapshot() call in Windows Vista

 
Thread Tools Rate Thread
Old 04-06-2007, 07:08 PM   #1
senthil1230
Guest
 
Posts: n/a
Default Facing problem with the CreateToolhelp32Snapshot() call in Windows Vista


Hi,

This is a peculiar problem I see while running my application, which deals
with 'login' and this happens ONLY in Microsoft Windows Vista(32-bit). My
application internally uses the OpenSSL to communicate. The issue here is
that the application hangs in a method Rand_poll() of openssl. When I digged
in the code we found that the culprit was the
CreateToolhelp32Snapshot(TH32CS_SNAPALL,0) call. It went through fine when
I changed it into snap(TH32CS_SNAPPROCESS,0), which means the application
hangs when I pass the flag TH32CS_SNAPALL.

I am not sure about the real issue here as I don't have expertise in neither
Vista nor OpenSSL, as this happens only in Windows Vista (not in other
releases of windows). I'd appreciate if any of you can help on this.

Thanks,
Pal.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off