|
-
Sep 19th, 2020, 03:35 AM
#21
Re: [RESOLVED] Ideas Wanted: ITypeInfo-like Solution
> Using 0& instead of 0 crashes in x64 applications.
Strange. But using 0 in x64 is as wrong as using 0 on x86 i.e. it does not crash under x64 purely by chance. You have to use NULL (as in nullptr) in both cases which as a numeric literal is 0& in x86 and 0^ in x64 (the 64-bit LongLong suffix is ^).
This will probably need a separate Const NULL_PTR As Long/LongPtr = 0 with conditional compilation on Win64.
cheers,
</wqw>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|