Click here to Skip to main content
15,898,937 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
SimpleData21-Jul-09 3:19
SimpleData21-Jul-09 3:19 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
PIEBALDconsult21-Jul-09 4:13
mvePIEBALDconsult21-Jul-09 4:13 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
SimpleData21-Jul-09 4:14
SimpleData21-Jul-09 4:14 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
Abhishek Sur21-Jul-09 21:37
professionalAbhishek Sur21-Jul-09 21:37 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
SimpleData21-Jul-09 23:28
SimpleData21-Jul-09 23:28 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
Abhishek Sur22-Jul-09 21:47
professionalAbhishek Sur22-Jul-09 21:47 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
PIEBALDconsult21-Jul-09 4:11
mvePIEBALDconsult21-Jul-09 4:11 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
SimpleData21-Jul-09 4:13
SimpleData21-Jul-09 4:13 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
Luc Pattyn21-Jul-09 4:17
sitebuilderLuc Pattyn21-Jul-09 4:17 
GeneralRe: System.Timers.Timer doesn't stop with Stop() Pin
SimpleData21-Jul-09 4:19
SimpleData21-Jul-09 4:19 
QuestionDebugging unmanaged DLL called from managed C# Pin
Chesnokov Yuriy21-Jul-09 2:09
professionalChesnokov Yuriy21-Jul-09 2:09 
AnswerRe: Debugging unmanaged DLL called from managed C# Pin
stancrm21-Jul-09 3:23
stancrm21-Jul-09 3:23 
AnswerRe: Debugging unmanaged DLL called from managed C# Pin
Chesnokov Yuriy21-Jul-09 3:42
professionalChesnokov Yuriy21-Jul-09 3:42 
AnswerRe: Debugging unmanaged DLL called from managed C# Pin
Chesnokov Yuriy21-Jul-09 4:04
professionalChesnokov Yuriy21-Jul-09 4:04 
QuestionRe: Debugging unmanaged DLL called from managed C# Pin
Chesnokov Yuriy22-Jul-09 20:37
professionalChesnokov Yuriy22-Jul-09 20:37 
QuestionAcess violation exception before Main?!? Pin
Olivier Gautherot21-Jul-09 2:08
Olivier Gautherot21-Jul-09 2:08 
AnswerRe: Acess violation exception before Main?!? Pin
Olivier Gautherot21-Jul-09 2:58
Olivier Gautherot21-Jul-09 2:58 
GeneralRe: Acess violation exception before Main?!? Pin
stancrm21-Jul-09 3:01
stancrm21-Jul-09 3:01 
GeneralRe: Acess violation exception before Main?!? Pin
Olivier Gautherot21-Jul-09 3:04
Olivier Gautherot21-Jul-09 3:04 
AnswerRe: Acess violation exception before Main?!? Pin
stancrm21-Jul-09 2:59
stancrm21-Jul-09 2:59 
GeneralRe: Acess violation exception before Main?!? Pin
Olivier Gautherot21-Jul-09 3:03
Olivier Gautherot21-Jul-09 3:03 
GeneralRe: Acess violation exception before Main?!? Pin
stancrm21-Jul-09 3:06
stancrm21-Jul-09 3:06 
GeneralRe: Acess violation exception before Main?!? Pin
Olivier Gautherot21-Jul-09 3:13
Olivier Gautherot21-Jul-09 3:13 
AnswerRe: Acess violation exception before Main?!? Pin
Luc Pattyn21-Jul-09 3:10
sitebuilderLuc Pattyn21-Jul-09 3:10 
Hi,

your static Main() method is inside some class; the static constructor of that class, if any, will run first.

As a console app, chances are all/most/large parts of your code are in that class. I suggest you move them out, keep the class containing static Main() as simple as possible, put everything else in another class, either static or instantiated once. That will ease your debugging.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Acess violation exception before Main?!? Pin
Olivier Gautherot21-Jul-09 3:16
Olivier Gautherot21-Jul-09 3:16 

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.