I'm new to this forum, and new to programming in c. I'm currently using Borland Commandline Compiler 5.5, i don't know if it's any good, but it's been able to do what i needed.
Now, to my actual question, i'm using Game Maker, and i need to make a wrapper for a dll of mine, since Game Maker is designed to only use "double" for real values and "PCHAR (char* or LPSTR)" for string values, the dll i have doesn't work, since it's using longs, so i'm trying to make a dll wrapper for the functions in the dll, my wrapper should convert from long to double, and allow Game Maker to read the dll correctly.
I would like your help on how to do this, maybe provide me some tutorials on dll creating in c/c++, or if possible, an example, i do know the basics of c and some c++ from the tutorials on this site.
Btw, if this is the wrong forum, feel free to move the topic.
I forgot to mention, i would like to avoid using alot of dev tools, i'd rather stick to notepad/scite, since it's more simple to work with.