Click here to Skip to main content
15,891,951 members
Home / Discussions / C#
   

C#

 
QuestionTWAIN Implementation/Capabilities in C# .net Pin
gruberdominik4-Sep-07 3:59
gruberdominik4-Sep-07 3:59 
Questionobject to string[] Pin
Glen Harvy4-Sep-07 3:52
Glen Harvy4-Sep-07 3:52 
AnswerRe: object to string[] Pin
originSH4-Sep-07 3:57
originSH4-Sep-07 3:57 
GeneralRe: object to string[] Pin
Glen Harvy4-Sep-07 4:24
Glen Harvy4-Sep-07 4:24 
QuestionObject disposing and using keyword Pin
N a v a n e e t h4-Sep-07 3:42
N a v a n e e t h4-Sep-07 3:42 
AnswerRe: Object disposing and using keyword Pin
Christian Graus4-Sep-07 3:47
protectorChristian Graus4-Sep-07 3:47 
GeneralRe: Object disposing and using keyword Pin
N a v a n e e t h4-Sep-07 3:59
N a v a n e e t h4-Sep-07 3:59 
GeneralRe: Object disposing and using keyword Pin
Christian Graus4-Sep-07 4:07
protectorChristian Graus4-Sep-07 4:07 
N a v a n e e t h wrote:
Then how long unmanaged object would be in memory ?


If you create an object which contains an unmanaged object, it will remain active until garbage collection picks the object up. You should not risk this, regardless of the fact that anythign in a using block probably lives for such a short time that it should, in theory, be collected pretty quickly.



Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

GeneralRe: Object disposing and using keyword Pin
Urs Enzler4-Sep-07 4:59
Urs Enzler4-Sep-07 4:59 
GeneralRe: Object disposing and using keyword Pin
Christian Graus4-Sep-07 5:13
protectorChristian Graus4-Sep-07 5:13 
AnswerRe: Object disposing and using keyword Pin
Steve Hansen4-Sep-07 4:25
Steve Hansen4-Sep-07 4:25 
GeneralRe: Object disposing and using keyword Pin
Christian Graus4-Sep-07 4:44
protectorChristian Graus4-Sep-07 4:44 
AnswerRe: Object disposing and using keyword Pin
Scott Dorman4-Sep-07 7:37
professionalScott Dorman4-Sep-07 7:37 
QuestionNew to events in c#, how to wait for an event? Pin
ioctl514-Sep-07 3:29
ioctl514-Sep-07 3:29 
AnswerRe: New to events in c#, how to wait for an event? Pin
Christian Graus4-Sep-07 3:33
protectorChristian Graus4-Sep-07 3:33 
GeneralRe: New to events in c#, how to wait for an event? Pin
ioctl514-Sep-07 3:36
ioctl514-Sep-07 3:36 
GeneralRe: New to events in c#, how to wait for an event? Pin
Christian Graus4-Sep-07 3:49
protectorChristian Graus4-Sep-07 3:49 
AnswerRe: New to events in c#, how to wait for an event? Pin
mav.northwind4-Sep-07 19:27
mav.northwind4-Sep-07 19:27 
QuestionMessage box from the Windows Service Pin
M. J. Jaya Chitra4-Sep-07 3:00
M. J. Jaya Chitra4-Sep-07 3:00 
AnswerRe: Message box from the Windows Service Pin
Colin Angus Mackay4-Sep-07 3:20
Colin Angus Mackay4-Sep-07 3:20 
GeneralRe: Message box from the Windows Service Pin
M. J. Jaya Chitra4-Sep-07 3:33
M. J. Jaya Chitra4-Sep-07 3:33 
GeneralRe: Message box from the Windows Service Pin
Christian Graus4-Sep-07 3:35
protectorChristian Graus4-Sep-07 3:35 
GeneralRe: Message box from the Windows Service Pin
originSH4-Sep-07 3:36
originSH4-Sep-07 3:36 
Questionhow to give white spaces? Pin
Situ144-Sep-07 2:42
Situ144-Sep-07 2:42 
AnswerRe: how to give white spaces? Pin
Luc Pattyn4-Sep-07 3:04
sitebuilderLuc Pattyn4-Sep-07 3:04 

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.