Create Module Template.
Community Forums/Monkey Talk/Create Module Template.
| ||
Someone has a simple example of how to create a module in the base of an external library.#if __TARGET__="windows" #import "Engine3D.dll" #Endif What is the next step to recover the functions of the library? ![]() |
| ||
What is the next step to recover the functions of the library? Learn C Programming Language - the 30+ native data types - use of pointers, references and arrays, - the mysteries of plain and extern argument calling conventions - basics of C runtime library, especially memory handling and basic IO - linking and or binding to run time vs static library - working with the differences between VC and MingW windows tool chains - locating, linking, binding debugging external API Learn C++ Programming Language - the difference between C and C++ calling conventions - the impact of C++ on the rest of the above topics - many many other topics you may need Learn Monkey2 Programming Language - how to install monkey2 and run hello world - build complete working game - understand lifetime of monkey2 classes and structs - the implications of GC when sharing data between Monkey and C/C++ - the new llvm monkey2 module for automating API interface to mx2 - be familiar with nature of implementation of existing mx2 API modules I would then sign up at monkey2 site and post the same question there where active development in such matters is taking place. |
| ||
Auch! You kicked me in the balls. :( |
| ||
LOL! That had to hurt. |