Article View: pl.comp.lang.asm
Article #265Re: problem z asm w c++
From: lemkat
Date: Sat, 20 May 2006 15:05
Date: Sat, 20 May 2006 15:05
37 lines
1746 bytes
1746 bytes
thx, pomoglo ;)
Bogdan (bogdro) napisał(a):
> 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
>
Technical Details
Message-ID:
<e4nbbp$jnt$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<e4n4nr$cde$1@atlantis.news.tpi.pl> <e4n8au$dr5$1@nemesis.news.tpi.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!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: lemkat <lemkat@eranet.pl> Newsgroups: pl.comp.lang.asm Subject: Re: problem z asm w c++ Date: Sat, 20 May 2006 17:05:32 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 37 Message-ID: <e4nbbp$jnt$1@nemesis.news.tpi.pl> References: <e4n4nr$cde$1@atlantis.news.tpi.pl> <e4n8au$dr5$1@nemesis.news.tpi.pl> NNTP-Posting-Host: cba100.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1148137657 20221 83.30.98.100 (20 May 2006 15:07:37 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Sat, 20 May 2006 15:07:37 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: pl, en-us, en In-Reply-To: <e4n8au$dr5$1@nemesis.news.tpi.pl> X-Antivirus: avast! (VPS 0620-3, 19-05-2006), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit