Ashika Umanga Umagiliya | 1 Sep 2010 02:34

Re: Shared library problem (works fine on linux) ?

Hi 


I added dllimport/dllexport for all my classes and now it works fine.
Thanks alot for the help.

regards,
umanga

On 31 August 2010 16:12, Tor Lillqvist <tml-X3B1VOXEql0@public.gmane.org> wrote:
> My application uses only MinGW in Windows and no plans to use VS compiler.Do
> I still have to use dllimport/dllexport then ?

Especially for variables, it is always a good idea to specify
explicitly when a variable is imported from a DLL. It is still Windows
even if you use MinGW.

If that doesn't help, it might be a better idea to ask on a
Qt-specific mailing list.

--tml

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
MinGW-users mailing list
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
MinGW-users mailing list
MinGW-users@...

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Gmane