| [reply] |
its an Apparent bug in Win32::API if function returns a float or a double
Heh ... that's the post that started me thinking about this.
With floats, there may be an issue, but I don't think Win32::API should have any problems with doubles. At least, I don't think earlier versions did.
But then, when I try to build a dll using Visual Studio, I find that I can't even get the library files to behave in accordance with my expectations. Admittedly I don't use Visual Studio all that often.
I also don't use Win32::API very much (in fact I avoid it), but little issues like this keep gnawing away at me. Looks like I might have to spend a few hours on this. (My first thoughts were that it must just be a case of me doing something really stupid - which could yet prove to be the case.)
Thanks for the feedback.
Cheers, Rob Update: I'm getting very similar results if I change from doubles to ints - so I don't think it's just a doubles/floats issue. I'll see if anyone on the perl-win32-users list has any advice.
| [reply] |
Have you tried reverting to 0.41? I've had nothing but trouble with later versions.
Right now, even having re-installed 5.8.6, manually searched for and expunged all reminents later builds, even simple tests that previously worked--like Re^3: Calling dll function(created in VC++) from Perl and several others--don't. I know that sounds like FUD, and I apologise if it turns out to be so, but right now I'm at a loss to explain it.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |