Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

There's a thread in the Clarion 9 newsgroup that seems to confirm that if you're using the ReportToPDF functionality in Clarion 9, any such apps will need to also have the Microsoft Visual C++ 2005 Redistributable installed on that machine. 

The tricky thing is that your apps may run fine on your test machines because you have the 2005 Redistrutable, but then things blow up when you ship product to your customers. 

Here's a post by L Jack Wilson on the subject:

Geert,

I imagine the PNG support requires ClaRunExt.dll, since libmaker reports it contains:
?ImageToPNG1@@YAJPBD@Z
?ImageToPNG2@@YAJPBD@Z
?RotateFlip@@YAJPBD@Z
?SaveThumbnail@@YAJPBD@Z


Have you tested your app on a machine that doesn't have Clarion 9 IDE installed? I too use the ReportToPDF and noticed I need to have the ClaRunExt.dll in my program directory or my main exe will not load.

I also found with a fresh install of my program on a Windows 7 32-bit box I could not launch an app that requires ClaRunExt.dll to be present without also installing Microsoft Visual C++ 2005 Redistributable - KB2467175 8.0.51011. This same redistributable is installed by the Clarion 9.0.10294 installer. Without that installed any programs that required ClaRunExt.dll would fail to run with a 0xc0150002 error.

Using dependency walker on ClaRunExt.dll tells me it requires the side-by-side "stuff" that the redistributable installs (along with the other ms dlls). 

In reply, Diego said:

Hi,

All that Jack is saying is correct.

Regards,
Diego Borojovich
www.Softvelocity.com

If it's the PNG support that triggers this, then perhaps any use of PNG files will require the C++ redistributable. 

Graham Dawson wondered how to check for an existing installation of the redistributable. Richard Rose pointed out a couple of registry keys (the 2005 package is the one Clarion apps need):

  • VC++2005 (SP1): HKLM\Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\B25099274A207264182F8181ADD555D0
  • VC++2008 (sp1): HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}
  • VC++2008 (original): HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}

The easiest way to deal with this seems to be to build your installs with LinderSoft's SetupBuilder, which can install the 2005 redistributable if it isn't already present. Yes, SetupBuilder is an additional cost but if you ship product it's almost certainly a wise investment even without this feature. 

 

  • No labels