Heya guys.. I started using DarkBasic back when it was a full-screen app with the neat twisty scroll bars and direct x based interface. I even remember the day when they switched from the original forums to the new forum system. I'm finally to the point where I can afford art for my game and have artists doing work now. Although I know C, C++, assembler, etc; working 50 hours a week doesn't lend itself well to spending large amounts of time writing the logic DBP sets up automagically. What I want to do, though, is extend the non-graphical stuff to DLLs. I'd prefer to use pascal (FPC/Delphi). I know how to write DLLs and export them, but what I'm confused about is how to do the name decorations on the DB side to express the parameters and return types/sizes. Opening up the compiled DLL in a hex or text editor, or even a DLL viewer, doesn't seem to show name mangling either. Is there any docs, or anyone who can tell me how DBP expects name mangling to work?
Dark Basic Professional