BMK addon : DLL maker
BlitzMax Forums/BlitzMax Programming/BMK addon : DLL maker
| ||
I need testers |
| ||
BMK addon : here Needed App: -------------- - Bmax 1.10 or higher - minGW Add 'c:/mingw/bin' to your PATH env variable Add 'c:/mingw' to your MINGW env variable When you finished setting, you must restart Bmax. How to install: -------------- 1 - Extract 'winres.mod' to your 'mod/pub' directory. 2 - Extract 'windll.mod' to your 'mod/pub' directory. 3 - Rename 'bmk.exe' to 'bmkOLD.exe' in your 'bin' directory. 4 - Extract the new 'bmk.exe' to your 'bin' directory. Example : myfunc.dll.bmx Import BRL.math Function Filer(f) Return Log(f) End Function Function Add:Int(param1:Int,param2:Int) Return param1+param2 End Function Compilation output: |
| ||
err, where is the program ? I would love to test. |
| ||
Ok try it MinGW must be installed correctly. |
| ||
thanks :) will test for you |
| ||
Lib Importer should be improved Does it work ? |
| ||
windll Includes "C:/bmax/samples/PERSO/quickdll/myfunc.dll.inc.bmx" might want to correct that so it works on everyone's machine :) |
| ||
this line is updated by my bmk before launching bmkOLD |
| ||
ok, I'll let you off then :) |
| ||
I've some problems with GCC and static libs.import BRL.filesystem '-> This lib uses some others. |
| ||
Whats the behavior of the memory mananagment with making DLLs? Since there is no explict destroy. I assume you will need to call flushmem inside any function that messes with objects. But I am not sure how the scope mechanims will work. Have you done any testing with more compilicated functions? Doug Stastny |
| ||
I assume you will need to call flushmem inside any function that messes with objects Each DLL will import BRL.Blitz Entire Blitz memory mechanism will be included. It's just my opinion. |