Click here to Skip to main content
15,901,853 members
Home / Discussions / C#
   

C#

 
GeneralRe: Visual Studio AddIn problem - adding a sub-menu to the Edit menu Pin
Heath Stewart7-Dec-03 10:27
protectorHeath Stewart7-Dec-03 10:27 
GeneralRe: Visual Studio AddIn problem - adding a sub-menu to the Edit menu Pin
Nick Parker7-Dec-03 10:51
protectorNick Parker7-Dec-03 10:51 
GeneralRe: Visual Studio AddIn problem - adding a sub-menu to the Edit menu Pin
Heath Stewart7-Dec-03 10:55
protectorHeath Stewart7-Dec-03 10:55 
GeneralAbout Journal--hook Pin
lajiyo6-Dec-03 16:21
lajiyo6-Dec-03 16:21 
GeneralRe: About Journal--hook Pin
leppie6-Dec-03 22:13
leppie6-Dec-03 22:13 
GeneralInfinite Recursion and other odd errors with Network API wrapper Pin
bri189a6-Dec-03 15:14
bri189a6-Dec-03 15:14 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
leppie6-Dec-03 22:11
leppie6-Dec-03 22:11 
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
Heath Stewart7-Dec-03 4:24
protectorHeath Stewart7-Dec-03 4:24 
I'm with leppie on this one - use paragraphs next time. It's very difficult to follow your problem.

Since I can't really distinguish what you're problem is, let me give you a lesson or two on the .NET Framework. The GC only collects objects to which no references exist. If something is referencing an object in memory, it will NOT be GC'd. As far as your wrapper class for the Network API, all the methods you P/Invoked are static, which means they are methods of the Type - not an instance - so it can't be GC'd. If you get back a handle from one of those methods and aren't storing it (hence, not making a reference to it in your instance), then it will be GC'd.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Infinite Recursion and other odd errors with Network API wrapper Pin
bri189a7-Dec-03 10:33
bri189a7-Dec-03 10:33 
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 
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 

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.