Article View: borland.public.cppbuilder.nativeapi
Article #13216Re: Installing New TMemoryManger
From: CC
Date: Mon, 20 Oct 2003 15:12
Date: Mon, 20 Oct 2003 15:12
28 lines
1810 bytes
1810 bytes
Remy & Bob - thanks for the info - I was wondering where do I call SetMemoryManager()? I tried calling winmain() before application->initialize(), after, etc. My breakpoints are never accessed after the application starts running (forms displayed, etc). What the secret of install a mem mgr & getting it to stay installed? Looks like bcb is switching out mem mgr at some point. Thanks, Curt "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message news:3f904514$1@newsgroups.borland.com... > > "Bob Gonder" <notbg@notmindspring.invalid> wrote in message > news:v5f0pv4012f3ltel1dolfea683u35iq6qi@4ax.com... > > > GMEM_MOVEABLE returns a Handle, not an address. > > Need to use GlobalLock on moveable memory so the app can use it. > > Otherwise use GMEM_FIXED instead, which does return an actual address. > > > Gambit > >
Technical Details
Message-ID:
<3f93fb48@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3f9025f1$1@newsgroups.borland.com> <v5f0pv4012f3ltel1dolfea683u35iq6qi@4ax.com> <3f904514$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,ee2b0dd0938897eb X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-10-20 08:39:50 PST From: "CC" <Xcurtc@tmscorp.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f9025f1$1@newsgroups.borland.com> <v5f0pv4012f3ltel1dolfea683u35iq6qi@4ax.com> <3f904514$1@newsgroups.borland.com> Subject: Re: Installing New TMemoryManger Date: Mon, 20 Oct 2003 10:12:46 -0500 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 208.254.250.201 Message-ID: <3f93fb48@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1066662728 208.254.250.201 (20 Oct 2003 08:12:08 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail