Article View: pl.comp.lang.asm
Article #480Re: 16 - bitowe aplikacje pod Windows-em
From: Bogdan (bogdro)
Date: Sat, 29 Jul 2006 11:46
Date: Sat, 29 Jul 2006 11:46
31 lines
3046 bytes
3046 bytes
Paweł Pawlak napisał(a): > Dnia 7/28/2006 5:46 PM, Bogdan (bogdro) wrote: >> Matuzalem napisał(a): >>> Ehh... o to msg jaki dostaje od TD - zalamac sie idzie :) >>> Program image type not supported >>> >>> Hmm czyli raczej za pomoca TD tego nie zdebuguje... >> >> Czyli raczej to nie jest program 16-bitowy. Otwórz go sobie edytorem >> i zobacz na 2 pierwsze znaki. Jeśli to nie MZ ani ZM, a program nie >> jest typu .com, to jest to program 32-bitowy (najczęściej spotykaną >> sygnaturą jest PE). > > No zaraz... Przecież każdy exek (mówimy o DOS/Windows i wykluczamy pliki > .com) zaczyna się od MZ, czy 16 czy 32-bitowy... Dopiero później jest > inna sygnatura - "NE" (New Executable) dla 16-bitowych exeków rodem z > Win3.xx, "LE" (Linear Executable) - chyba z OS/2, ale głowy nie dam, i > "PE" (Portable Executable) dla exeków 32-bitowych (i pewnie 64-bitowych > też). Całkiem możliwe, bo zawierają zaślepkę w celu napisania na ekranie "This program cannot be run in DOS mode" (czy jakoś tak), gdy się je uruchomi z DOSa. Nie zagłębiałem się w szczegóły budowy binarek aż tak bardzo. Poza tym, w tej chwili nie umiem znaleźć pliku windowsowego (poza DLL), który zaczynałby się od "PE". Pewnie masz rację. -- Pozdrawiam, Bogdan (Linux i FreeDOS) Kurs assemblera x86 (DOS i Linuks): http://rudy.mif.pg.gda.pl/~bogdro Grupy dyskusyjne o asm: pl.comp.lang.asm alt.pl.asm alt.pl.asm.win32 Prawdziwy, bezpieczny komunikator: www.JabberPL.org
Technical Details
Message-ID:
<eafhvu$42v$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<1153912562.197989.284910@p79g2000cwp.googlegroups.com> <ea8079$qb6$1@atlantis.news.tpi.pl> <ea87mu$r7p$1@inews.gazeta.pl> <ea8d69$7kc$1@atlantis.news.tpi.pl> <1153940851.484645.34550@b28g2000cwb.googlegroups.com> <ea8j5n$oj2$1@nemesis.news.tpi.pl> <1153947594.189666.311470@b28g2000cwb.googlegroups.com> <ea8rnn$ahn$1@nemesis.news.tpi.pl> <1153957765.027585.210970@b28g2000cwb.googlegroups.com> <1153957912.746961.101320@75g2000cwc.googlegroups.com> <eaaov5$kcs$1@atlantis.news.tpi.pl> <1154018822.045571.88070@m79g2000cwm.googlegroups.com> <eadblh$i7s$1@nemesis.news.tpi.pl> <eaf972$2bg$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Bogdan (bogdro)" <bogdan@bogdan.pl> Newsgroups: pl.comp.lang.asm Subject: Re: 16 - bitowe aplikacje pod Windows-em Date: Sat, 29 Jul 2006 13:46:47 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 31 Message-ID: <eafhvu$42v$1@nemesis.news.tpi.pl> References: <1153912562.197989.284910@p79g2000cwp.googlegroups.com> <ea8079$qb6$1@atlantis.news.tpi.pl> <ea87mu$r7p$1@inews.gazeta.pl> <ea8d69$7kc$1@atlantis.news.tpi.pl> <1153940851.484645.34550@b28g2000cwb.googlegroups.com> <ea8j5n$oj2$1@nemesis.news.tpi.pl> <1153947594.189666.311470@b28g2000cwb.googlegroups.com> <ea8rnn$ahn$1@nemesis.news.tpi.pl> <1153957765.027585.210970@b28g2000cwb.googlegroups.com> <1153957912.746961.101320@75g2000cwc.googlegroups.com> <eaaov5$kcs$1@atlantis.news.tpi.pl> <1154018822.045571.88070@m79g2000cwm.googlegroups.com> <eadblh$i7s$1@nemesis.news.tpi.pl> <eaf972$2bg$1@inews.gazeta.pl> NNTP-Posting-Host: acrd139.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1154173759 4191 83.11.5.139 (29 Jul 2006 11:49:19 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sat, 29 Jul 2006 11:49:19 +0000 (UTC) User-Agent: Thunderbird 1.5.0.5 (X11/20060719) In-Reply-To: <eaf972$2bg$1@inews.gazeta.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit