Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[DllImport("Library.dll"] C# and IIS7



  • I have generated a dll from QT5.4 and QT Creator, when I am testing on development time in a WCF app, work fine, but when i make a deploy to IIS 7, the library is not loading.

    Please any sugestion

    from C#, I am trying load with :

    @ [DllImport("Library.dll", PreserveSig = true, CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
    [return: MarshalAs(UnmanagedType.LPStr)]
    private static extern string GetStringExtern();@


Log in to reply