473,320 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

WIA and svchost

sorry I have already post this topic but in bad subject :$

==message :

hello,
it's my first post in microsoft newsgroup and Im french....

I am developping an application which can take photos from a webcam with WIA
and send it to a ftp.
but I saw one big bug =all photos taken from webcam have been saved to
svchost
svchost become big =more than 100mo if I let the program run
I don't know how to release memory
I have tried to release memory :
-----------------------------------------------------------------------------------------
item.ExecuteCommand(WIA.CommandID.wiaCommandDelete AllItems);
item = video.Device.ExecuteCommand(WIA.CommandID.wiaComma ndDeleteAllItems);
-----------------------------------------------------------------------------------------
and to capture some image :
-----------------------------------------------------------------------------------------
item =
video.Device.ExecuteCommand(WIA.CommandID.wiaComma ndTakePicture);

imagefile = item.Transfer(WIA.FormatID.wiaFormatBMP) as
WIA.ImageFile;
imagefile.SaveFile("./" + bmpf);
imagefile = null;
-----------------------------------------------------------------------------------------
item as WIA.Item
imagefile as WIA.ImageFile
video as AxWIA.AxVideoPreview

thanks
I hope you able to help me

Jul 18 '06 #1
0 2578

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Brad Tilley | last post by:
I understand that svchost.exe is a service wrapper that loads many different services (dll files) on WinXP. I can programmatically list the individual services that it has loaded with Python, but I...
0
by: Healy | last post by:
Hi Yesterday i habe install my Windows System new. Windows run now performant again without problems. :-) But after installation studio 2003 a svchost exe crash after reboot system. Can...
1
by: garth ferris | last post by:
i'm having a problem with a 3d engine i'm writing (just for fun, i'm kind of a beginner) and i was wondering if anyone could look through the following drwtsn32.log entry. the problem (among...
1
by: h_bloo | last post by:
Hello, I have a problem concerning the OLE-server and svchost.exe (which is probably the programm run by the OLE-service). This problem occured after having worked with Access for a few weeks,...
4
by: Abubakar | last post by:
Hi, my exe's name is schemavalidate, and in my bin directory I also see a schemavalidate.vshost.exe. What is this vshost file and why is this needed? Can we choose not to generate it? Abubakar.
3
by: Simon Watkins | last post by:
Our server administrators recently changed the permissions of most of our servers (you know how it is, the developers had, shock horror, got to know the domain administrator password, and some...
6
by: arunbalait | last post by:
Hi all The svchost.exe always killing my cpu. It uses lots of memory. And also some times explorer.exe kills lots of memory. What the problem is here? Lots of svchost.exe process running in...
6
by: =?Utf-8?B?dHByZW1n?= | last post by:
I can't get rid of this error: svchost.exe The instruction at "0x00000000" referenced memory at "0x00000000" Choose OK or CANCEL It doesn't matter what I do it keeps coming back. Help I'm in...
1
by: =?Utf-8?B?SEVMUCBNRSBOT1cgSSdNIElOIFRIRSBNVUNL?= | last post by:
svchost.exe -- application error The instructionat "0x00000000" referenced memory at "ox00000000" could not be "written". Click on OK to terminate the program Click on CANCEL to debug the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.