Solved

Illegal Operation...

Posted on 1998-09-01
2
232 Views
Last Modified: 2010-04-30
I recently created a VB 6.0/Access 7.0 application that uses the Crystal Reports 4.6 control.  When I ran the executable, it performed as expected.  However, after I exited the app and the form unloaded, I received an Illegal Operation error caused by either the Crystal Reports control or dll (I cannot remember the extension).  

Please note that when I ran the setup, it could not copy the file MSVCRT20.DLL due to an access violation.  I am not sure what the function of this DLL is, though it appears to be used for version 2.0 of Crystal Reports and I would not think it would cause this error.

Any thoughts would be greatly appreciated.

Thank you,
David
0
Comment
Question by:dfhaines
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
cymbolic earned 30 total points
ID: 1432273
The MSVCRTxx.dll's are support dlls to Microsoft Visual C.  I believe the rt stands for run time.  These modules will cause problems on your system if they are not the proper release leve, since they are used by so many different developed products, all created using VC++.  I have had problems in the past with installation of VB programs that had a setup created on a system that had had VC++ also installed on it, since the install picked up a back versioned MSVC...dll, causing the 95 system to hack.  Usually you get an access violation becuase these modules are almost always in use by some system routine developed with MS VC++.  A good install will restart your machine to be able to install over a system dll that is always in use.  I'm sure though that the msvc dll is a culprit.  Check out your versions and compare them to some other machine that works!
0
 
LVL 4

Expert Comment

by:mcix
ID: 1432274
I had a problem very similar to this a while back...

As it turns out, either MSVCRT20.DLL is not in the App Path or (WINNT)Windows/System path.

OR

The version of MSVCRT20.DLL is out of date.  

I have not tried Crystal with VB6 as yet, but hopefully this points you in a direction.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question