I wrote an application for a HTC PDA Pocket PC Windows Mobile 5.0 to make phonecalls.
Usin P/invoke I call the native methodes lineOpen, LineMakeCall, etc.
In fact it is a bit of a translation of the CEdialer C++ (example code included in the WM5.0 SDK) into C#
The application works fine, I'm able to make phonecalls.
BUT:
the function lineInitialize has a callback function. Every time something changes on te line (ringing, accepted, busy,...) this callback function is executed.
The problem is that the only thing that I can do in that callback function is fire a messagebox. All the other things (changing a label, placing a breakpoint) cause VS2005 to crash.
Does anyone has a clue what is going on
If you need more info, please don't hesitate to ask
Kind regards