C
Chad
hello,
i am losing memory each time i make this call to a C++
dll (I make frequent calls).
'in VB.Net
Declare Function grab Lib "grabber.dll" _
(ByRef lpBuf As Byte, ByVal lnum As Integer) As Integer
the C++ function is...
DllExport void __stdcall grab(BYTE *bf, long num)
in VB6 everything is ok, no memory leak.
I understand that memory management in VB6 is auto but it
is not
in .net.
What do I have to do in this case? GC.collect does not
help.
i am losing memory each time i make this call to a C++
dll (I make frequent calls).
'in VB.Net
Declare Function grab Lib "grabber.dll" _
(ByRef lpBuf As Byte, ByVal lnum As Integer) As Integer
the C++ function is...
DllExport void __stdcall grab(BYTE *bf, long num)
in VB6 everything is ok, no memory leak.
I understand that memory management in VB6 is auto but it
is not
in .net.
What do I have to do in this case? GC.collect does not
help.