On 2013-03-04 19:48-0800 Alan W. Irwin wrote:

> On 2013-03-04 10:36-0800 Alan W. Irwin wrote:
>
>> I have now noticed some incomplete error reporting issues with
>> src/ltdl_win32.c so I am going to try some experiments with that.
>
> I found Microsoft documentation of LoadLibrary and GetProcAddress
> (both of which are used in src/ltdl_win32.c)
> at
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms684175(v=vs.85).aspx
> and
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms683212(v=vs.85).aspx
>
> Both pieces of documentation claim you can get extended error
> information using GetLastError documented at
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms679360(v=vs.85).aspx,
> and my idea was to extend src/ltdl_win32.c to use GetLastError for
> both cases.  But after scanning through that documentation I think
> implementing this idea is beyond my (minimal) Windows expertise.
> For example, what seems to be documented is the C++ case, and
> I don't know what has to be changed so that GetLastError will
> work for the C case.
>
> Anyhow, any help from Windows developers here in fleshing out the
> current minimalist src/ltdl_win32.c would be appreciated so that it
> could be discovered what is generating the test-drv-info (but not
> libplplotd) exit code of 3 for the MinGW-built wxwidgets device driver
> case.

The other help I need with this issue is for someone to build
wxWidgets following the MinGW/MSYS recipe I gave at the start of this
thread to see if there are any linking issues in that case.  I am
virtually positive there will be such linking issues since we are
dealing with the same wxWidgets version, the same build recipe and
almost the same (4.7.2 versus 4.7.0) versions of MinGW/MSYS.  Also,
such linking issues have occurred (e.g., in the qt device driver case)
on Microsoft Windows platforms as well.  But my current thinking is
the diagnostics for those linking issues will be much clearer for the
Microsoft Windows implementation of LoadLibrary and/or GetProcAddress
than for the Wine implementations of those same functions.  And at
least for the Microsoft version of Windows, the diagonostics will be
even better using GetLastError if someone will step forward to
implement that approach.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to