S
syscall
Guest
Hello,
I am very new to the world of GameMaker, I have just started using it since last week... But, I am fairly experienced in several of other programming languages (such as C++, C#, JavaScript).
That being said, I am the one who prefers object-oriented programming. So, I started to learn about GML (in GMS2), I know you can have object inheritance (and use
), and to simulate property chain using array and enumeration construct in GML... (I learn fast )
So, yesterday, I have read all over the documentation about "Creating an extension".
And today, I have decided to create a first extension (in C#) for my very first game in GMS2, which would support Windows platform only (for now, I am focused all about Windows platform only).
I have compiled out a mixed-mode assembly while exporting a couple of managed functions for testing them out in GML.
That was done quickly, then I added the file and defined those functions as a part of the extension, set it all correctly, created a new GML script, called a couple of external functions and showing their return value using
function. It is working flawlessly.
However, I have noticed, the (external) functions I have exported from DLL are using "cdecl" calling convention (by default).
I would like to know, do you have any plans to implement an option "Calling convention" for external functions?
Best regards!
I am very new to the world of GameMaker, I have just started using it since last week... But, I am fairly experienced in several of other programming languages (such as C++, C#, JavaScript).
That being said, I am the one who prefers object-oriented programming. So, I started to learn about GML (in GMS2), I know you can have object inheritance (and use
Code:
event_inherited();
So, yesterday, I have read all over the documentation about "Creating an extension".
And today, I have decided to create a first extension (in C#) for my very first game in GMS2, which would support Windows platform only (for now, I am focused all about Windows platform only).
I have compiled out a mixed-mode assembly while exporting a couple of managed functions for testing them out in GML.
That was done quickly, then I added the file and defined those functions as a part of the extension, set it all correctly, created a new GML script, called a couple of external functions and showing their return value using
Code:
show_message
However, I have noticed, the (external) functions I have exported from DLL are using "cdecl" calling convention (by default).
I would like to know, do you have any plans to implement an option "Calling convention" for external functions?
Best regards!