Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Multiple Forms Error

Author
Message
Huntinator
14
Years of Service
User Offline
Joined: 21st Dec 2009
Location: Channel 57
Posted: 17th Jan 2010 20:42 Edited at: 17th Jan 2010 23:56
I am using Vb.net and I have a Main Menu form using the viewport and when i want to change to the form where it will display the game it gives me an error saying there is protected memory. Post any help.
Huntinator
14
Years of Service
User Offline
Joined: 21st Dec 2009
Location: Channel 57
Posted: 18th Jan 2010 00:02
I have two forms the main menu, and another form for the game. They both use a darkgdk Viewport. When you click the start game button it will start the game form and end the mainmenu form. But it gives me an error saying: Failure trying to acess protected or restricted memory. I've tried many things to make it work please help.
Stefano
User Banned
Posted: 19th Jan 2010 09:52 Edited at: 19th Jan 2010 09:53
It's hard to help you If you don't post your VB code
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 19th Jan 2010 19:27
This may be caused by a threading issue, but I need to see a small sample project that illustrates the problem if that's possible?

Paul.

Huntinator
14
Years of Service
User Offline
Joined: 21st Dec 2009
Location: Channel 57
Posted: 21st Jan 2010 01:24
Here is a sample project.

Attachments

Login to view attachments
Huntinator
14
Years of Service
User Offline
Joined: 21st Dec 2009
Location: Channel 57
Posted: 21st Jan 2010 03:30
Here is my sample project.

Attachments

Login to view attachments
Huntinator
14
Years of Service
User Offline
Joined: 21st Dec 2009
Location: Channel 57
Posted: 25th Jan 2010 22:31
Does anyone know how to fix this???

Login to post a reply

Server time is: 2024-04-25 11:33:18
Your offset time is: 2024-04-25 11:33:18