C++ to BlitzMAX

BlitzMax Forums/BlitzMax Programming/C++ to BlitzMAX

BLaBZ(Posted 2012) [#1]
Are there any tutorials available as to how to write a wrapper/use code written in c++?

I'd like to port a GUI library written in C++ to blitzmax.

Thanks!


kfprimm(Posted 2012) [#2]
http://blitzbasic.com/Community/posts.php?topic=82509


Armitage 1982(Posted 2012) [#3]
Maybe you could look at CEgui.mod :
http://code.google.com/codesearch#5jiG3hroW30/trunk/cegui.mod/&q=cegui

See how Brucey glue that excellent CPP Library for GUI.
It's... rather complex sometimes. You probably need to perfectly know the library itself before wrapping it IMO.

I would love to see an updated version of that module especially since Crazy Eddie said we are reaching a stable 1.0.0 version ( http://www.cegui.org.uk/phpBB2/viewtopic.php?f=6&t=5997 ).


Is it possible to know which library you want to wrap ?
If it's custom code, maybe it would be faster to simply port it (like someone did before with Farseer. It gives decent results).

Last edited 2012