Re: binary execution

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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

.



Relevant Pages

  • RE: Strange dependencies added by rpmbuild
    ... I didn't cross-check the entire list of dependencies I ... I build the rpm by running the binary installer on a "build-machine" ... required libraries before installing. ...
    (RedHat)
  • Re: Preliminary analysis of existing ASDF practices
    ... There is no problem with the graph image. ... ASDF can improve over it, ... these libraries are going to be built in very different environments ... dependencies on the actions themselves. ...
    (comp.lang.lisp)
  • Re: xawtv problems
    ... >> I wonder if xawtv is making a gfx call that causes rivafb.ko to load. ... At one time nVidia suggested that the Mesa libraries be removed. ... before and after running the nVidia installer in initstate 3. ...
    (Fedora)
  • Re: Good math/stats libraries for Ruby?
    ... I'm not sure of the best overall scheme for structuring dependencies ... current ruby math libraries are gems. ... I don't mean to say that Python is crummy like ... It doesn't seem like basic scientific and math libraries ...
    (comp.lang.ruby)
  • Re: manifest vc8.0 problem
    ... the libraries that is not found or installed. ... application and this time i chose not to embed the manifest. ... linking, include the run-time libraries with your installer, or send a link ... work and like to test it on the other lab computers for which i don't ...
    (microsoft.public.vc.language)