.net - What are best practices for using IntPtr vs. void* in C++/CLI? -


i'm using passing native pointers between assemblies. it's unfortunate strong typing goes out window in context. or @ least, haven't figured out how cross-assembly access c++/cli method returns pointer native udt. assuming i'm right either intptr or void* necessary here, should use?

always prefer cls-compliant route, in case intptr. not .net languages know void* is, know intptr is.

regarding cross-assembly use of native udts, see #pragma make_public.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -