![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am new to .Net. I have a Windows service in C#. It is going to use another .Net component (DLL) made by a 3rd party company. If I start my program as an app with that DLL in the same directory, my program can use it. But if I start it as a service, it does not work. How does a .Net windows service finds other DLL? From "path"? |
#3
| |||
| |||
|
|
=?Utf-8?B?QkJN?= <BBM (AT) discussions (DOT) microsoft.com> wrote in news:BA61E5C2-2B44-42C5-A58F-5D6127A3C4CE (AT) microsoft (DOT) com: I am new to .Net. I have a Windows service in C#. It is going to use another .Net component (DLL) made by a 3rd party company. If I start my program as an app with that DLL in the same directory, my program can use it. But if I start it as a service, it does not work. How does a .Net windows service finds other DLL? From "path"? I suspect your problem isn't the app finding the DLL, but rather that applications can't be started as services (at least not without a bit of tricky code). What is the exact error message that you are receiving? -mdb |
#4
| |||
| |||
|
|
I am new to .Net. I have a Windows service in C#. It is going to use another .Net component (DLL) made by a 3rd party company. If I start my program as an app with that DLL in the same directory, my program can use it. But if I start it as a service, it does not work. How does a .Net windows service finds other DLL? From "path"? |
#5
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |