473,387 Members | 1,561 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,387 software developers and data experts.

visual C++ error while attempting to access camera

Hey guys,

I am working on a program in VC++ with MFC to calculate the fourier transform of the real-time input data and display it back. I have windows 2000 with SP2 along with IC Imaging control (a software/library required) and DirectX SDK ver 9 and Microsoft Visual studio 6 (i have tried with all service packs upto 5, yet to try with 6).

The compilation of the code goes very smoothly with 0 errors and 0 warnings. When executed and asked to probe for the camera... and started to capture the video frame, i get the error "the instruction at 0x(blabla) referenced memory at 0x00000000". The memory could not be "written". Click Ok to terminate the program or Cancel to debug the application.

with some google search, I managed to get the information that the reason for this is some uninitialized pointer as no command can reference the location 0x00000000. Now, the problem is that, it works fine in my professors computer. The only thing different is the visual studio. He has a version 6 German installed and i use English version and i am not sure abt the sub releases except for the main version 6. Every other software as mentioned above including windows OS, i got it from him.

Could anybody help me with this problem?

thks,
cedance.
Dec 7 '07 #1
1 2098
sicarie
4,677 Expert Mod 4TB
How is the camera set up? Are you sure that is in the same place between the two computers? How does your code access that? (ie - is it hardcoded to a specific place in your professor's computer, and your computer has chosen to manage it in a different location, etc...)
Dec 7 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: James | last post by:
anyone know of a camera that can be controled with visual basic, i.e. zooming, shutter release, transfering picture to pc. -- 5khzgjf9e001@sneakemail.com
6
by: Ravi | last post by:
Hi, Im trying to develop a Visual C# .NET app. that uses DirectShow filters to capture video from camera source. However, after going through a series of articles, I've seen that DirectShow is not...
1
by: Ravi | last post by:
Hi, Im trying to develop a Visual C# .NET app. that uses DirectShow filters to capture video from camera source. However, after going through a series of articles, I've seen that DirectShow is not...
7
by: Martin Strojek | last post by:
Hi, I have the following problem with developing some web site. I use Visual Studio 2003 to build a website. I tried Windows 2003 Server and switched now back to Windows XP with PWS but the...
2
by: Stupid48 | last post by:
I have this Pentax Optio camera and I want to access it via vb.net. I would like to write something where I can snap the picture from the application and it automatically acquires the image from...
3
by: =?Utf-8?B?RmFyc2Fk?= | last post by:
Hi I have a dll file (PRSDK.dll) for canon camera sdk and wish create a wrapper and sample program for this in vb.net. I create a class (PSReCWrap) and declared wrapper in this. my function in...
13
ak1dnar
by: ak1dnar | last post by:
Hi, I need a big favour from you guys.Need to know how to set up a IP camera to access that using Internet. Before I start need to say, I am not from the same stream as you guys. Just a web...
1
by: Rocky007 | last post by:
While attempting to install fujifilm software for my digital camera the program did not completely install. Now when starting up my computer I get a .Net framework error. It said: The feature you...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.