[Bug 8822] VB6.0 program crashes

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 27 00:16:26 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=8822





--- Comment #17 from Vladimir <vladimiroski at gmail.com>  2008-04-27 00:16:25 ---
Ok, the problem is around there.

It's not itself that it returns or not a value, but that the function has a
return Type instead of default "Variant".

Adding a "As Integer" to the Function solves the problem.

Function TimerProcFunc(ByVal HWnd As Long, ByVal uMsg As Long, ByVal nIDEvent
As Long, ByVal dwTimer As Long) As Integer

My best guess is that Wine is somehow failing when the return type is Variant.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list