Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Alan Ingleby
Keith Rollin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is it possible to use DmWrite() on ordinary memory? I have cases where Try it and see. My suspicion is that is will probably fail, as DmWrite is Ugh, I can't believe that advice just crossed this forum! Using that

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Alan Ingleby
Todd Niec [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is it possible to use DmWrite() on ordinary memory? I have cases where buffers might be stored in ordinary memory (stack, heap, or static globals) or might be in a record in a file and I would like 1 method to write to both

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Alan Ingleby
Aaron Ardiri [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hey, i responsed cause you mentioned me :) not to nit-pick you :) *g* That's OK. I was just having a bad morning. I'm all better now I've got my caffeine fix. You do have to admit though, that many of the posts that go

Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Todd Niec
#define SafeUlgyDmWrite(a,b,c,d) {MemPtrDataStorage(a)?DmWrite(a,b,c,d):MemMove(a+b,c,d);} What I really needed was MemPtrDataStorage() and MemHandleDataStorage()! Comming from DOS/Windows/Mac I woudln't have hoped for the existence of such functions. Memory is memory to me. thanks -- For

RE: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Eric Cloninger
Is it just me being paranoid, or do many of the experts on this forum not respond to newbie requests for help, only to wait so they can show their superiority by nitpicking the responses given by others? Sorry, but it really bugs me that many of my responses seem to get shot down by

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Alan Ingleby
Keith Rollin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Actually, http://www.m-w.com has nitpick, but not nit-pick. Even so, don't worry. Even if nit-picking is considered correct by some, according to Knuth (http://sunburn.stanford.edu/~knuth/email.html), nit-picking will

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Alan Ingleby
Eric Cloninger [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] My advice: Relax and don't worry about the tone of each and every post. There is nothing you can do about it other than get in a pointless argument. Be thankful that there are guys out there like Ben, Keith, Aaron, etc.

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Aaron Ardiri
Now, *this* is advice I like! To it, I should add Even if using DmWrite works on non-storage heap memory now, there's nothing that says it won't in the future. Nice to see I'm not completely full of bad ideas Mind you, I'm surprised Aaron hasn't chimed in with advise on replacing

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread David Martin
Is it just me being paranoid, or do many of the experts on this forum not respond to newbie requests for help, only to wait so they can show their superiority by nitpicking the responses given by others? Hey, would that work? Can we really pass ourselves off as experts by nitpicking

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Keith Rollin
At 10:15 AM +1000 8/11/03, Alan Ingleby wrote: Todd Niec [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Is it possible to use DmWrite() on ordinary memory? I have cases where buffers might be stored in ordinary memory (stack, heap, or static globals) or might be in a record in a

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Alan Ingleby
James [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Alan Ingleby wrote: As Aaron already pointed out, the braces are totally unnecessary. Furthermore, the following would generate a syntax error: sarcasm Thanks for all the very accurate, valid and verbose corrections so my code.

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Aaron Ardiri
hey, i responsed cause you mentioned me :) not to nit-pick you :) *g* That's OK. I was just having a bad morning. I'm all better now I've got my caffeine fix. *g* - some idiot woke me up at 8:30am.. You do have to admit though, that many of the posts that go into this forum consist

Re: Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Aaron Ardiri
Is it just me being paranoid, or do many of the experts on this forum not respond to newbie requests for help, only to wait so they can show their superiority by nitpicking the responses given by others? hey, i responsed cause you mentioned me :) not to nit-pick you :) *g* at least the

Okay to use DmWrite() on ordinary memory?

2003-08-14 Thread Todd Niec
Is it possible to use DmWrite() on ordinary memory? I have cases where buffers might be stored in ordinary memory (stack, heap, or static globals) or might be in a record in a file and I would like 1 method to write to both of them. thanks, todd niec -- For information on using the Palm

Re: Okay to use DmWrite() on ordinary memory?

2003-08-12 Thread Keith Rollin
At 1:16 PM +1000 8/12/03, Alan Ingleby wrote: Alan Ingleby wrote: ...nitpicking the responses That's all very well Alan, but as all good dictionaries state... nit-picking should actually be hyphenated. Furthermore... [SNIP] Actually, http://www.m-w.com has nitpick, but not

Re: Okay to use DmWrite() on ordinary memory?

2003-08-12 Thread James
Aaron Ardiri wrote: this is what i would recommend as well :) #define myMemMove(a,b,c,d) \ MemPtrDataStorage((a)) ? DmWrite((a),(b),(c),(d)) \ : MemMove((a)+(b),(c),(d)) kill the { } and ; *g* not needed, and, always () around your arguments, for safety :)

Re: Okay to use DmWrite() on ordinary memory?

2003-08-12 Thread Paul Johnson
Care to name em please ? Regards, Paul Johnson Applewood House www.applewoodhouse.com - Original Message - From: Aaron Ardiri [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 8:12 AM Subject: Re: Okay to use DmWrite() on ordinary memory