"Joshua Thielen" thielen@netprince.net wrote:
- if ((wm = MODULE32_LookupHMODULE( hModule )))
- if(!hModule && !(NtCurrentTeb()->tibflags &= TEBF_WIN32)) {
^^ Apparently '&=' above must be replaced by simple '&'
Dmitry Timoshkov wrote:
"Joshua Thielen" thielen@netprince.net wrote:
- if ((wm = MODULE32_LookupHMODULE( hModule )))
- if(!hModule && !(NtCurrentTeb()->tibflags &= TEBF_WIN32)) {
^^
Apparently '&=' above must be replaced by simple '&'
Yes, definitely! Thanks for spotting this potentially nasty bug. I'm sorry about that - I copied and pasted without thinking :(
Josh