Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » MFC Libraries   (RSS)

How to check if my code is executing inside a Managed App or Native App?

If you check the CRT source code (inside VC\crt\src\crt0.c ) you can find an interesting function check_managed_app() that returns 1 if managed app, 0 if not based on the COM Runtime Descriptor in the Image Data Directory of the PE or PE+ header. You

Browse folder dialog in MLibrary::initialize

If you are encountering an empty message box followed by a browse folder dialog in for MLibrary::initialize Open Maya SDK 2008, then the chances are that you can resolve the problem by defining the MAYA_LOCATION environment variable. Define the MAYA_LOCATION
 
Page view tracker