V4MD 4.6 AND Director 11.5 AND Windows XP

Roland HILDEBRANDT r.hildebrandt at sbt.fr
Tue Jun 8 09:21:25 CDT 2010


Hi Ruslan,

On 08/06/2010 07:11 Ruslan Zasukhin <ruslan_zasukhin at valentina-db.com> 
wrote

> So it seems that the director projector / valentina.x32 doesn't load the
> dll from Microsoft.VC80.CRT folder in application folder (or that it is 
a
> bad version but this is rarely a problem because a lot of systems have
> this library installed in winsxs).

* It cannot be bad version. Because our installer maker take it from the
same Visual 2005, which we use to build V4MD and other Valentina DLLs.

* yes, this is very rare problem, and after years of researching we have
found this reason at March 2010.

>>>> OK so problem is coming from some dependencies which might be missing 
in some rare cases.

> We have tested to put the dlls of the Microsoft.VC80.CRT folder at the
> root of the application but this doesn't work.

This DLLs should be in THAT Microsoft.VC80.CRT

>>>> You're right we tested to trace which dll where loaded and they are.

This is described in Visual C++ apps, Deployment Docs part.
 
> Installing the MS redistribuable package for MS Visual C++ solves the
> problem.

ok

>>>> 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.
 
> Any idea of what to change in order to get the valentina.x32 working
> without installing the MS package?

We don't know ...   :-(

>>>> so we have decided to install the MS package to be sure.

-----------------------
> By the way using a vcomponents or vresources folder in the application
> folder to put all the valentina dlls doesn't work too

Wrong. I think you have misunderstood something.

> and for all dlls 
> (not only Microsoft.VC80.CRT) . It only works when we puts the dlls
> directly at the root of the application folder.

Right dlls must be in APP.EXE folder.

> But as written in the wiki it should work:
> 
http://www.valentina-db.com/dokuwiki/doku.php?id=valentina:products:adk:v4md:m

> anual:deployment:win
> "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 folder also here. "

>>>> all right understand but seems it is not glass clear in the wiki.
Better would be:
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. 



I try explain again this/
Should be

MyAppFolder
    MyApp.exe
    vshared.dll
    vkernel.dll
    vclient.dll
    vresources             folder
    Microsoft.VC80.CRT     folder
    Xtras                  folder  <<< only for V4MD
        V4MD


LOGIC is next:

1)    you do Valentina.Init()

      so  V4MD.dll calls -> Vshared.dll

 
2) vshared.dll   check if exists vresources fodler in the same fodler.

 if yes, then vshared do manual LOOAD of VKERNEL or VCLIENT dlls to RAM 
from
THIS MyAppFolder. 

 if not then vshared try to load them from central place
        Program Filers / Paradigma Software / vcomponents

 
> So maybe there is a problem in the process of loading dlls. It might be
> worth checking it!
> 
> The Service packs of XP didn't install the MS Visual C++ library as we
> have tested all the packs without any changes.
> 
> Best regards
> 
> Roland Hildebrandt

-- 
Best regards,

>>>> Thanks for all the help!

Roland Hildebrandt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macserve.net/pipermail/valentina/attachments/20100608/903998bc/attachment.html 


More information about the Valentina mailing list