Re: Breaking the 10-limit : Problems/Questions for Windows build
Annick et Jean-Philippe <[email protected]>
| Newsgroups | gmane.games.torcs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, Mart, and all. > I read your remarks at the torcs-devel mail list. > > My robots written in Delphi needs a pure C interface! (see TRB-Link Delphi > Robot Tuturial) > Wolf-Dieter I undersand that it could be big issue to break the pure-C interface, so, I gave up the "std::vector" solution, and I'm currently working on a pure-C one : - the tModInfo array would be allocated on the heap by the module itself, at DLL load-time, in its "Module entry point" function (whose signature would become : extern "C" int xxx(tModInfo**)) - it would be freed by the module unloading functions in tgf lib. I will propose you the patch when I'm ready (and sure it runs OK on Windows). About the Delphi robots, I would appreciate more info on the way they are done, in order to make any modification as simplest as possible for them. Wolf-Dieter, if you read me ... Or anyone else knowing it. Cheers, Jean-Philippe. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone