Calling AMP from within C# Metro app.


  • Hello all.


    I saw Daniel Moth's talk at BUILD and was very impressed. I was delighted to learn that I can use AMP from a Metro app. However, it's been many years since I've done any C++ coding and I think the path of least resistance for me would be to code my Metro app in C#/XAML and make calls to AMP via P/Invoke. Traditionally I believe this is done via a C++ DLL that contains the functionality and then a P/Invoke call into that DLL from your C# code. Is this the same approach for Metro apps? I will be passing only 1D arrays of primitive types from C# (Bytes, Floats, Bools).

    Lastly, could someone point me to a little tutorial that illustrates this P/Invoke approach? Thank you in advance.

    18 กันยายน 2554 14:57