From: RSPsoftware <ara...@ya...> - 2011-04-26 13:59:54
|
it is a dll,it don´t have a main or a WinMain, just a Dllmain that indeed is optional for compilation arab http://nomade.sf.net --- Em ter, 26/4/11, LRN <lr...@gm...> escreveu: De: LRN <lr...@gm...> Assunto: Re: [Mingw-users] dll created in a different way Para: min...@li... Data: Terça-feira, 26 de Abril de 2011, 10:40 On 26.04.2011 16:18, RSPsoftware wrote: > > dumppe that is a executable analizer and disassembler detects a dll created with mingw compiled with > windres -o versio_n.o -O coff versio_n.rc gcc -DDPRINTF -enable-stdcall-fixup -shared -O3 \ -Wmissing-prototypes -o rsputil.dll \ versio_n.o def.def rsputil.c e_malloc.c \ dprintf.cas:Subsystem 0003 (Console)while when compiled with vc it is detected as:Subsystem 0002 (Windows) > What implicatons it may have in the execution of this dll that may result in a different behavior ? > Try using -mwindows linker option. I'm surprised that you have this problem, since MinGW would not have been able to compile a program with CONSOLE subsystem when you don't have a main() (you have WinMain() and not main(), right?). ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ MinGW-users mailing list Min...@li... 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 Also: mailto:min...@li...?subject=unsubscribe |