<br><font size=2 face="sans-serif">Hi Ruslan,</font>
<br>
<br><font size=2 face="sans-serif">On 08/06/2010 07:11 Ruslan Zasukhin
<ruslan_zasukhin@valentina-db.com> wrote</font>
<br><tt><font size=2><br>
> So it seems that the director projector / valentina.x32 doesn't load
the<br>
> dll from Microsoft.VC80.CRT folder in application folder (or that
it is a<br>
> bad version but this is rarely a problem because a lot of systems
have<br>
> this library installed in winsxs).<br>
<br>
* It cannot be bad version. Because our installer maker take it from the<br>
same Visual 2005, which we use to build V4MD and other Valentina DLLs.<br>
</font></tt>
<br><tt><font size=2>* yes, this is very rare problem, and after years
of researching we have<br>
found this reason at March 2010.<br>
</font></tt>
<br><tt><font size=2>>>>> OK so problem is coming from some
dependencies which might be missing in some rare cases.<br>
<br>
> We have tested to put the dlls of the Microsoft.VC80.CRT folder at
the<br>
> root of the application but this doesn't work.<br>
<br>
This DLLs should be in THAT Microsoft.VC80.CRT<br>
</font></tt>
<br><tt><font size=2>>>>> You're right we tested to trace which
dll where loaded and they are.</font></tt>
<br><tt><font size=2><br>
This is described in Visual C++ apps, Deployment Docs part.<br>
<br>
> Installing the MS redistribuable package for MS Visual C++ solves
the<br>
> problem.<br>
<br>
ok<br>
</font></tt>
<br><tt><font size=2>>>>> So it seems that this package installs
some dependencies of the dll in Microsoft.VC80.CRT folder which are needed
to have a completly standalone app.</font></tt>
<br><tt><font size=2> <br>
> Any idea of what to change in order to get the valentina.x32 working<br>
> without installing the MS package?<br>
<br>
We don't know ... :-(</font></tt>
<br><tt><font size=2><br>
>>>> so we have decided to install the MS package to be sure.<br>
<br>
-----------------------<br>
> By the way using a vcomponents or vresources folder in the application<br>
> folder to put all the valentina dlls doesn't work too<br>
<br>
Wrong. I think you have misunderstood something.<br>
<br>
> and for all dlls <br>
> (not only Microsoft.VC80.CRT) . It only works when we puts the dlls<br>
> directly at the root of the application folder.<br>
<br>
Right dlls must be in APP.EXE folder.<br>
<br>
> But as written in the wiki it should work:<br>
> http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4md:m<br>
> anual:deployment:win<br>
> "Note, Valentina searches first of all the application folder
for<br>
> ³vresources² folder. If it finds it here, then Valentina assumes that
all<br>
> other items of Vcomponents folder also here. "<br>
</font></tt>
<br><tt><font size=2>>>>> all right understand but seems it
is not glass clear in the wiki.</font></tt>
<br><tt><font size=2>Better would be:</font></tt>
<br><tt><font size=2>Note, Valentina searches first of all the application
folder for ³vresources² folder. If it finds it here, then Valentina assumes
that all other items of Vcomponents are also at the root of the application
folder. </font></tt>
<br>
<br><tt><font size=2><br>
I try explain again this/<br>
Should be<br>
<br>
MyAppFolder<br>
MyApp.exe<br>
vshared.dll<br>
vkernel.dll<br>
vclient.dll<br>
vresources folder<br>
Microsoft.VC80.CRT folder<br>
Xtras
folder <<< only for V4MD<br>
V4MD<br>
<br>
<br>
LOGIC is next:<br>
<br>
1) you do Valentina.Init()<br>
<br>
so V4MD.dll calls -> Vshared.dll<br>
<br>
<br>
2) vshared.dll check if exists vresources fodler in the same fodler.<br>
<br>
if yes, then vshared do manual LOOAD of VKERNEL or VCLIENT dlls to RAM
from<br>
THIS MyAppFolder. <br>
<br>
if not then vshared try to load them from central place<br>
Program Filers / Paradigma Software / vcomponents<br>
<br>
<br>
> So maybe there is a problem in the process of loading dlls. It might
be<br>
> worth checking it!<br>
> <br>
> The Service packs of XP didn't install the MS Visual C++ library as
we<br>
> have tested all the packs without any changes.<br>
> <br>
> Best regards<br>
> <br>
> Roland Hildebrandt<br>
<br>
-- <br>
Best regards,<br>
</font></tt>
<br><tt><font size=2>>>>> Thanks for all the help!</font></tt>
<br><tt><font size=2><br>
Roland Hildebrandt<br>
<br>
</font></tt>