tutorials on wrapping
Blitz3D Forums/Blitz3D Programming/tutorials on wrapping
| ||
Are there currently any tutorials on wrapping a dll? I couldnt find anything, Im thinking about wrapping a dll just for fun but i couldnt figure it out. |
| ||
Consider you have a dll that has a certain class and you want to call a specific method in this class. Since the method isn't available to Blitz directly you will have to create a wrapperdll to "reach" this method. First create some kind of initfunction in your dll that creates an instance of the class you want to use. Then make a second function that simply calls the chosen class-method and return it's result to blitz. |