![]() |
|
#1
|
|||
|
|||
Application errorHello,
Can anyone help me to understand the following error I get while running my program: " This instruction at "0x10213035" referenced memory at "0x00000065". The memory could not be read. Click on OK to terminate the program" and " This instruction at "0x102125fe" referenced memory at "0x00000092". The memory could not be written. Click on OK to terminate the program". |
|
#2
|
|||
|
|||
|
your program is trying to access the region of memory that it shouldnt. system is denying it access and terminating it. either your accessing it thru your array or a pointer. post your code if you need help in figuring it out
|
|
#3
|
|||
|
|||
|
representing different feature points on a face, which is extracted from a video frame.
CPP / C++ / C Code:
When I press the Apply button on my FormView, to save my Structure to my vector called 'Feat'. CPP / C++ / C Code:
This is save function the save structure to the vector: Please note that I need to save(push) several Face structure in the vector. that is each time I press the Apply button, I need to push a different set of Face to the vector: CPP / C++ / C Code:
Then I have another button on my FormView to save the Vector to a file: CPP / C++ / C Code:
This function write the vector to the file. I'm taking info (Structure) from a video file(.vid) and save them in a new file with the same name as the video file but with (.fea) ext: CPP / C++ / C Code:
hope the explanation is clear enough. Last edited by Garth Farley : 03-May-2004 at 11:02.
Reason: Please enclose code with [C++] and [/C++] for syntax highlighting. GF
|
|
#4
|
|||
|
|||
|
Quote:
what data type is m_FtFileName? and what exactly does GetBuffer return? Does it return a pointer to the filename? if possible, can u post the code to GetBuffer function? |
|
#5
|
|||
|
|||
|
the m_FtFileName is a string, the variable for my new file.
First, I've assigned it the same value as the video file VC.m_VidFileName, which is also a string. Then i've used: CPP / C++ / C Code:
Last edited by dsmith : 04-May-2004 at 08:23.
Reason: Please use [c] & [/c] for syntax highlighting
|
|
#6
|
|||
|
|||
|
Quote:
what class type is m_FtFileName object of? is it the string class included in <string> or is it some other class and library? |
|
#7
|
|||
|
|||
|
#include <string>
CString m_m_FtFileName; |
|
#8
|
|||
|
|||
|
i tried using #include<string> and then declaring a CString type, but my compiler can't find that type in the string header. If possible, upload all your source files, so i can compile them on my own compiler and get a clear picture.
|
|
#9
|
||||
|
||||
|
I believe that CString is only for VC++ user, and the header is not string.h.
Nelly, I don't find any clues about your code, I mean where the problem might come from, so if your project is not big, you may post it for others to see. I may take a look at it hoping I can solve your problem. __________________
When you say "I wrote a program that crashed Windows," people just stare at you blankly and say "Hey, I got those with the system, for free." Linus Torvalds |
Recent GIDBlog
Stupid Management Policies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Operator Overloading: << | aaroncohn | C++ Forum | 36 | 07-Dec-2004 20:22 |
| Visual C++ 6 Compiler error | vip3r | C++ Forum | 2 | 13-Apr-2004 15:34 |
| compilation error | cameron | C++ Forum | 18 | 20-Feb-2004 01:41 |
| error during program | rjd72285 | C++ Forum | 0 | 11-Nov-2003 19:49 |
| [script] E-mail webmaster error page | BobbyDouglas | PHP Code Library | 0 | 19-Aug-2003 21:10 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The