[Gtk-sharp-list] Getting Application.Init (args) to work
Wed, 03 Dec 2003 10:53:36 -0500
On Wed, 2003-12-03 at 07:44, Jonathan Pryor wrote:
> I'm likely missing something, but why do you need to special-case the
> 32-bit and 64-bit handling? Why don't you just use an IntPtr instead
> of int (for 32-bit platforms) and long (for 64-bit platforms)?
Marshal.Copy () doesn't work with IntPtr arrays, so you'd end up needing
to do the same kind of code to copy the pointers into the buffer.
Peter Williams email@example.com
"[Ninjas] are cool; and by cool, I mean totally sweet."
-- REAL Ultimate Power