Message 1 of 5
Not applicable
08-06-2019
09:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I generated a DirectX11XAML template project in Visual Studio 2019 Community Edition. I modified pch.h of the project to include fbxsdk.h and common.h from the ImportScene sample of fbx samples. I also added to my CrateFBX project the necessary import and library dependancies that I added manuall into the new CrateFBX to get it to compile and link an exe. I modifed the constructor of CrateFBXMain and posted an image of the code:
FbxManager* lSdkManager = NULL;
FbxScene* lScene = NULL;
bool lResult;
FbxScene* lScene = NULL;
bool lResult;
// Prepare the FBX SDK.
InitializeSdkObjects(lSdkManager, lScene);
// Load the scene.
InitializeSdkObjects(lSdkManager, lScene);
// Load the scene.
// The example can take a FBX file as an argument.
FbxString lFilePath("unitsphere.fbx");
FbxString lFilePath("unitsphere.fbx");
FBXSDK_printf("\n\nFile: %s\n\n", lFilePath.Buffer());
lResult = LoadScene(lSdkManager, lScene, lFilePath.Buffer());
lResult = LoadScene(lSdkManager, lScene, lFilePath.Buffer());
So when I run the UWP CrateFBX app there is an initialization exception coming out at runtime inside the LoadScene function. Does anyone know why I would be experiencing the exception in a DirectX11XAML template app as generated by Visual Studio Community Edition 2019?
Thank You!
Solved! Go to Solution.