locked
Librairies declaration XAML Project

    Question

  • hello

    In a first time i used a c++ project and i included some librairies in Properties configuration/debog/work repertory.

    Now i'm using an c++ project with an XAML graphic user interface, how can i include my librairies?

    Thanks a lot,

    Friday, May 17, 2013 2:30 PM

Answers

All replies

  • Hi,

    You can add DLL as normal C++ Project,
    Right Click your project->Properties->Common Properties->Add New Reference
    but you need to change some codes in native C++ DLLs.

    Please take a look of this document
    http://msdn.microsoft.com/en-us/library/windows/apps/hh699881.aspx

    Best regards,
    Jesse


    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Jesse Jiang Monday, May 27, 2013 4:31 AM
    Monday, May 20, 2013 2:56 AM
  • Thank you Jesse for this answer, i take a look at this document and i give you some news!

    Nicolas L M

    Tuesday, May 21, 2013 6:15 AM
  • When i include my librairies i have this error message:-1073741502 (0xc0000142) 'DLL Initialization Failed'.

    Do you know what i can do to resolve this problem ?

    thanks,

    Nico

    Wednesday, May 22, 2013 6:24 AM

  • How about create a DLL using the DLL(Windows Store Apps) template in Visual C++-> Windows Store?

    Best regards,
    Jesse


    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, May 23, 2013 6:11 AM
  • hello,

    I don't try it, I use this DLL:

    -avcodec-55.dll

    -avdevice-55.dll

    -avfilter-3.dll

    -avformat-55.dll

    -avutil-52.dll

    -postproc-52.dll

    -SDL.dll

    -swresample-0.dll

    -swscale-2.dll

    I generated these DLL with PJSIP how is a SIP stack.

    When i use these in a SIP user only in c++ who run in a command window it ok but now i would like to use it in a windows store app in c++ and XAML and i haven't the textbox named "work repertory" in the PATH "configuration properties/deboge"

    do you know how can i do to include correclty and use my Dlls?

    thanks

    Best regards

    Nico

    Thursday, May 23, 2013 6:51 AM
  • Hi,

    You should migrate Ffmpeg library into Windows Runtime. Please take a look of this thread, a customer upload a migrated project on GitHub
    http://social.msdn.microsoft.com/Forums/en-US/winappswithnativecode/thread/9defbd92-cf5b-4041-a3c1-fac8a9918c06/

    Best regards,
    Jesse


    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Jesse Jiang Monday, May 27, 2013 4:31 AM
    Friday, May 24, 2013 6:21 AM
  • Thanks Jesse for the information!

    I'll take a look of this thread and i'll tell you what i can do with it on my project! 

    Best regards

    Nico

    Friday, May 24, 2013 6:26 AM
  • The problem came from the ffmpeg lib!

    Thanks a lot for the thread, I've delete the ffmpeg lib from my VOIP project and know I can create a sipua and configure it to make call in my windows store App!

    Best regards

    Nico

    Friday, May 24, 2013 9:30 AM