Sounds like you're forgetting to set the owner of the URL memory block
passed into clipper to system:
Something like this works:
//assume URLPtr is a char * to the URL to get via clipper
url = MemPtrNew(StrLen(URLPtr)+1);
if (!url) return true;
StrCopy(url, URLPtr);
MemPtrSetOwner(url, 0); // don't forget this!!!
MemSet(&searchState, sizeof(searchState), 0);
err = DmGetNextDatabaseByTypeCreator (true, &searchState,
sysFileTApplication, sysFileCClipper, true, &cardNo, &dbID);
launchCode = sysAppLaunchCmdGoToURL;
err = SysUIAppSwitch(cardNo,dbID,launchCode,url);
John Schettino
Palm OS Programming For Dummies: http://schettino.tripod.com
Cooltown by HP: http://cooltown.hp.com
-----Original Message-----
From: gcw [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 04, 2000 4:33 AM
To: Palm Developer Forum
Subject: HELP! "Web Clipping" 3.2 error in emulator
My app launches the clipper for internet access. I get the following
error while in clipper:
"Web Clipping" 3.2 has just read directly from low memory. This
technique is not permitted for Palm OS applications and may not work in
future Palm products which have hardware changes. ...."
Anyone know what I might be doing wrong or how to debug this problem?
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html