MinGW-Port: Problems with UnoUrlResolver

Stephan Bergmann sbergman at redhat.com
Tue Feb 21 08:51:22 PST 2012


On 02/21/2012 04:15 PM, Michael Meeks wrote:
> On Tue, 2012-02-21 at 11:53 +0100, Helmar Spangenberg wrote:
>> I would love to use the MSVC version - however my application is based
>> on some essential MinGW parts, and until now I have not found a way to
>> link my application against the MSVC-DLLs coming with the LibreOffice
>> SDK.
>
> 	Ho hum; so - in -theory- ;-) the SAL APIs are all in-line C++ wrappers
> around a native STDCALL C API (for libsal), so assuming you use just the
> sal/ code it could ('in theory') with my limited understanding of these
> things, etc. etc. work. But I'm clearly an optimist ;-)

The problem here appears not be C-based sal but C++-based cppuhelper 
("using ::cppu::bootstrap()"), which will only work if cppuhelper and 
client code are compiled with the same compiler (either both MSVC or 
both GCC).

Stephan


More information about the LibreOffice mailing list