I downloaded expat_win32bin_2_0_0.exe from http://expat.sourceforge.net/ Those callback for SetElementHandler crashes.

You may try using this libexpat.dll to test Oleg's sax addon expat_test1.ijs

It looks like libexpat.dll from Oleg's addon has been modified to use stdcall callback, while the official build use cdecl callback.

I think that there are other library from Linux origin also use cdecl callback.

Also does callback return an integer result (in eax) to the caller? Some callback are expected to return a integer to indicate action taken or not.

Eric Iverson wrote:
I will take a look at this and possibly consider it for 602. Can you provide a simple example of a cdecl callback?

----- Original Message ----- From: "bill lam" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Thursday, March 01, 2007 3:53 AM
Subject: [Jprogramming] cdcb call convention


It seems that cdcb (15!:13) always assume stdcall call convention in window. This causes crash when callback is expected to be in cdecl. Will it be possible to add an alternative set of cdcb that use cdecl?

--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to