Help! Blitzmax function as C callback...

BlitzMax Forums/BlitzMax Programming/Help! Blitzmax function as C callback...

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.