locked
Call function from dll in metro app RRS feed

  • Question

  • Hi All,

    I want to call function from dll in metro app using C++.

    In dll function, I want to do file operations. So I create Metro app DLL.

    In this dll function, I am creating file and write some data in it.

    When I call this function from metro app, file is created but metro app crashed.

    I am using CreateFileAsync(), WriteTextAsync() functions for file operations.

    What will be the problem? What extra I need to do to achieve this?

    If anyone have idea about it, then please help me, waiting for reply.

    Thanks,

    Pariksheet.

    Thursday, July 5, 2012 12:32 PM

Answers

  • Hi,

    Thanks for your replies.

    There was problem with debug configuration.

    It's working with release configuration.

    Thanks,

    Pariksheet.

    • Marked as answer by Jesse Jiang Tuesday, July 17, 2012 8:22 AM
    Monday, July 9, 2012 4:25 AM

All replies