Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I'm using the Inline::C to integrate a SMS API. This set of API need to have a thread-safe callback function to response events.
Inside the callback function, if I use C "printf", the program crashes.If don't, using puts, the program works fine. The same c code works fine in Visual C++ compilers.
Any one could hilight me what happens? BTW I'm using Inline 0.44 and ActivePerl 5.8 build 804 on win32.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: printf callback using Inline::C
by Abigail-II (Bishop) on Oct 07, 2003 at 15:06 UTC | |
|
Re: printf callback using Inline::C
by PodMaster (Abbot) on Oct 07, 2003 at 15:06 UTC |