I have created a C# windows service from what was previously a C# Windows app. For some reason, I'm finding that function calls to a dll work fine when called from the app, but fail when called from the service.
The error it gives from the service is System.NullReferenceException: Object reference not set to an instance of an object. I don't understand why it would be different just because it's now being run as a service.
It would help if I could get it to step into the dll, but that only seems to happen when running as the windows app.
P.S. Very new to C#!