• Welcome to MX Bikes Official Forum. Please login or sign up.
 
December 08, 2019, 07:01:55 am

News:

MX Bikes beta13c available! :)


Beta8 Output plugin crash

Started by Azazel, June 18, 2018, 02:38:36 pm

Previous topic - Next topic

Azazel

Hi!

I just saw weird things about this function "__declspec (dllexport) void Draw (int _iState, int * _piNumQuads, void ** _ ppQuad, int * _piNumString, void ** _ ppString)".
When I add "extern" C "" to use it, the game crashes when I click on "On Track"
With others fonction it works.

Any idea?

Thanks


PiBoSo


Please note that "_piNumQuads" and "_piNumString" must always be set ( to zero if nothing must be drawn ).

Example source code updated.

Azazel