Article View: pl.comp.lang.asm
Article #264Re: problem z asm w c++
From: Bogdan (bogdro)
Date: Sat, 20 May 2006 14:13
Date: Sat, 20 May 2006 14:13
35 lines
1816 bytes
1816 bytes
lemkat napisaล(a):
> Mam funkcje ktora jest wywolywana przez aplikacje ktore wywoluja send(),
> ( inject dll to another process ) niestety problem polega na tym iz
> aplikacje te wykonuja nieprawidlowa operacje i zostaja zamkniete, w
> miejscu iBytes powinno byc __LOCAL_SIZE ale c++ builder nie rozpoznaje
> __LOCAL_SIZE, jakies sugestie co jest nie tak i co moge zmienic aby
> dzialalo
>
> void custom_sendto(void)
>
> {
>
> // send params
>
> BYTE *buf;
>
> int len;
>
> int iBytes;
>
>
>
> iBytes = sizeof( iBytes ) + sizeof( buf ) + sizeof( len );
iBytes = 4 + 4 + 4;
> sub esp, iBytes
sub esp, 12
--
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:
<e4n8au$dr5$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<e4n4nr$cde$1@atlantis.news.tpi.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "Bogdan (bogdro)" <bogdan@bogdan.pl> Newsgroups: pl.comp.lang.asm Subject: Re: problem z asm w c++ Date: Sat, 20 May 2006 16:13:50 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 35 Message-ID: <e4n8au$dr5$1@nemesis.news.tpi.pl> References: <e4n4nr$cde$1@atlantis.news.tpi.pl> NNTP-Posting-Host: acsc237.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1148134558 14181 83.11.30.237 (20 May 2006 14:15:58 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sat, 20 May 2006 14:15:58 +0000 (UTC) User-Agent: Thunderbird 1.5.0.2 (X11/20060420) In-Reply-To: <e4n4nr$cde$1@atlantis.news.tpi.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit