I am using CreateThread to call a func in a dll. the problem is that vb5 crashes!!!

VB5 caused a stack fault in module NMCOMMCTRL.DLL at 0137:01b71eed.

when I run this func not in a thread it runs fine. What to do???

Shai.