I have used PBDLL to create a standalone EXE that works fine. I had the runtime parameters hard coded into the program. I have now changed the code to be a DLL and am trying to call the DLL from a VB6 program which collects the run time info from the user. The VB program manages to call the DLL and pass the runtime info. The DLL computes the report and then displays the report on the screen. I use DDOC to accomplish the print/preview. Next I get "program has preformed an illegal operation".
DDOC is still running I can view and print the report and close the DDOC window. I never get past the call to the DLL in the VB program. Some how I am causing VB to kick out this error. Any ideas?
DDOC is still running I can view and print the report and close the DDOC window. I never get past the call to the DLL in the VB program. Some how I am causing VB to kick out this error. Any ideas?
Comment