🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3806

Re: AV - Stack getting trashed - HELP!

#3806
From: Borland Lover
Date: Tue, 25 Apr 2006 15:28
19 lines
1611 bytes
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:444d1d06$1@newsgroups.borland.com...
>
> "Borland Lover" <kdhf@kbdf.com> wrote in message
> news:4449633f$1@newsgroups.borland.com...
>
>> However, when execution gets to the lines (marked below) the stack
>> gets completely trashed.
>
> That is because you are not managing the stack correctly in the first 
> place.
> See below.
>
>> typedef ULONG (*TGetAdaptersAddresses)(ULONG Family, ULONG Flags, PVOID
>> Reserved, PIP_ADAPTER_ADDRESSES pAdapterAddresses, PULONG pOutBufLen);


Of course!  Makes total sense.  Works like a charm. Thank you very much.
Technical Details
Message-ID: <444e4007$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4449633f$1@newsgroups.borland.com> <444d1d06$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,aeca86a831696bee
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Borland Lover" <kdhf@kbdf.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4449633f$1@newsgroups.borland.com> <444d1d06$1@newsgroups.borland.com>
Subject: Re: AV - Stack getting trashed - HELP!
Date: Tue, 25 Apr 2006 08:28:06 -0700
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 207.61.87.125
Message-ID: <444e4007$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1145978887 207.61.87.125 (25 Apr 2006 08:28:07 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail