86569

XP embedded CRT version issue.. LoadLibraryEx failing

Question:

I am using a third party dll in my application which is destined to be run on a Windows XP embedded SP1 system.

It runs fine on my dev box however, but when I try to run it on target platform it fails with following event. This event occurs when I call LoadLibraryEx to load the third party DLL.

Event Type: Error Event Source: SideBySide Event Category: None Event ID: 32 Date: 9/8/2011 Time: 9:42:28 AM User: N/A Computer: OEM-J1XMVGHGNVX Description: The description for Event ID ( 32 ) in Source ( SideBySide ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Microsoft.VC80.CRT, The referenced assembly is not installed on your system.

I found that installing Microsoft Visual C++ 2005 Redistributable Package will solve the problem, but I cannot do that as it is an embedded platform and MSI doesn't run on it. I tried copying dll files msvcm80.dll, msvcp80.dll and msvcr80.dll to the system but that did not solve the problem.

Answer1:

Put all your EXE's and DLL's in one directory, including the CRT ones. Copying works provided you put them in the right place.

Answer2:

I found the solution and posting it here for someone struggling with similar problem.

I copied the folders and files related to CRT 80 from my work computer WinSxS directory to target platform and it worked.

I copied directory named "x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989" which contains CRT dlls. copied related files from "Policies" and "Manifests" directories.

Recommend

  • solr group.field nullpointer exception
  • jQuery: How do I rewrite .after( content, content )?
  • Display Multiple selected rows from gridview to mutiple textboxes in c#
  • which version of adb interface for android “nexus 7” 2013
  • Detect and prevent/delay windows mobile power off
  • how to remove comments from a bash script
  • ElasticSearch and Apache HttpAsyncClient
  • How to update data into a file in a particular position in js
  • Cross-origin request blocked, origin 'null' no access
  • Bcrypt installation fails in Docker
  • How do I send a form with a request promise?
  • How to read files recursively in Java 7?
  • How to release buffer created by libjpeg?
  • Passing array length to function
  • Linked list in C, no member error
  • Easiest way to covert part of a byte array to uint16
  • Update a record where _id = :id with Mongoose
  • adjust iframe height based on the content
  • GRPC and types import error in App Engine Datastore
  • Nodejs bluebird promise fails while processing image
  • Loading fixtures in sails tests
  • Login not working in Firefox in Meteor
  • Needing to do .toArray() to get output of mongodb .find() on key name not value
  • MongoError: Incorrect arguments
  • Row Count Is Returning the incorrect number using RaptureXML
  • Illegal mix of collations for operation for date/time comparison
  • How to recover from a Spring Social ExpiredAuthorizationException
  • Obtain ObjectIdHex value from mgo query
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Javascript + PHP Encryption with pidCrypt
  • Release, debug version and Authorization Google?
  • Websockets service method fails during R startup
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • Why can't I rebase on to an ancestor of source changesets if on a different branch?
  • Hits per day in Google Big Query
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • LevelDB C iterator
  • How can I remove ASP.NET Designer.cs files?
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]