Web Service Hosted by Windows Service Fails to 'Access' System Interop DLL RRS feed

  • Question

  • Hi

    I have some hardware controlling software running on Windows 7 Embedded.  Running a Windows Forms test harness will successfully control the hardware via the 3rd party dll which is invoked via interop.

    Trying to run the same driver using a web service hosted in a windows service fails either on the first call or, for instance, if I try a LoadLibrary() even with a fully qualified path (note File.Exists says true...).

    Tried quite a few tricks but to no avail....


    Wednesday, March 2, 2011 11:53 AM


  • For defelopment and source code related issues, please discuss in our MSDN forum.

    Windows Embedded Standard

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    • Marked as answer by Arthur Xie Thursday, March 24, 2011 6:48 AM
    Friday, March 4, 2011 8:01 AM