Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
*NEW*
Current Version on
STEAM
:
16.026
Logfile:
EN
,
DE
Webchat:
Visit the chat
Home
Help
Search
Login
Register
GLBasic forum
»
Main forum
»
GLBasic - en
»
Can you use a DLL written in Fortran (or other languages than C/C++)?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Can you use a DLL written in Fortran (or other languages than C/C++)? (Read 616 times)
JohnnyB
Mc. Print
Posts: 25
Can you use a DLL written in Fortran (or other languages than C/C++)?
«
on:
2019-May-19 »
I am not sure at the moment how this "INLINE" stuff really works.
Logged
Snoopy
Dr. Type
Posts: 290
Re: Can you use a DLL written in Fortran (or other languages than C/C++)?
«
Reply #1 on:
2019-May-19 »
Logged
JohnnyB
Mc. Print
Posts: 25
Re: Can you use a DLL written in Fortran (or other languages than C/C++)?
«
Reply #2 on:
2019-May-19 »
great!
Logged
dreamerman
Global Moderator
Dr. Type
Posts: 288
Re: Can you use a DLL written in Fortran (or other languages than C/C++)?
«
Reply #3 on:
2019-May-20 »
It doesn't matter what programming language was used to make dll file, only what matters it that it should export functions with 'stdcall' calling convention, also 'cdecl' is supported without problems. (info about calling conventions:
https://en.wikipedia.org/wiki/X86_calling_conventions
) You can use DECLARE keyword to make direct use of dll functions in your code:
http://www.glbasic.com/xmlhelp.php?lang=en&id=191&action=view
If you encounter problem with some specific dll and function just ask. GLB code is translated to c++, then compiled (so it doesn't have limitations present on other such tools), you can write direct c++ code to make use of some specific things not available directly on GLB itself
Logged
Check my source code editor for GLBasic -
link
JohnnyB
Mc. Print
Posts: 25
Re: Can you use a DLL written in Fortran (or other languages than C/C++)?
«
Reply #4 on:
2019-May-20 »
That's good. I will use C++ or Fortran for complex calculations for my AI.
Logged
Snoopy
Dr. Type
Posts: 290
Re: Can you use a DLL written in Fortran (or other languages than C/C++)?
«
Reply #5 on:
2019-May-28 »
Woah!, I just realized that it's my message with Obama's "Can you do it? ... Yes, you can!!!" that made me go from "Mr. Polyvector" to "Dr. Type"
It's cool!
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
GLBasic forum
»
Main forum
»
GLBasic - en
»
Can you use a DLL written in Fortran (or other languages than C/C++)?