Re: Delphi.NET
- From: kennedyri@xxxxxxxxx
- Date: Thu, 28 Jun 2007 16:39:05 -0000
On Jun 27, 3:41 am, "Daniel Hobson" <djhob1...@xxxxxxxxxxxx> wrote:
Could I get you to please give me an example that demonstrates this?
I can try to whip something up, for not for a couple of days. In the
meantime, try just writing a "for" loop.
If you're transferring this code from a Win32 program, then consider
whether you really want arrays of Char, or whether you meant to have
arrays of AnsiChar. The latter will make your "for" loops easier to
write since you won't be trying to convert byte pairs into characters.
I tried today using Marshal.Copy and setting up an IntPtr but for some
reason the source buffer
was getting wiped out which I could not understand why?
The source buffer? Are you sure you had the parameters in the right
order? Show your code.
--
Rob
.
- Follow-Ups:
- Re: Delphi.NET
- From: Daniel Hobson
- Re: Delphi.NET
- References:
- Delphi.NET
- From: Daniel Hobson
- Re: Delphi.NET
- From: Rob Kennedy
- Re: Delphi.NET
- From: Daniel Hobson
- Delphi.NET
- Prev by Date: Re: TWebbrowser plugin support
- Next by Date: Re: minimize button on a delphi created mainwindow not working on an XP system
- Previous by thread: Re: Delphi.NET
- Next by thread: Re: Delphi.NET
- Index(es):