I dont know how to write dlls in c++ for CoolBasic. Can anyone help me write them and teach me how to use them?
Thanks in advance!
Mr. O
Using DLLs
Re: Using DLLs
I will rephrase the question. I have some c++ experence. Can I use a regular dll written in c++ for a c++ program in a coolbasic program?
Hope this clarifies what I am asking!
Thanks in advance!
Mr. O
Hope this clarifies what I am asking!
Thanks in advance!
Mr. O
Re: Using DLLs
CB calls the dll's functions with these fixed parameters: (pointer to in-memblock, size of in-memblock, pointer to out-memblock, size of out-memblock). Return value of the function seems to be discarded.
CoolBasic henkilökuntaa
Kehittäjä
CoolBasic Classic
Kehittäjä
CoolBasic Classic
Re: Using DLLs
So you are saying I cant pass ANY vars from a dll? None whatsoever?
Re: Using DLLs
You do get the pointers to the in- and out-memblocks..
CoolBasic henkilökuntaa
Kehittäjä
CoolBasic Classic
Kehittäjä
CoolBasic Classic