Click here to Skip to main content
16,006,442 members
Home / Discussions / C#
   

C#

 
GeneralRe: Accessing form controls Pin
Heath Stewart15-Sep-04 5:58
protectorHeath Stewart15-Sep-04 5:58 
GeneralRe: DateTime Pin
Nick Parker13-Sep-04 9:47
protectorNick Parker13-Sep-04 9:47 
GeneralRe: DateTime Pin
Heath Stewart13-Sep-04 11:33
protectorHeath Stewart13-Sep-04 11:33 
Generalneed help in the Process class Pin
bora3ee13-Sep-04 9:38
bora3ee13-Sep-04 9:38 
GeneralRe: need help in the Process class Pin
Nick Parker13-Sep-04 10:32
protectorNick Parker13-Sep-04 10:32 
GeneralRe: need help in the Process class Pin
Heath Stewart13-Sep-04 11:40
protectorHeath Stewart13-Sep-04 11:40 
GeneralWinForms - popup config windows in a specified area Pin
TheBlindWatchmaker13-Sep-04 9:23
TheBlindWatchmaker13-Sep-04 9:23 
GeneralRelease memory - newbie doubt Pin
ee9903513-Sep-04 6:55
ee9903513-Sep-04 6:55 
Hi there!

I am a newbie in C#, and I am making a program using the AVIFile.
Now I have a problem, it seems that the functions getframeclose() and close() from avistream and avimanager doesn’t release all the memory that they use.
In the task manager the "Mem Usage" increase to 90000K when in the start it was 13000k.
The problem is in this group of instructions, the only thing that I want is one frame of the video.

AviManager aviManager = new AviManager(aux, true);
VideoStream aviStream = aviManager.GetVideoStream();
aviStream.GetFrameOpen();
Bitmap bmp = aviStream.GetBitmap(Convert.ToInt32(Position));
aviStream.GetFrameClose();
aviManager.Close();

With this group of instructions the "Mem Usage" in the task manager increases 20000k!!!!
I don´t think that this is the size of Bitmap, Am I wrong?!
How can I solve my problem?!
COuld you help me?!

Thanks you very much, Sérgio Órfão

GeneralRe: Release memory - newbie doubt Pin
Nick Parker13-Sep-04 7:30
protectorNick Parker13-Sep-04 7:30 
GeneralRe: Release memory - newbie doubt Pin
ee9903513-Sep-04 7:53
ee9903513-Sep-04 7:53 
GeneralRe: Release memory - newbie doubt Pin
Nick Parker13-Sep-04 8:40
protectorNick Parker13-Sep-04 8:40 
GeneralRe: Release memory - newbie doubt Pin
Heath Stewart13-Sep-04 11:07
protectorHeath Stewart13-Sep-04 11:07 
QuestionHow to wrap the string.Format method? Pin
matthias s.13-Sep-04 6:37
matthias s.13-Sep-04 6:37 
AnswerRe: How to wrap the string.Format method? Pin
Nick Parker13-Sep-04 7:33
protectorNick Parker13-Sep-04 7:33 
QuestionDirectx -- D3DX.Mesh.Box Samples ? Pin
jlabbe13-Sep-04 6:35
jlabbe13-Sep-04 6:35 
AnswerRe: Directx -- D3DX.Mesh.Box Samples ? Pin
Heath Stewart13-Sep-04 11:01
protectorHeath Stewart13-Sep-04 11:01 
Questionint -> byte[] Howto? Pin
Ariadne13-Sep-04 5:18
Ariadne13-Sep-04 5:18 
AnswerRe: int -> byte[] Howto? Pin
Colin Angus Mackay13-Sep-04 5:43
Colin Angus Mackay13-Sep-04 5:43 
GeneralRe: int -> byte[] Howto? Pin
Ariadne13-Sep-04 19:52
Ariadne13-Sep-04 19:52 
AnswerRe: int -> byte[] Howto? Pin
Heath Stewart13-Sep-04 5:54
protectorHeath Stewart13-Sep-04 5:54 
Generaldebuging timers with in a windows service application Pin
karanba13-Sep-04 4:50
karanba13-Sep-04 4:50 
GeneralRe: debuging timers with in a windows service application Pin
Dave Kreskowiak13-Sep-04 6:14
mveDave Kreskowiak13-Sep-04 6:14 
GeneralRe: debuging timers with in a windows service application Pin
karanba13-Sep-04 20:47
karanba13-Sep-04 20:47 
GeneralNetwork Machine Names from Mapped Drive Letter Pin
ribsmac13-Sep-04 4:17
ribsmac13-Sep-04 4:17 
GeneralRe: Network Machine Names from Mapped Drive Letter Pin
Heath Stewart13-Sep-04 6:25
protectorHeath Stewart13-Sep-04 6:25 

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.