Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 1st, 2005, 12:12 PM   #1
cornish_boy84
Newbie
 
Join Date: Mar 2005
Posts: 1
Rep Power: 0 cornish_boy84 is on a distinguished road
Access Violation Error

Hi,
I am getting an access violation error when I try and create a Bitmap in memory.

maze:=TBitmap.Create;

where maze:TBitmap.

I have already drawn an image to maze but I free the memory so I should be able to use bitmap again?

Any suggestions most appreciated

Andrew
cornish_boy84 is offline   Reply With Quote
Old Mar 1st, 2005, 4:12 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Don't free the memory - you're probably removing maze altogether in the process.

Let us know how it goes.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:45 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC