Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / making a tpc under mingw

Author
Message
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 23rd Oct 2005 05:41 Edited at: 23rd Oct 2005 05:41
before i start making a dll with mingw i want to know if there is anything special about it (under c++) such as a different format of decorated names or having to do work arounds like on devc++

or is it like microsoft C++(hopefully)

edit:
also the globstruct and directx header files are compatable with it arent they

n00bs will be shot on spot...
It only gets more logical from here(sigh)
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 23rd Oct 2005 06:00
DevC++ is mingw. o_O
Same thing, the only difference being the IDE you use.

WarBasic Scripting engine for DarkBasicPro
DC emulator code size: 14.3MB, 553,214 lines
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 23rd Oct 2005 06:05
god **************$%%&&*#$#@
#$@$%$^
#%%^&&

well at least codeblocks would make it slightly enjoyable instead of that buggy ide dev has

If at first you don't succeed call it version 1.0
the above post and signature has been made with 100% recycled binary digits.
*stolen from other posts*
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 23rd Oct 2005 17:00
You know, I've never noticed the bugs in that IDE. What version are you using?

Tempest - P2P UDP Multiplayer Plugin - 80% - 25%
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 23rd Oct 2005 21:05
4.9.9.2
but before i have been using 4.9.8.* i think so i guess its my fault but codeblocks is the best editor ive seen yet and its not even done

If at first you don't succeed call it version 1.0
the above post and signature has been made with 100% recycled binary digits.
*stolen from other posts*
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 25th Nov 2005 04:49
The string table format changes slightly. Im not sure what it is in mingW but somebody around here will probably post an example.

WE SHALL BECOME ALL POWERFUL! CRUSH THE LESSER RACES! CONQUER THE GALAXY! UNIMAGINABLE POWER! UNLIMITED RICE PUDDING ! ! ! ETC. ! ! ! ETC.! ! !
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 25th Nov 2005 14:17
1. The ReceiveCoreDataPtr function will not get called by the DBPro runtime, unless you have an entry in the .def file to export it under the correct name. An alternative is to get the core pointer yourself from eith the Core (GetGlobPtr) or Setup (GetGlobalData) DBPro DLLs.

2. The mangled names will differ. That's the only reason that the resource strings are different. To simplify things, use extern "C" to remove all name mangling.

Apart from those, pretty much everything is the same as VC++.

For free Plug-ins and source code http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2024-11-21 19:57:07
Your offset time is: 2024-11-21 19:57:07