Help! Blitzmax function as C callback...
BlitzMax Forums/BlitzMax Programming/Help! Blitzmax function as C callback...
| ||
. |
| ||
http://www.blitzbasic.com/Community/posts.php?topic=47617&hl=callback |
| ||
. |
| ||
. |
| ||
if you created a module, you can call the function directly. Whether you have a extern C File without the module use extern and end extern to init the function from the .c file and then call it. Edit: Have a look to the IDE help, please. It is written down there. IMurDOOM |
| ||
Your extern - end extern is missing. You have to define the function within the bmx file or an imported one. extern Function RdZ80:Byte(Addr:Short) end extern Things like this are covered in the advaced section of the BM docs. |
| ||
. |