Re: copymemory basic question
- From: "Sam Hobbs" <samuel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 26 Aug 2005 15:26:48 -0700
"Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23m0eu8kqFHA.3540@xxxxxxxxxxxxxxxxxxxxxxx
>I hope not Sam. I'm implicitly saying that I've used CopyMemory to move
> strings (and string pointers), and it does work.
The author also uses CopyMemory.
> Plus there is no character set translation involved.
Are you saying that the author of the book is incorrect? Are you saying that
strings are never converted to ANSI when an ANSI function in a DLL is
called?
> If it doesn't work for the OP then his declaration
> of CopyMemory must be wrong.
Are you saying that the declaration of CopyMemory used by the author is
wrong? Note that the author provides a sample use of CopyMemory that causes
the string to be converted to ANSI. You seem to be saying that the reason
the string is converted to ANSI is that the declaration of CopyMemory that
is used is wrong.
.
- Follow-Ups:
- Re: copymemory basic question
- From: Tony Proctor
- Re: copymemory basic question
- From: Stoil Marinov
- Re: copymemory basic question
- References:
- copymemory basic question
- From: mscir
- Re: copymemory basic question
- From: Sam Hobbs
- Re: copymemory basic question
- From: Tony Proctor
- Re: copymemory basic question
- From: Sam Hobbs
- Re: copymemory basic question
- From: Tony Proctor
- copymemory basic question
- Prev by Date: Re: CreateDirectory fails but GetLastError says succeeded
- Next by Date: Re: gettickcount returns a negative number???
- Previous by thread: Re: copymemory basic question
- Next by thread: Re: copymemory basic question
- Index(es):
Relevant Pages
|