Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
Heath Stewart7-Dec-03 10:41
protectorHeath Stewart7-Dec-03 10:41 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 11:08
bri189a7-Dec-03 11:08 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
Heath Stewart7-Dec-03 11:12
protectorHeath Stewart7-Dec-03 11:12 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 11:46
bri189a7-Dec-03 11:46 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 13:10
bri189a7-Dec-03 13:10 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 18:30
bri189a7-Dec-03 18:30 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
Heath Stewart8-Dec-03 2:13
protectorHeath Stewart8-Dec-03 2:13 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a8-Dec-03 10:58
bri189a8-Dec-03 10:58 
Heath,

Thanks again for all your help, I solved it. I am flawless now... it wasn't what we were expecting... it was something really stupid - something we looked over. I was over-allocating memory in my function - apparently when you send to much memory to WNetEnumResources it fills the rest of the memory with items, then when calling it again your not getting the new memory, but the remainder of the old, and the new memory for the new objects is pushed up the stack - I know that's a terrible explination but it appears that is what was happening. Now that I'm allocating it correctly I have no problems whatsoever in any context... console or form and I have reloaded my ListView control every second for over an hour with simple .Add(s.Name) and not so much as a flicker.

I wanted to thank you once again for you help along the way. I learned a lot on this one... if you ever want a copy, please email me.

Brian

If you ever meet somebody who says they know it all, they are obviously ignorant and probably write terrible code.
GeneralDeployment problem with the MS Web Browser Control Pin
Furty6-Dec-03 14:42
Furty6-Dec-03 14:42 
GeneralRe: Deployment problem with the MS Web Browser Control Pin
Heath Stewart7-Dec-03 4:18
protectorHeath Stewart7-Dec-03 4:18 
GeneralRe: Deployment problem with the MS Web Browser Control Pin
Furty8-Dec-03 19:49
Furty8-Dec-03 19:49 
GeneralRe: Deployment problem with the MS Web Browser Control Pin
Heath Stewart9-Dec-03 2:37
protectorHeath Stewart9-Dec-03 2:37 
GeneralRe: Deployment problem with the MS Web Browser Control Pin
Furty9-Dec-03 11:43
Furty9-Dec-03 11:43 
GeneralException in File explore Pin
naxos6-Dec-03 13:24
naxos6-Dec-03 13:24 
GeneralRe: Exception in File explore Pin
leppie6-Dec-03 22:15
leppie6-Dec-03 22:15 
GeneralApplication in Batch Mode with user interface Pin
Patrick Luijpers6-Dec-03 12:26
Patrick Luijpers6-Dec-03 12:26 
GeneralRe: Application in Batch Mode with user interface Pin
leppie6-Dec-03 22:16
leppie6-Dec-03 22:16 
GeneralRe: Application in Batch Mode with user interface Pin
Patrick Luijpers7-Dec-03 5:17
Patrick Luijpers7-Dec-03 5:17 
GeneralRe: Application in Batch Mode with user interface Pin
leppie7-Dec-03 5:25
leppie7-Dec-03 5:25 
QuestionSome nodes in TreeView with checkboxes and some others without. Is it possible? Pin
TomaHawKPT6-Dec-03 12:18
TomaHawKPT6-Dec-03 12:18 
AnswerRe: Some nodes in TreeView with checkboxes and some others without. Is it possible? Pin
Heath Stewart7-Dec-03 4:13
protectorHeath Stewart7-Dec-03 4:13 
QuestionWhat causes the close button to stop working? Pin
vektuz5-Dec-03 23:04
vektuz5-Dec-03 23:04 
AnswerRe: What causes the close button to stop working? Pin
vektuz5-Dec-03 23:25
vektuz5-Dec-03 23:25 
GeneralRe: What causes the close button to stop working? Pin
Heath Stewart6-Dec-03 5:12
protectorHeath Stewart6-Dec-03 5:12 
GeneralRe: What causes the close button to stop working? Pin
Nick Parker6-Dec-03 8:52
protectorNick Parker6-Dec-03 8:52 

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.