Every time I try compile a VB project that uses a Delphi (2007) activex, I get a DAX error in the delphi activex. This only happens when I try to compile the VB project.
Anybody knows what might be going on?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Read of address 00000000is a null pointer dereference. Most likely, that means that somewhere inside the library, something’s trying to use an object that hasn’t been constructed or assigned yet.This type of access violation tends to be very easy to debug, if you have the code to the Delphi ActiveX library. Open the library in Delphi and go to the Run menu. Under Parameters, select Debugger, and set the Visual Studio EXE you’re compiling your VB project under as the Host Application. Close the dialog and hit Run. It should launch Visual Studio. Go to compile your VB project, and when the error occurs, Delphi will drop you into the debugger and it should be obvious from examining the code, the stack and the local variables list what’s causing it.
If you don’t have the code, then you’ll have to settle for providing detailed repro steps to the author of the library and hope they can fix it.