Hi Alessandro, this was snowed under a bit, but I have checked that your patch works for 32-bits Windows XP (using gcc). I have committed your changes. Luckily they were very local (just the GetWindowLong(Ptr) and SetWindowLong(Ptr) functions).
Regards, Arjen On 2010-06-22 12:06, Alessandro Piras wrote: > Hi Rob, > "Sisyphus" <[email protected]> writes: > >> ----- Original Message ----- >> >> Hi Alessandro, >> >>>> Does the driver work correctly when built with mingw64? >>> Yes, though I've only built with -DBUILD_SHARED_LIBS=OFF . >>> >> I've now built a dll build (both 5.9.6 and svn) - and the driver still >> works correctly. > > I think the mingw compiler does something strange with SetWindowLong and > GetWindowLong. > They should write 32 bits values (according to the docs) but pointers > are 64bits! > > I've sent a followup with a modified wingcc.c, could you please check if > it works for you? It would be nice to also check it with 32 bits > compilers, but, standing to what MS says, it should work on both. > > Regards, > Alessandro > >> Cheers, >> Rob >> >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Plplot-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plplot-general > DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
