What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Memory Useage In VB

Memory Useage In VB
Author: Message:
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
42 / Male / Flag
Joined: Jan 2003
RE: Memory Useage In VB
quote:
Originally posted by DJeX
nRet = AllocateAndGetTcpExTableFromStack(pTablePtr, 0, GetProcessHeap, 0, 2)
Well, I don't know what that function does (in fact now it's the first time that I see it), anyway, I think (reading its name) that it allocates (ie: creates, takes, ...) some memory. That means that once you've called AllocateAndGetTcpExTableFromStack, your program has some more memory used. If after using the table it creates (ie: the pTablePtr) you don't free that memory, it'll sty there forever. So: you call AllocateAndGetTcpExTableFromStack, use your RefreshStack function and then you have to free that memory using some API. Which one? Well, i don't know, but I'm sure it's inside the iphlpapi.dll library. you'll have to search it :)
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
08-29-2004 09:23 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Memory Useage In VB - by DJeX on 08-29-2004 at 07:17 AM
RE: Memory Useage In VB - by theRabbit83 on 08-29-2004 at 08:28 AM
RE: Memory Useage In VB - by DJeX on 08-29-2004 at 07:40 PM
RE: Memory Useage In VB - by Choli on 08-29-2004 at 08:58 PM
RE: Memory Useage In VB - by DJeX on 08-29-2004 at 09:04 PM
RE: Memory Useage In VB - by Choli on 08-29-2004 at 09:23 PM
RE: Memory Useage In VB - by DJeX on 08-29-2004 at 11:59 PM
RE: Memory Useage In VB - by Choli on 08-30-2004 at 09:23 PM
RE: Memory Useage In VB - by DJeX on 09-01-2004 at 05:17 AM
RE: Memory Useage In VB - by Choli on 09-01-2004 at 08:02 PM
RE: Memory Useage In VB - by DJeX on 09-02-2004 at 03:48 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On