Re: binary execution
- From: Kerem Gümrükcü <kareem114@xxxxxxxxxxx>
- Date: Wed, 3 Jun 2009 18:52:29 +0200
Hi Peter,
if its a managed application, use this:
[Assembly Binding Log Viewer (Fuslogvw.exe)]
http://msdn.microsoft.com/en-us/library/e74a18c4.aspx
if its a native aplication, then use this:
[Dependency Walker]
http://www.dependencywalker.com/
For future: Try to avoid exotic libraries and try to
work with standard stuff. And if you are forced to
use any third-party or own libraries, either merge them
into one single library, or make sure your installer
carries and installs them to the target system properly.
Before you execute your application, make sure all
dependencies have been resolved.
I work on a application (in my spare time) that
checks all the bindings and dependencies before
launches any functions by trying to load the libraries
(as datafile only!) or by checking physical existence
and version number, signature/timestamp of the required
files and libraries. If something is missing it unpacks
the resource from its memory or accompanied library
storage. Finally it binds and locks the files from deletion
and starts to run. maybe this is a approach for you,...
Good Luck!
regards
Kerem
--
--
----------------------- Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Latest Project: http://www.pro-it-education.de/software/deviceremover
Latest Open-Source Projects: http://entwicklung.junetz.de
----------------------- "This reply is provided as is, without warranty express or implied."
"Peter" <pcpc168@xxxxxxxxxxxxx> schrieb im Newsbeitrag news:#mQ4pWG5JHA.3860@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
I have a program compiled under windows XP with visual studio 2005.
when I run the binary, I got the error message:
The system cannot execute the specified program.
checked event log and it contains the following information:
Generate Activation Context failed for c:\xx\abc.exe.
Reference error message: The referenced assembly is not installed on your system.
The machine has visual studio 2005 installed and do I need to install any additional run time to get it work?
thanks
peter
.
- Follow-Ups:
- Re: binary execution
- From: Peter
- Re: binary execution
- References:
- binary execution
- From: Peter
- binary execution
- Prev by Date: binary execution
- Next by Date: Re: How to set REadonly permission of a folder.
- Previous by thread: binary execution
- Next by thread: Re: binary execution
- Index(es):
Relevant Pages
|