NOTE: Never Do this with SXMS!
NOTE 2: Ask the Authors permission before posting the GEX! they could possibly be making a GEX!
open the GML Script in GM7 and write up the code from dll like this:
//GML Example...
external_call (global.dumbdll , some_initfunc, ty_cdecl, ty_real, 0)
// GM7 function if they used the the function dll export return
// to get DLL Data DLL with global
// 0 is #of arguments.
// arguments are data fed to the dll ex: DLLPlaySong ("sonic.mid",0) playing a midi looping 0 times!
// for every Argument there are 2 thing u need to have: argument#,ty_&&&&
// argument0 is argument number 1, for ty_ you'll need either string or real (numeric)the easy part is porting to the Builder
Load DLL
Add functions
name (name the code u want to give to GM7 ex: some_initfunc would be Dumb_Init()
arguments, # of arguments
export: thats either cdecl or something else(i forgot)
return: return as string or real
arguments: as many arguments as u chose a list will pop up with Radio buttions
select what they return: Real or String
and thats how to port DLLs to GEX
fyi: for noob purposes i broke down gml with explainations of functions!
Edited by Speewave123, 19 May 2007 - 07:10 PM.











