T
The Sivart
Guest
In the Game maker help file:
"Finally you must give the number arguments that the function can take (from 0 to 15) and for each of the arguments you must specify its type too. Please note that for functions with 4 or more arguments, all of them must be of type ty_real. "
When doing this now, projects that used to work don't anymore. Example of an error line:
global.p3dc_bs3 = external_define(n,"bs3",dll_cdecl,ty_real,6,ty_real,ty_real,ty_real,ty_real,ty_real,ty_real);
Now, according to the help file this should not return an error. But it does and it never used to. Here is an example of a line in the same script that does not return an error:
global.p3dc_obd = external_define(n,"obd",dll_cdecl,ty_real,2,ty_real,ty_real);
Because of this my conclusion is that GMS is stopping me from using more than 4 vars in a DLL call. I would like this fixed because my whole game is broken if this does not work.
"Finally you must give the number arguments that the function can take (from 0 to 15) and for each of the arguments you must specify its type too. Please note that for functions with 4 or more arguments, all of them must be of type ty_real. "
When doing this now, projects that used to work don't anymore. Example of an error line:
global.p3dc_bs3 = external_define(n,"bs3",dll_cdecl,ty_real,6,ty_real,ty_real,ty_real,ty_real,ty_real,ty_real);
Now, according to the help file this should not return an error. But it does and it never used to. Here is an example of a line in the same script that does not return an error:
global.p3dc_obd = external_define(n,"obd",dll_cdecl,ty_real,2,ty_real,ty_real);
Because of this my conclusion is that GMS is stopping me from using more than 4 vars in a DLL call. I would like this fixed because my whole game is broken if this does not work.