Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7765615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:12:33+00:00 2026-06-01T15:12:33+00:00

I have an ironpython app that uses dlls. Some of the dlls written in

  • 0

I have an ironpython app that uses dlls.
Some of the dlls written in c#, and one is in managed c++.
The app works fine on my host, and on any host that includes visual studio (2010) installation.

When I tried to run this app on hosts without vs, It failed. After some checking I discovered that ironpython cannot load the c++ dll.
After installing vs – the app runs fine.

I narrowed it down: the dll can be uploaded after the installation of:
-Microsoft application error reporting
-VC 9.0 Runtime(x86)
-VC 10.0 Runtime(x86)
-Microsoft visual studio macro tools

I tried to install Microsoft Visual C++ 2010 Redistributable Package http://www.microsoft.com/download/en/details.aspx?id=5555 and it didn’t do the trick.

  1. Why? what exactly happens in installation of vs, that doesn’t occur when I install Microsoft Visual C++ 2010 Redistributable Package component?
  2. How can I monitor errors that arise when loading dlls with ipy?

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:12:35+00:00Added an answer on June 1, 2026 at 3:12 pm

    The DLL that is written in managed C++ uses a DLL for its standard libraries. You can change it to static libraries. Follow these steps

    1. Open your project properties in Visual Studio (right click on the project)
    2. Click you way to Configuration Properties > C++ > Code Generation
    3. On the right, find Runtime Library and select Multi-Threaded Debug (/MTd)
    4. Do the same for the Release build, but this time select Multi-Threaded (/MT)
    5. Rebuild all

    As for your specific questions :

    1. The redistribuable installer will copy the DLL in the system path. Visual Studio will do the same thing. So if it doesn’t work, make shure that you have the 32 or 64 bit binaries (same as your code, not the platform you are running). +If you are running from a console, close it and start a new one to get the updated path.

    2. Use Dependency Walker. Loading your DLL will show you what it is looking for, it should be enough. To monitor its runtime execution, load IronPython. In the “Profile” menu, select “Start Profiling” and provide a command line that will reproduce your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some IronPython code that is creating a Mutex using the following constructor:
I have installed an IronPython tools for VS2010 and all works fine. But if
I have an embedded scripting engine in my C# application that uses IronPython 2.
I have some IronPython scripts that are embedded in a C# project, and it
I have an IronPython script that uses the TPL and Parallel.ForEach to process files
I have some old python code that uses the pywin32 extensions. Starting out with
I have an IronPython script that looks for current running processes using WMI. The
I have written the following IronPython code: import clr clr.AddReference(System.Drawing) from System import *
I have seen documentation on the IronPython mailing list that describes how to write
I have some IronPython code which makes use of XmlTextWriter which allows me to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.