Click here to Skip to main content
16,016,391 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralUniscribe woes... Pin
Super Lloyd29-Mar-06 13:05
Super Lloyd29-Mar-06 13:05 
GeneralRe: Uniscribe woes... Pin
George L. Jackson29-Mar-06 17:49
George L. Jackson29-Mar-06 17:49 
GeneralRe: Uniscribe woes... Pin
Super Lloyd29-Mar-06 17:57
Super Lloyd29-Mar-06 17:57 
QuestionSystem::DateTime HELP Please Pin
Saber00129-Mar-06 2:25
Saber00129-Mar-06 2:25 
AnswerRe: System::DateTime HELP Please Pin
2bee 29-Mar-06 11:19
2bee 29-Mar-06 11:19 
GeneralRe: System::DateTime HELP Please Pin
Saber00130-Mar-06 2:31
Saber00130-Mar-06 2:31 
AnswerRe: System::DateTime HELP Please Pin
George L. Jackson29-Mar-06 17:15
George L. Jackson29-Mar-06 17:15 
QuestionAbout delete in Managed C++ Pin
Bob_Sun28-Mar-06 18:34
Bob_Sun28-Mar-06 18:34 
I have an app that works the following way:

1.the main process is written in C#
2.the main process uses class witten in Managed C++
3.in classes wirtten in Managed C++, Unmanaged C libs are called
4.as well the main process communicate with other host via .NET remoting

The other day a got a socket exception says (this happens at a very low frequency):
"An operation was attempted on something that is not a socket"

I investegated a lot and come to know this will only happen when the TCP/IP stack is destroyed
(IP addresses are all fixed)

I don't think TCP/IP stack can be destroyed by codes in C#. In Managed C++, all object reference created on C#'s side were
<br />
    delete objRefCreatedInCSharp;<br />

in Dispose(). I am told this was done to prevent memory leak.

My qusetion is
1. Is delete necessary to prevent memory leak?
2. Won't this delete destroy TCP/IP stack at a certain timing?

Thank you very much.

-- modified at 0:35 Wednesday 29th March, 2006
AnswerRe: About delete in Managed C++ Pin
George L. Jackson29-Mar-06 17:21
George L. Jackson29-Mar-06 17:21 
QuestionSimple question about header files Pin
Virtek27-Mar-06 8:49
Virtek27-Mar-06 8:49 
AnswerCorrection Pin
Virtek27-Mar-06 8:51
Virtek27-Mar-06 8:51 
GeneralRe: Correction Pin
mcljava27-Mar-06 9:58
mcljava27-Mar-06 9:58 
AnswerRe: Simple question about header files Pin
2bee 27-Mar-06 9:48
2bee 27-Mar-06 9:48 
AnswerRe: Simple question about header files Pin
Divyang Mithaiwala28-Mar-06 21:25
Divyang Mithaiwala28-Mar-06 21:25 
GeneralRe: Simple question about header files Pin
Saksida Bojan29-Mar-06 9:48
Saksida Bojan29-Mar-06 9:48 
QuestionProblem in converting Unmanaged C++ Code to Managed C++ Code Pin
sunil440026-Mar-06 18:33
sunil440026-Mar-06 18:33 
AnswerRe: Problem in converting Unmanaged C++ Code to Managed C++ Code Pin
2bee 26-Mar-06 20:40
2bee 26-Mar-06 20:40 
QuestionImport problem Pin
theonewithtom26-Mar-06 8:26
theonewithtom26-Mar-06 8:26 
AnswerRe: Import problem Pin
2bee 26-Mar-06 20:14
2bee 26-Mar-06 20:14 
GeneralRe: Import Problem Pin
theonewithtom27-Mar-06 1:44
theonewithtom27-Mar-06 1:44 
GeneralRe: Import Problem Pin
Saksida Bojan27-Mar-06 7:08
Saksida Bojan27-Mar-06 7:08 
GeneralRe: Still got include problem Pin
theonewithtom28-Mar-06 0:28
theonewithtom28-Mar-06 0:28 
GeneralRe: Still got include problem Pin
Saksida Bojan28-Mar-06 0:57
Saksida Bojan28-Mar-06 0:57 
GeneralRe: Still got include problem Pin
DWyvern17-Apr-06 8:38
DWyvern17-Apr-06 8:38 
GeneralRe: Still got include problem Pin
Saksida Bojan17-Apr-06 8:51
Saksida Bojan17-Apr-06 8:51 

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.