Exception Access Violation On CreateToolbar

BlitzMax Forums/MaxGUI Module/Exception Access Violation On CreateToolbar

Hardcoal(Posted 2013) [#1]
I Get this Error When I try Anything that related to CreateToolBar.
Even the demo on the manual doesnt work.

Got Win7 Working With Blide


Brucey(Posted 2013) [#2]
What about the one in the MaxGUI doc folder ?

Remember, you need an icon strip image with enough images to support the amount of toolbar items you expect to have.
And if you are using a Framework, you will need to also import the relevant image loader, and if you are incbin'ing the image, you will also need to import BRL.RamStream.

So, having no image (that's the first parameter, btw) will likely break things.


Hardcoal(Posted 2013) [#3]
I didnt use anything I just copied the demo on the manual
and ran it


Henri(Posted 2013) [#4]
Hello

I haven't used Blide but I presume there is option to run debug or release code. In debug mode it should give you more detailed information about the nature of error. Useally this error comes to play when trying to access something that isn't there. How about running from MaxIDE ? I think ziggy changed the way Blide builds modules so if you are up to date then maybe do rebuild all modules ?

-Henri


matibee(Posted 2013) [#5]
Try here:

http://www.blitzbasic.com/bmdocs/command.php?name=CreateToolBar&ref=3d_cat#comments


Brucey(Posted 2013) [#6]
I didnt use anything I just copied the demo on the manual
and ran it

Well, the example required an image and you didn't provide one, it was unlikely to work very well.


Hardcoal(Posted 2013) [#7]
Ah great, This makes sense.
Didnt notice the "toolbar.bmp"