• Welcome to MX Bikes Official Forum. Please login or sign up.
 
March 28, 2024, 06:14:54 PM

News:

MX Bikes beta18j 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