Windows 7 Forums


Windows 7: Windows Service Fails to 'Access' System Interop

02 Mar 2011   #1

Window 7 Embedded
 
 
Windows Service Fails to 'Access' System Interop

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

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....

AndyF.


Last edited by zx12a1; 02 Mar 2011 at 06:50 AM.. Reason: spell
My System SpecsSystem Spec

Reply

 Windows Service Fails to 'Access' System Interop problems?



Thread Tools



Similar help and support threads for: Windows Service Fails to 'Access' System Interop
Thread Forum
Winlogon Service fails - also User Profiles Service fails. fix? General Discussion
Windows 7 Service Pack 1 (SP1) consistently fails to install -80246007 Windows Updates & Activation
Windows 7 Service Pack 1 fails to install error code 8024200D Windows Updates & Activation
Windows 7 Sensor and Location .NET Interop Sample Libra News
Windows 7 .NET Interop Sample Libraries News


All times are GMT -5. The time now is 01:41 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd