Object Library Invalid Error received when running CorelDraw

Asked By 5 points N/A Posted on -
qa-featured

Hi Everyone,

I have been using CorelDraw X4 on my laptop for about 4 months now with windows 7 and everything worked smoothly until yesterday. But from today morning, I started getting a compile error while working with CorelDraw. Immediately after this error is displayed, it goes to debug mode and stops the program. And then it highlights OPTION EXPLICIT in the Objects section of the macro. The only change on my system today would be that I had installed a windows update last night and then shut down my computer. Could this update be causing the issue? As a workaround, I tried removing the macro and this helped me to get rid of the error. But what if this error keeps coming up when using a different macro? Do I need to hunt down all macros that have s with this update and remove them? I am sure there must be a better one than that. Please share if you have a fix for this one. Thanks in advance.

Compile error: Object library invalid or contains references to object definitions that could not be found.

SHARE
Best Answer by Sharath Reddy
Best Answer
Best Answer
Answered By 590495 points N/A #178028

Object Library Invalid Error received when running CorelDraw

qa-featured

The Windows update you installed the other day seems to be the reason why this error is happening as with other CorelDRAW users with Windows 7. This is the reason why I don’t like turning ON the Windows Update because sometimes the recommended update for the operating system is the sole responsible for program incompatibilities.

Your program works now but after installing and applying the update the program no longer works or if it runs it throws up different errors that didn’t appear before. Try restoring your computer to a previous state before you installed the Windows update and see if CorelDRAW will work fine after this. If this is successful then the update is incompatible with your program.

If you don’t want to remove the update, you can try reinstalling CorelDRAW and hope this works.

Answered By 15 points N/A #178029

Object Library Invalid Error received when running CorelDraw

qa-featured

This error occurs in Microsoft Visual Basic when the code is incompatible with the version,platform or architecture of the application.
1) Delete all cached versions of the control type libraries
2) Search for ".exd" files from the system and delete all the occurrences of it.
These files are created automatically by controls you use in Visual Basic application. Every time a control is added check for the “.exd” files.

Related Questions