http://bugs.winehq.org/show_bug.cgi?id=8840
------- Additional Comments From dank@kegel.com 2007-09-07 09:50 ------- Vivek wrote me to say:
the error i used to get in wine is solved !!!! YIPPPEEEE !! dont know what the issue was, but it was like, in Visual Basic, we used to declare a variable in a module and and then later define the value of the variable at run time. this worked perfectly fine for all other variables except the class module variable, no idea as to why. so, what i did was, rather than declaring the variable in the class module, i did it at run time, n it just worked !! this is what was before :-
private err as CApplog1
this was done during the declaration of all variables, where CApplog1 is my class module and then at run time
set err as new CApplog1 this was where it was giving me the error
so, i replaced the above 2 lines with this one
dim err as new capplog1
and it simply worked. i know its a bull-shit thing that m talking n such a thing is not possible, but then, fact is, it works when i run it under windows, but gives an error in wine.