From: j-cerney1 AT ti DOT com (John Cerney) Subject: RE: DLL Example no longer works under b18 3 Jun 1997 17:05:49 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: Reply-To: John Cerney Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="BeyondBoundary_2_Tue_Jun_03_07:13:27_1997__4823" X-Mailer: BeyondMail for Windows/Professional 2.3 Original-To: Steve Shepard X-BeyondMail-Priority: 1 Conversation-ID: <199706022221 DOT PAA06278 AT gw DOT navio DOT com> In-Reply-To: <199706022221.PAA06278@gw.navio.com> Original-Cc: gnu-win32 AT cygnus DOT com X-Receipt-From-Agent: true Original-Sender: owner-gnu-win32 AT cygnus DOT com --BeyondBoundary_2_Tue_Jun_03_07:13:27_1997__4823 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit I have not solved the problem, but I have been experimenting with it. I believe it is a problem with the B18 cygwin.dll, because the executables of the simple example that were built under B17.1 don't run using the b18 cygwin.dll, and the executables built with B18 work when run using the B17.1 cygwin.dll. Other people on this list are having similar problems with Sergey's X11 port under B18. I believe that this is the same problem. Some people have reported success using Sergey's patched cygwin.dll, although I'm not sure what the differences are between his patched dll and the standard b18 dll. -John > > John, > > I am seeing similar problems ("Unable to run ...) under Windows 95 on > B18. Did you resolve the problem? If so, how? > > -Steve > > > > The simple DLL example on the cygnus web page: > > http://www.cygnus.com/misc/gnu-win32/building-reloc-dlls.txt no > > longer works with the beta 18 release. When running main.exe a > > window pops up that says: "Unable to run c:\temp\main.exe". > > > This happens both for the main.exe built under b17.1 and the > > main.exe built using b18. Running main.exe under the debugger (gdb) > > reports "unable to create process" errors, and error number > > 11. Error number 11 in include/Windows32/Errors.h is defined as "Bad > > Format". > > > I tried this on a Windows 95 machine. I have not tried it on a Win > > NT machine yet. > > --BeyondBoundary_2_Tue_Jun_03_07:13:27_1997__4823 Content-Type: application/octet-stream; name="ATTRIBS.BND" Content-Transfer-Encoding: X-UUENCODE Content-Disposition: attachment; filename="ATTRIBS.BND" begin 666 ATTRIBS.BND M0F5Y;VYD(%!A8VME9"!!='1R:6)U=&5S XE !L * 4D4Z($1,3"!% M>&%M<&QE(&YO(&QO;F=E'!E6=W:6XN9&QL+"!B96-A=7-E('1H92!E>&5C=71A8FQE M2=S(%@Q,2!P;W)T('5N9&5R($(Q."X AT 22!B96QI979E('1H870@ M=&AI6=W:6XN M9&QL+"!A;'1H;W5G:"!))VT@;F]T('-U&%M<&QE(&]N('1H92!C>6=N=7,@ M=V5B('!A9V4Z"CX@(#X@:'1T<#HO+W=W=RYC>6=N=7,N8V]M+VUI7,Z(")5 M;F%B;&4@=&\@&4B+@H^(" */B @/B!4:&ES M(&AA<'!E;G,@8F]T:"!F;W(@=&AE(&UA:6XN97AE(&)U:6QT('5N9&5R(&(Q M-RXQ(&%N9"!T:&4*/B @/B!M86EN+F5X92!B=6EL="!U&4@=6YD97(@=&AE(&1E8G5G9V5R("AG9&(I"CX@(#X@ M