Loading mingw dll in VC8 application

View: New views
3 Messages — Rating Filter:   Alert me  

Loading mingw dll in VC8 application

by Frederic Beringer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm currently faced to the following problem
I've an application compiled with visual studio 2008. It loads (with
LoadLibrary function) a dll compiled with mingw.
I previouly used cygwin gcc 2.95.2 for the dll compilation  and all was ok
I recently try to upgrade to mingw gcc 4.4.0 (for dll compilation) and
the LoadLibrary fucntion fails.
I try to simplify the code of the dll and even with a very simple code,
the problem still occurs.
Has somebody already heard about such kind of problem ? Is there a
compilation option I can try.
    Thanks for your help
          Fred



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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.

Most annoying abuses are:
1) Top posting
2) Thread hijacking
3) HTML/MIME encoded mail
4) Improper quoting
5) Improper trimming
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Re: Loading mingw dll in VC8 application

by Frederic Beringer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I Just check with Mingw gcc 4.2.1, and it works fine.
    Fred

Frederic Beringer wrote:

> Hi,
>
> I'm currently faced to the following problem
> I've an application compiled with visual studio 2008. It loads (with
> LoadLibrary function) a dll compiled with mingw.
> I previouly used cygwin gcc 2.95.2 for the dll compilation  and all
> was ok
> I recently try to upgrade to mingw gcc 4.4.0 (for dll compilation) and
> the LoadLibrary fucntion fails.
> I try to simplify the code of the dll and even with a very simple
> code, the problem still occurs.
> Has somebody already heard about such kind of problem ? Is there a
> compilation option I can try.
>    Thanks for your help
>          Fred
>
>



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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.

Most annoying abuses are:
1) Top posting
2) Thread hijacking
3) HTML/MIME encoded mail
4) Improper quoting
5) Improper trimming
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

Re: Loading mingw dll in VC8 application

by Alexandr N Zamaraev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Frederic Beringer wrote:
> I've an application compiled with visual studio 2008. It loads (with
> LoadLibrary function) a dll compiled with mingw.
> I recently try to upgrade to mingw gcc 4.4.0 (for dll compilation) and
> the LoadLibrary fucntion fails.
I use self compiled Python plugins.
Latest Python v 2.6.x compiled with VS 2009
Plugins compiled with mingw32 gss 4.4.0 work fine.

--
Alexandr N. Zamaraev


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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.

Most annoying abuses are:
1) Top posting
2) Thread hijacking
3) HTML/MIME encoded mail
4) Improper quoting
5) Improper trimming
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users