Click here to Skip to main content
16,016,770 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralAccessing other code base file in VB.NET Pin
fibman5-Jan-05 7:27
fibman5-Jan-05 7:27 
GeneralRe: Accessing other code base file in VB.NET Pin
T Manjaly5-Jan-05 10:04
T Manjaly5-Jan-05 10:04 
GeneralWindows Service Automatic Start Pin
Todd_S5-Jan-05 7:15
Todd_S5-Jan-05 7:15 
GeneralRe: Windows Service Automatic Start Pin
Barathan6-Jan-05 2:14
Barathan6-Jan-05 2:14 
GeneralRe: Windows Service Automatic Start Pin
Todd_S7-Jan-05 8:03
Todd_S7-Jan-05 8:03 
GeneralCF .Net Update Database from Dataset Datatable Pin
careysc5-Jan-05 5:03
careysc5-Jan-05 5:03 
GeneralAltering contents of a string Pin
SimesK5-Jan-05 4:55
sussSimesK5-Jan-05 4:55 
GeneralVARIANT leaks in VB.NET Pin
Jonathan [Darka]5-Jan-05 3:26
professionalJonathan [Darka]5-Jan-05 3:26 
Hi all,

I have a VB.NET assembly which calls into a COM object, the function being called returns a VARIANT, some of which are BSTR's allocated with SysAllocString() (Allocated within the COM object and returned to the VB.NET code).

The problem is that these BSTR VARIANT's are leaked as .NET does not know what to do about them.

Has anyone come across this, or does anyone know how to get the VB.NET code to clean up the VARIANTS ?



regards,
Generalcalling subs from other classes Pin
fo0lish5-Jan-05 2:37
fo0lish5-Jan-05 2:37 
GeneralRe: calling subs from other classes Pin
T Manjaly5-Jan-05 5:37
T Manjaly5-Jan-05 5:37 
GeneralRe: calling subs from other classes Pin
fo0lish5-Jan-05 7:23
fo0lish5-Jan-05 7:23 
GeneralRe: calling subs from other classes Pin
T Manjaly5-Jan-05 9:04
T Manjaly5-Jan-05 9:04 
GeneralRe: calling subs from other classes Pin
fo0lish5-Jan-05 9:20
fo0lish5-Jan-05 9:20 
GeneralNeed Help for Crystal Report Page Setup Pin
Murtuza Husain Miyan Patel5-Jan-05 2:04
professionalMurtuza Husain Miyan Patel5-Jan-05 2:04 
GeneralRe: Need Help for Crystal Report Page Setup Pin
Barathan6-Jan-05 2:34
Barathan6-Jan-05 2:34 
GeneralRe: Need Help for Crystal Report Page Setup Pin
Barathan6-Jan-05 2:38
Barathan6-Jan-05 2:38 
Generalaspi Pin
Anonymous5-Jan-05 1:43
Anonymous5-Jan-05 1:43 
GeneralAI Pin
ironic20055-Jan-05 1:36
ironic20055-Jan-05 1:36 
GeneralRe: AI Pin
Colin Angus Mackay5-Jan-05 5:45
Colin Angus Mackay5-Jan-05 5:45 
GeneralFile.Copy File Not Found Exception. Pin
netSam4-Jan-05 21:04
netSam4-Jan-05 21:04 
GeneralRe: File.Copy File Not Found Exception. Pin
Dave Kreskowiak5-Jan-05 1:47
mveDave Kreskowiak5-Jan-05 1:47 
GeneralRe: File.Copy File Not Found Exception. Pin
netSam5-Jan-05 2:38
netSam5-Jan-05 2:38 
GeneralRe: File.Copy File Not Found Exception. Pin
Robert Rohde5-Jan-05 8:19
Robert Rohde5-Jan-05 8:19 
GeneralRe: File.Copy File Not Found Exception. Pin
netSam5-Jan-05 21:18
netSam5-Jan-05 21:18 
GeneralRe: File.Copy File Not Found Exception. Pin
Robert Rohde6-Jan-05 20:31
Robert Rohde6-Jan-05 20:31 

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.