You need to be either more specific, or the general advice is use the debuggers (J and C++) and trace up to the offending line and observe all the parameters carefully. This will involve a lot of crashes and restarts, which is normal. As you gain more handle over it, you will be constructing the definitions and preparing parameters that will work without crashing the first time around.
Can you privide a few representative code samples what you are doing? --- Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]> wrote: > Hello, > > I started the implementation of my own wrapper. Now, almost all the calls > are going fine. At the critical point when I have to establish the > connection and send the message, there is an Access Violation that brings > down J environment. I am able to execute the same sequence of calls from a > simple client application. > > Now, how to debug this access violation? > > 1) I have done a simple mapping of pointers to structures as integers. This > seems to work because all I do is manage the various pointers - get it from > one call and pass it to the other. But is this the right way? > > 2) I built the engine in the VC++ Express edition. However, all I get to > understand if that a certain call causes a access violation in j.exe and the > second time J crashes. This is related to invoking a function pointer buried > deep in the various pointers I manage from J. > > Any clues? > > Regards, > Yuva > > p.s: If you need more info on the code I have written, just let me know and > I shall paste the code into the mail (the C/C++ working version & my J > translation) > > On 7/18/07, Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I recently came across Axis2C - a C implementation for Web Service > > Consumption - developed by Apache (http://ws.apache.org/axis2/c/) > > > > Looking at the example clients that comes with the installation, I think > > it would be quite straight forward to provide a web service client facility > > in J via an addon. > > > > Being a novice at DLL integration into J, I was wondering if someone else > > is looking into this. > > > > I think adding this as another package under JAL would be quite useful. > > > > Let me know. > > > > Thanks, > > Yuva > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
