On 04/09/2008 in message
<e31c3455-3d3b-443a-b61e-6583e19d5e89@xxxxxx> Pavel
Minaev wrote:
Quote:
>Do you perhaps mean that you accidentally use int/uint where you
>should have used IntPtr/UIntPtr? This sort of thing would indeed
>result in your code working against 32-bit DLLs, but failing against
>64-bit.
That as well! The other one is using ANSI strings rather than wide
strings, works fine under x86 but falls apart under x64.
I can't really analyse it in detail because if it fails I go right back to
basics and update the prototype completely. It's the greatest of pities
that MSFT didn't include namespaces for all their dll's (or at least put
prototypes in the help file) but then VS is not really s desktop
development environment if you want to do any serious work. I like C# and
I like the VS IDE otherwise I suspect Delphi is much more suited to what I
do. If somebody produced an IDE as good as VS that worked in pure 'C' I'd
be off like a shot!
--
Jeff Gaines Damerham Hampshire UK
Tell me what you need, and I'll tell you how to get along without it.