Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / Distribute compiled Reginald exe onto Vista

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Distribute compiled Reginald exe onto Vista
#13046
Posted by: PeterJ 2009-06-30 20:10:45
When I distribute compiled exes onto Windows XP PCs without Reginald installation it works quite well when I also ship the essential rex dlls (reginald, LiteUnzip, rxconsole, rexGui, etc.).
Now I have tried it the first time with a Vista PC, and fail. It says rxconsole is missing, although all DLLs are place in the same directory as the EXE. I checked the MSN documentation about dll search sequence, and it says the first place where it tries to fetch the DLL is the directory where the exe is stored. I wonder now if during the exe start a kind of unzip occur (liteUnzip is one of the necessary modules), which uses another (temporary) directory. Has anybody had a similar problem with Vista?

Peter
Message2.
#13047
Posted by: PeterJ 2009-07-01 01:47:39 Last edited by: PeterJ 2009-07-01 01:49:51 (Total edited 1 time)
I might be wrong with my assumption: I thought the Vista installation was a clean set up, but I suspect it was an update, which means there seem to be reginald registry entries left, without the appropriate reginald directory.
It seems the exe call tries to load all dlls from the standard reginald directory if it has an reginald registry entry. As the Reginald directory has gone it fails, and doesn't try to take it from my application directory.
I ran the reginald uninstall exe and all of a sudden my Reginald exe uses the modules from my applicationm directory.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Tue 2024-5-21  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0