none
Kinect Studio V2 API RRS feed

  • Question

  • Hello. I'm trying to use KStudio API in C# WPF.

    Getting the class information from the following sites I coded recording kinect data.

    https://msdn.microsoft.com/en-us/library/microsoft.kinect.tools.kstudioclient.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1

    https://social.msdn.microsoft.com/Forums/en-US/59c97d1e-79f6-4dd0-8fae-73080a2c7b18/documentation-for-microsoftkinecttools-api?forum=kinectv2sdk

    However, an exception occurs while running the code. I copied the dll file in the site above into the project folder but that did not work.

    Does anyone know any site where I can get the api documentation or could you help me!

    Btw, I am getting the exception with this message.

    An unhandled exception of type 'System.BadImageFormatException' occurred in kstudiotest.exe

    • Edited by Paul Seo Monday, March 16, 2015 6:05 AM
    Monday, March 16, 2015 5:47 AM

All replies

  • BadImageFormatException has to deal with the binary type of the .dll you are trying to use. Ensure your project is targeting the correct binary format x86 for 32bit or x64 in the project target settings.

    Carmine Sirignano - MSFT

    Monday, March 16, 2015 6:01 PM