Click here to Skip to main content
15,867,832 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questionwidows api setwindowpos with SWP_HIDEWINDOW not always works Pin
viewlucc28-Nov-19 14:04
viewlucc28-Nov-19 14:04 
QuestionCan Someone please convert this from C++ to C? Topic : "Placement of Signal Boosters Using Tree Data Structures." Pin
ManojMaheshPatil15-Nov-19 22:35
ManojMaheshPatil15-Nov-19 22:35 
AnswerRe: Can Someone please convert this from C++ to C? Topic : "Placement of Signal Boosters Using Tree Data Structures." Pin
Dave Kreskowiak16-Nov-19 4:59
mveDave Kreskowiak16-Nov-19 4:59 
QuestionGenerate the equivalent of a DLL: a .netmodule Pin
Wim Hoeks16-Sep-19 9:28
Wim Hoeks16-Sep-19 9:28 
Questionprogramming an SDI drawing application with MFC in VC++ Pin
Member 1449477212-Sep-19 5:01
Member 1449477212-Sep-19 5:01 
AnswerRe: programming an SDI drawing application with MFC in VC++ Pin
Richard MacCutchan12-Sep-19 5:07
mveRichard MacCutchan12-Sep-19 5:07 
GeneralRe: programming an SDI drawing application with MFC in VC++ Pin
Member 1449477212-Sep-19 5:21
Member 1449477212-Sep-19 5:21 
GeneralRe: programming an SDI drawing application with MFC in VC++ Pin
Member 1449477212-Sep-19 6:48
Member 1449477212-Sep-19 6:48 
GeneralRe: programming an SDI drawing application with MFC in VC++ Pin
Richard MacCutchan12-Sep-19 6:51
mveRichard MacCutchan12-Sep-19 6:51 
Questionadd prerequisites and vcredistributable package to mfc setup application in vs2010 Pin
TH_Raksdsks9-Sep-19 19:30
TH_Raksdsks9-Sep-19 19:30 
AnswerRe: add prerequisites and vcredistributable package to mfc setup application in vs2010 Pin
OriginalGriff9-Sep-19 19:36
mveOriginalGriff9-Sep-19 19:36 
GeneralRe: add prerequisites and vcredistributable package to mfc setup application in vs2010 Pin
TH_Raksdsks9-Sep-19 20:33
TH_Raksdsks9-Sep-19 20:33 
GeneralRe: add prerequisites and vcredistributable package to mfc setup application in vs2010 Pin
OriginalGriff9-Sep-19 21:28
mveOriginalGriff9-Sep-19 21:28 
GeneralRe: add prerequisites and vcredistributable package to mfc setup application in vs2010 Pin
TH_Raksdsks10-Sep-19 2:14
TH_Raksdsks10-Sep-19 2:14 
GeneralRe: add prerequisites and vcredistributable package to mfc setup application in vs2010 Pin
OriginalGriff10-Sep-19 2:24
mveOriginalGriff10-Sep-19 2:24 
GeneralRe: add prerequisites and vcredistributable package to mfc setup application in vs2010 Pin
TH_Raksdsks16-Sep-19 23:20
TH_Raksdsks16-Sep-19 23:20 
GeneralMessage Closed Pin
7-Oct-19 21:50
Member 146157057-Oct-19 21:50 
QuestionHow to write a application for auto detect new HDD on windows 10 Pin
unitedcamau201915-Jul-19 17:23
unitedcamau201915-Jul-19 17:23 
AnswerRe: How to write a application for auto detect new HDD on windows 10 Pin
Richard MacCutchan15-Jul-19 21:12
mveRichard MacCutchan15-Jul-19 21:12 
QuestionI have 3rd party .OCX file. and i need to create wrapper to make it usable in C# Pin
Gaurav__Kapoor26-May-19 22:11
Gaurav__Kapoor26-May-19 22:11 
AnswerRe: I have 3rd party .OCX file. and i need to create wrapper to make it usable in C# Pin
phil.o26-May-19 22:22
professionalphil.o26-May-19 22:22 
AnswerRe: I have 3rd party .OCX file. and i need to create wrapper to make it usable in C# Pin
Richard MacCutchan26-May-19 22:36
mveRichard MacCutchan26-May-19 22:36 
QuestionData Shifting on Some Computers Pin
Erich Ruth3-May-19 6:18
Erich Ruth3-May-19 6:18 
QuestionHandle leak in application complied with CLR option. Pin
atm.menon2-May-19 0:15
atm.menon2-May-19 0:15 
In my C++ application, I have added CLR support((/clr) to use WCF communication.

Everything is working well, but i observed handle leak. When I analyze this with WinDbg(!htrace). Its shows handle leaks in .NET libs as shown below.

Handle = 0x0000000000003300 - OPEN
Thread ID = 0x0000000000004dbc, Process ID = 0x000000000000414c

0x000000007785a30a: ntdll!ZwCreateThreadEx+0x000000000000000a
0x000007fefd37ac73: KERNELBASE!CreateRemoteThreadEx+0x0000000000000163
0x00000000776e57a6: KERNEL32!CreateThread+0x0000000000000036
0x000007fedaf3f0aa: clr!ClrCreateManagedInstance+0x000000000001ae0a
0x000007fedaf3efb8: clr!ClrCreateManagedInstance+0x000000000001ad18
0x000007fedaf3f5e3: clr!ClrCreateManagedInstance+0x000000000001b343
0x000007fedaf3f623: clr!ClrCreateManagedInstance+0x000000000001b383
0x000007fedaeb3b5e: clr!PreBindAssemblyEx+0x0000000000007e5e
0x000007fedae0a05f: clr!LogHelp_LogAssert+0x000000000000525f
0x000007fedae0837c: clr!LogHelp_LogAssert+0x000000000000357c
0x000007fedae08125: clr!LogHelp_LogAssert+0x0000000000003325
--------------------------------------
Handle = 0x00000000000032fc - OPEN
Thread ID = 0x0000000000004dbc, Process ID = 0x000000000000414c

0x0000000077859d0a: ntdll!ZwCreateEvent+0x000000000000000a
0x000007fefd372d15: KERNELBASE!CreateEventExW+0x0000000000000065
0x000007fedaf3db8a: clr!ClrCreateManagedInstance+0x00000000000198ea
0x000007fedaf3dd27: clr!ClrCreateManagedInstance+0x0000000000019a87
0x000007fedaf3f077: clr!ClrCreateManagedInstance+0x000000000001add7
0x000007fedaf3efb8: clr!ClrCreateManagedInstance+0x000000000001ad18
0x000007fedaf3f5e3: clr!ClrCreateManagedInstance+0x000000000001b343
0x000007fedaf3f623: clr!ClrCreateManagedInstance+0x000000000001b383
0x000007fedaeb3b5e: clr!PreBindAssemblyEx+0x0000000000007e5e
0x000007fedae0a05f: clr!LogHelp_LogAssert+0x000000000000525f
0x000007fedae0837c: clr!LogHelp_LogAssert+0x000000000000357c
0x000007fedae08125: clr!LogHelp_LogAssert+0x0000000000003325
0x000007fedaeb5abf: clr!PreBindAssemblyEx+0x0000000000009dbf
0x00000000776e571d: KERNEL32!BaseThreadInitThunk+0x000000000000000d
--------------------------------------
Handle = 0x00000000000032f8 - OPEN
Thread ID = 0x0000000000004dbc, Process ID = 0x000000000000414c

0x0000000077859d0a: ntdll!ZwCreateEvent+0x000000000000000az
0x000007fefd372d15: KERNELBASE!CreateEventExW+0x0000000000000065
0x000007fedaf3db8a: clr!ClrCreateManagedInstance+0x00000000000198ea
0x000007fedaf3dd19: clr!ClrCreateManagedInstance+0x0000000000019a79
0x000007fedaf3f077: clr!ClrCreateManagedInstance+0x000000000001add7
0x000007fedaf3efb8: clr!ClrCreateManagedInstance+0x000000000001ad18
0x000007fedaf3f5e3: clr!ClrCreateManagedInstance+0x000000000001b343
0x000007fedaf3f623: clr!ClrCreateManagedInstance+0x000000000001b383
0x000007fedaeb3b5e: clr!PreBindAssemblyEx+0x0000000000007e5e
0x000007fedae0a05f: clr!LogHelp_LogAssert+0x000000000000525f
0x000007fedae0837c: clr!LogHelp_LogAssert+0x000000000000357c
0x000007fedae08125: clr!LogHelp_LogAssert+0x0000000000003325
0x000007fedaeb5abf: clr!PreBindAssemblyEx+0x0000000000009dbf
0x00000000776e571d: KERNEL32!BaseThreadInitThunk+0x000000000000000d

Am using VS 2015 and .Net version is 4.5.2.

Is this an issue in .NET? Any help and or suggestions you may have would be greatly appreciated, Thanks

Arun Menon
QuestionGeneric List Template, Function Parameter Pin
Brennan Salibrici24-Apr-19 1:09
Brennan Salibrici24-Apr-19 1:09 

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.