Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
AnswerRe: Writing output in a windows application Pin
Gareth H6-May-08 11:30
Gareth H6-May-08 11:30 
AnswerRe: Writing output in a windows application Pin
PIEBALDconsult6-May-08 13:46
mvePIEBALDconsult6-May-08 13:46 
QuestionGet mouse coordinates relative to control in separate application... Pin
Edmundisme6-May-08 10:40
Edmundisme6-May-08 10:40 
AnswerRe: Get mouse coordinates relative to control in separate application... Pin
Christian Graus6-May-08 11:37
protectorChristian Graus6-May-08 11:37 
GeneralRe: Get mouse coordinates relative to control in separate application... Pin
Edmundisme7-May-08 8:21
Edmundisme7-May-08 8:21 
QuestionWindows Service - Service Thread Not Starting Pin
ooten146-May-08 10:03
ooten146-May-08 10:03 
AnswerRe: Windows Service - Service Thread Not Starting Pin
PIEBALDconsult6-May-08 13:45
mvePIEBALDconsult6-May-08 13:45 
GeneralRe: Windows Service - Service Thread Not Starting Pin
ooten147-May-08 9:16
ooten147-May-08 9:16 
I found out what the issue was, but still not exactly sure why.

This line of code is calling a method of a class that belongs to another DLL: DCN_Audit.DCNAuditProcessor.DoCheck();

The name of this DLL was DCN_Audit.dll. The name of the service was DCN_Audit.exe. I was able to trap this error by calling the method directly: Error: Could not load type DCN_Audit.DCNAuditProcessor from assembly CF_DCN_Audit, Version=1.0.3048.28191, Culture=neutral, PublicKeyToken=null.

This would start the service, and it showed as Running in the Services Manager. The thread would stop because the error loading the dll, so no processing was taking place. Also, no errors were visable in the Event Viewer.

So, it appears that the dll cannot have the same name as the exe. I changed the dll project name and re-compiled producing a dll name of DCN_Audit_Processor.dll, and everything processed successfully.

I just wanted to post in case others had similar issues.


-Thanks
GeneralRe: Windows Service - Service Thread Not Starting Pin
PIEBALDconsult7-May-08 13:07
mvePIEBALDconsult7-May-08 13:07 
QuestionA problem unloading Application Domains Pin
Togakangaroo6-May-08 8:30
Togakangaroo6-May-08 8:30 
AnswerRe: A problem unloading Application Domains Pin
Togakangaroo7-May-08 8:11
Togakangaroo7-May-08 8:11 
QuestionHow to make chm file help in windows application? Pin
Eng Mohammed Osman6-May-08 7:58
Eng Mohammed Osman6-May-08 7:58 
AnswerRe: How to make chm file help in windows application? Pin
Thomas Stockwell6-May-08 8:10
professionalThomas Stockwell6-May-08 8:10 
QuestionStill Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
Anindya Chatterjee6-May-08 7:03
Anindya Chatterjee6-May-08 7:03 
AnswerRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
led mike6-May-08 8:19
led mike6-May-08 8:19 
GeneralRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
Anindya Chatterjee6-May-08 10:36
Anindya Chatterjee6-May-08 10:36 
GeneralRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
led mike6-May-08 11:40
led mike6-May-08 11:40 
GeneralRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
Anindya Chatterjee6-May-08 17:51
Anindya Chatterjee6-May-08 17:51 
AnswerRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
Spacix One7-May-08 2:34
Spacix One7-May-08 2:34 
GeneralRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
Anindya Chatterjee7-May-08 2:38
Anindya Chatterjee7-May-08 2:38 
GeneralRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
Spacix One7-May-08 2:47
Spacix One7-May-08 2:47 
RantRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
Spacix One6-May-08 10:16
Spacix One6-May-08 10:16 
JokeRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
That Asian Guy6-May-08 11:02
That Asian Guy6-May-08 11:02 
GeneralRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
Anthony Mushrow6-May-08 11:22
professionalAnthony Mushrow6-May-08 11:22 
RantRe: Still Stuck: How to intercept rapidshare download in WebBrowser control using Http POST Pin
Spacix One6-May-08 11:30
Spacix One6-May-08 11:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.