Click here to Skip to main content
15,568,627 members
Home / Discussions / C#
   

C#

 
AnswerRe: multiple search patterns with Directory.GetFiles? Pin
Paul Riley25-Sep-02 11:29
Paul Riley25-Sep-02 11:29 
GeneralHere is a tough one - DataGrid throwing exception while repainting Pin
Luis Alonso Ramos25-Sep-02 8:25
Luis Alonso Ramos25-Sep-02 8:25 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
leppie25-Sep-02 8:45
leppie25-Sep-02 8:45 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
Luis Alonso Ramos25-Sep-02 10:05
Luis Alonso Ramos25-Sep-02 10:05 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
leppie25-Sep-02 10:20
leppie25-Sep-02 10:20 
GeneralRe: Here is a tough one - DataGrid throwing exception while repainting Pin
Luis Alonso Ramos26-Sep-02 6:31
Luis Alonso Ramos26-Sep-02 6:31 
GeneralOpenFileDialog slowing me down?! Pin
Zombies with Coffee, LLC25-Sep-02 7:41
professionalZombies with Coffee, LLC25-Sep-02 7:41 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie25-Sep-02 8:03
leppie25-Sep-02 8:03 
psdavis wrote:
I am calling a DLL function from my C# application, but when the application is executed, it takes approximately 5 seconds to complete it.

Its normal for any .NET language to have a delay at application start.

psdavis wrote:
But if I throw a breakpoint before the call, and step thru it, the function runs in only 1 second?!?

Weird? Can you please supply me some more details, what function are you calling and the implementation?

psdavis wrote:
I am letting it run 10 times with and without break points, and it stays consistent.

More details, you dont state how you loop it? I hope you are not just restarting the application everytime, if so refer to above Smile | :)

psdavis wrote:
This is sooo backwards from what I was expecting. Any ideas on why breaking to debug mode speeds up the process!?

My only debug problems is , that when stopping at a breakpoint and trying to step thru the lines (in rare cases i might add), that the application just freezes. Dead | X|

Give them a chance! Do it for the kittens, dear God, the kittens!
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 9:14
professionalZombies with Coffee, LLC25-Sep-02 9:14 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 9:34
professionalZombies with Coffee, LLC25-Sep-02 9:34 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 10:09
professionalZombies with Coffee, LLC25-Sep-02 10:09 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie25-Sep-02 10:31
leppie25-Sep-02 10:31 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 10:40
professionalZombies with Coffee, LLC25-Sep-02 10:40 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 10:58
professionalZombies with Coffee, LLC25-Sep-02 10:58 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie25-Sep-02 11:16
leppie25-Sep-02 11:16 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 11:24
professionalZombies with Coffee, LLC25-Sep-02 11:24 
GeneralRe: Slow function calls when no breakpoint set?! Pin
Zombies with Coffee, LLC25-Sep-02 12:09
professionalZombies with Coffee, LLC25-Sep-02 12:09 
GeneralRe: Slow function calls when no breakpoint set?! Pin
leppie26-Sep-02 8:22
leppie26-Sep-02 8:22 
QuestionHow to accessing profile settings? Pin
CherezZaboro25-Sep-02 7:26
CherezZaboro25-Sep-02 7:26 
AnswerRe: How to accessing profile settings? Pin
Mazdak25-Sep-02 7:53
Mazdak25-Sep-02 7:53 
GeneralRe: How to accessing profile settings? Pin
CherezZaboro25-Sep-02 8:02
CherezZaboro25-Sep-02 8:02 
GeneralRe: How to accessing profile settings? Pin
Mazdak26-Sep-02 0:52
Mazdak26-Sep-02 0:52 
GeneralKeeping DataTable synchronized with DataGrid after row is deleted Pin
Doug Brower25-Sep-02 5:06
Doug Brower25-Sep-02 5:06 
GeneralRe: Keeping DataTable synchronized with DataGrid after row is deleted Pin
leppie25-Sep-02 6:24
leppie25-Sep-02 6:24 
GeneralRe: Keeping DataTable synchronized with DataGrid after row is deleted Pin
Doug Brower25-Sep-02 8:33
Doug Brower25-Sep-02 8:33 

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.