Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

facing a strange problem

Status
Not open for further replies.

kshk

Programmer
Aug 28, 2002
8
IN
i am doing a project on digital watermarking. while reading a .BMP file i am having a strange problem if the file is a bit large. the program is quitting and giving the following message:
The program encountered a general protection exception
Fault location: FFFF:10000
Interrupts in service:none
i will be highly obliged if anybody can help me .
 
Which OS/Compiler?
Can you paste a section of code?
Did you allocate enough memory?
 
Hi,

The problem looks like the buffer overflow, i.e. say you have allocated 100 bytes for storage and now you are tring to write more than 100 bytes in your program.......

Try increasing the size of the buffer in which you store the bmp file data.

Rahul

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top