Goodday everybody...

Igot another problem, which is very weird to me...
Well, I created a DLL using VB. In the DLL, there's one expression statement, which is in a loop and I wanted to run the loop until the expression is FALSE. When I link the DLL with a VB written program, it run ok, meaning the expression will give the right value when tested. But when I link the DLL using VC++ written program, the expression always return TRUE even when it's suppose to be FALSE.

All I want to ask is... What really happen in the DLL code? Why can't it test the expression correctly? And how do I solve it?