Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The program caused the error: Access violation.

Status
Not open for further replies.

briglass

Programmer
Dec 4, 2001
179
GB
My program was fine until I added a second Crystal OCX. Now, I can compile the program and it runs great all the way through.

However, when I try to exit the program (by unloading the form) the program crashes.

Norton gives this message:

"The program 'CDIS4' caused the error: Access Violation. The program tried to examine invalid data. Either there was no data at that location, or the data was off-limits to the program."

Also, when I run the program before it is compiled, it gives me Error 28: Out of Stack Space when I try to unload the form at the end of the program.

All of this only occurs when I add a second Crystal OCX, but I have heard of others using many more than 2 without problems.

Any ideas?

Thanks,
Brian G.
 
Nevermind, I figured it out...!

(.)(.)
c
Thanks! > (o)
 
Hello briglass

I have exactly the same problem!

If You found the solution, can You give
me some tips please.

Thank You

Berni
 
Hi. Just like Cosibc, I also have this problem. when I open a form and preview one or two crystal reports, there's no problem. But I get the "out of stack space" error once I try to close/unload the form after previewing three or more reports. Help please. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top