[Asterisk-Dev] help request about wiax2.dll
ssokol at sokol-associates.com
Wed Jan 21 10:12:17 MST 2004
If the error is taking place when you call IAX_SetEventCallBack you are
either passing an invalid function pointer (cause that's what you need
to pass in -- the address of your callback function) or your callback
function is not configured to accept the proper parameters.
If it happens the first time an event takes place in your system, I
would suspect that you are allowing the callback to propagate into some
non-thread-safe code. The callbacks are made in the context of the
ProcessCall thread that is established by the library.
I was driven to drink by the issues I had trying to use the callback as
it is presented by the original wiax2 lib. I eventually re-wrote it to
use windows messages instead of raw callbacks. Not as efficient but
> -----Original Message-----
> From: asterisk-dev-admin at lists.digium.com [mailto:asterisk-dev-
> admin at lists.digium.com] On Behalf Of Gonzalez Mata David
> Sent: Wednesday, January 21, 2004 9:16 AM
> To: asterisk-dev at lists.digium.com
> Subject: [Asterisk-Dev] help request about wiax2.dll
> I'm trying to use the wiax2,dll in delphi 5 but when i
> invoke the method IAX_SetEventCallBack, i got an
> "access violation error" and i con't know why. I use
> windows 98SE.
> I hope anybody can help me.
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> To UNSUBSCRIBE or update options visit:
More information about the asterisk-dev