[Qgis-developer] Re: [Qgis-user] QGIS and ECW and MrSid formats
Marco Pasetti
marcopstt at gmail.com
Mon Nov 10 03:47:47 EST 2008
Sjur,
>Windows indeed allows plugin dlls, using the LoadLibrary() and
>GetProcAddress() functions, the former taking a file name as input.
>Combined with a FileOpen dialog, the user can direct >the program to her
>separately downloaded (or built) dll.
>I don't know if these port to linux/Mac. Or if they are at all necessary
>(or elegant) in Qgis. I've used them to load dlls implementing a subclass,
>and with an object factory as the only dll >export. The application grabs
>the object factory by GetProcAddress(), and must know the base class which
>defines the interface. Then the dll subclass can perform any task as long
>as >the base class interface suffice.
Many thanks for your technical suggestion. I'll surely consider it.
Regards,
Marco
More information about the Qgis-developer
mailing list