Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
GeneralRe: Remoting question Pin
Heath Stewart25-May-04 8:25
protectorHeath Stewart25-May-04 8:25 
GeneralRe: Remoting question Pin
Judah Gabriel Himango25-May-04 10:02
sponsorJudah Gabriel Himango25-May-04 10:02 
GeneralNew DataRow in SQL-Server with ID Pin
Anonymous25-May-04 4:18
Anonymous25-May-04 4:18 
GeneralRe: New DataRow in SQL-Server with ID Pin
Heath Stewart25-May-04 5:57
protectorHeath Stewart25-May-04 5:57 
GeneralRe: New DataRow in SQL-Server with ID Pin
denizmercan25-May-04 20:05
denizmercan25-May-04 20:05 
GeneralVideo scrambled the second time Pin
thomasa24-May-04 23:38
thomasa24-May-04 23:38 
GeneralRe: Video scrambled the second time Pin
Aaron Eldreth25-May-04 2:49
Aaron Eldreth25-May-04 2:49 
GeneralRe: Video scrambled the second time Pin
Heath Stewart25-May-04 3:44
protectorHeath Stewart25-May-04 3:44 
For starters, don't just set the objects to null. Objects that encsapsulate native resources expose a Dispose method that cleans-up the unmanaged (and sometimes even the managed resources) when you call Dispose. Simply setting these objects to null will (if there are no other references) cause the objects to get garbage collected when the application is idle or when memory must be freed. The unmanaged resources will not be freed by the GC, which is why they're called "unmanaged". It's possible that some of these objects have alloc'd global memory or something similar that is being shared between videos, possibly leading to the corruption you've witnessed.

 

Microsoft MVP, Visual C#
My Articles
GeneralI think I've locaded the problem Pin
thomasa25-May-04 20:47
thomasa25-May-04 20:47 
GeneralRe: I think I've locaded the problem Pin
Dave Kreskowiak26-May-04 3:01
mveDave Kreskowiak26-May-04 3:01 
Generaldatagrid doesn't save the data Pin
denizmercan24-May-04 23:23
denizmercan24-May-04 23:23 
GeneralRe: datagrid doesn't save the data Pin
Anfernius25-May-04 0:15
Anfernius25-May-04 0:15 
GeneralRe: datagrid doesn't save the data Pin
denizmercan25-May-04 1:01
denizmercan25-May-04 1:01 
GeneralRe: datagrid doesn't save the data Pin
Heath Stewart25-May-04 3:37
protectorHeath Stewart25-May-04 3:37 
GeneralRe: datagrid doesn't save the data Pin
Heath Stewart25-May-04 3:40
protectorHeath Stewart25-May-04 3:40 
GeneralRe: datagrid doesn't save the data Pin
denizmercan26-May-04 5:08
denizmercan26-May-04 5:08 
GeneralTreeView Control Pin
sachinkalse24-May-04 23:14
sachinkalse24-May-04 23:14 
GeneralRe: TreeView Control Pin
Corinna John24-May-04 23:55
Corinna John24-May-04 23:55 
GeneralRe: TreeView Control Pin
Heath Stewart25-May-04 3:36
protectorHeath Stewart25-May-04 3:36 
GeneralRe: TreeView Control Pin
sachinkalse25-May-04 22:49
sachinkalse25-May-04 22:49 
GeneralRe: TreeView Control Pin
Heath Stewart26-May-04 3:05
protectorHeath Stewart26-May-04 3:05 
GeneralRe: TreeView Control Pin
sachinkalse26-May-04 14:57
sachinkalse26-May-04 14:57 
GeneralMake default e-mail client using C# Pin
lieperik24-May-04 22:30
lieperik24-May-04 22:30 
GeneralRe: Make default e-mail client using C# Pin
Heath Stewart25-May-04 3:32
protectorHeath Stewart25-May-04 3:32 
GeneralEventLog Privileges Pin
Andy *M*24-May-04 22:27
Andy *M*24-May-04 22:27 

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.