Link to home
Start Free TrialLog in
Avatar of Goes
Goes

asked on

QuickReport Preview

When i show a QuickReport preview on a system WIN-NT 4.0 or WIN-95 system that has no Delphi 4.0 installed or previously has had installed, the icons on the toolbar buttons are not shown.

The buttons work correctly, the hoover text is shown, but no icons.

I registerd the changes Delphi has left on the system after an install and un-install, and try to apply them on a clean system.

The 75 Kb registry settings where no problem, but 2 of the 30 files: comctl32.dll and msvcrt.dll in the system32 directory can not be changed. The result was that the icons where still not visible.

My guess is that it has something to do with these files.

Environment:
  Delphi 4.0 c/s update pack2, quickreport 3.0.3 update pack
  WIN-NT Workstation 4.0 build 4
Avatar of ZifNab
ZifNab

If you have D4, you should use Quickreport 3.0. QR3 is standard with D4.
Avatar of Goes

ASKER

Edited text of question
I Think the Qrpt40.bpl Supplied in the second D4 update is no good.
Try to swap it for the old one from the 18/6/98.
Avatar of Goes

ASKER

Thanks for the comment dotan, but it has no result.

I have copied the original Qrpt40.bpl and Qrpt40.dcp from the
CD-ROM. Still no result. After this I run the Qreport 3.0.3 Update again, still no result.

So if somebody has any other suggestions, please do, it is of great importance to me.
If it is not the Qrpt40.bpl the it must be the Comctl32.dll .
What size and date is your's ??
Avatar of Goes

ASKER

Your are correct dotan. I found a clean system an replaced the standard comctl32.dll with the altered one. Then the preview works correctly.

But now the question is: how can I, by using the InstallShield wizard, replace the old Comctl32.dll by the New one on a NTFS partician?

Winnt holds a lock on this file. I tested it on a winnt 4.0 system with a FAT file system. This way i could reboot from a floppy disk and replace the Comctl40.dll manualy.
ASKER CERTIFIED SOLUTION
Avatar of dotan
dotan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Goes

ASKER

I found out that if you add comctl32.dll to the systemfiles group in the InstallShield wizard, the InstallShield recognizes that it is a locked file and automatically tells you to reboot.

When you do the file is copied during the reboot!!!

Dotan thanks for the help, it isn't a real answer to my question, that i found out my-self, but anyway, thanks for the interest you took in my problem.