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

  • SEARCH
  • Home
  • 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 207829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:46:14+00:00 2026-05-11T17:46:14+00:00

The windows forms control library project (C++) I writes uses an unmanaged dll. The

  • 0

The windows forms control library project (C++) I writes uses an unmanaged dll. The unmanaged dll has a header file (a Cheshire cat). And I just include it in the control library project. And calls functions in the unmanaged dll (of course with proper marshaling). This compiles and builds. The problem is when I go ahead to add the control to the tool box of my scaffolding, which is a Managed C++ winform application, VS2005 complains that it is not a .Net module.

I have seen people converting using MFC dlls as windows forms controls. What am I doing wrong?.

  • 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-05-11T17:46:14+00:00Added an answer on May 11, 2026 at 5:46 pm

    Maybe it’s because VS2005 does not find your native .DLL. This .DLL is searched in the “normal” manner for native .DLLs:

    • Current directory (I think it is mostly the start-up dir of VS)
    • App direcotry (somewhere in %ProgramFiles%\Microsoft Visual Studio…)
    • %PATH% dirs.

    You could try to put your native DLL somewhere in the above mentioned dirs and try if you get better results.

    I would absolutely recommend to make your native part static and statically link it into your .NET project (if that is possible) because it would avoid the native .DLL finding problem. (This is what I did because of the many problems. For example we have a Translator tool [SDL Passolo] that can handle .NET DLLs and pack them into translator packages including all referenced DLLs…but only .NET DLLs but not native DLLs!).

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

Sidebar

Related Questions

According to http://msdn.microsoft.com/en-us/library/system.windows.forms.linklabel.aspx , the LinkLabel class has both a Click event inherited from
I am creating a Windows Forms control derived from UserControl to be embedded in
I have a TreeView windows forms control with an ImageList , and I want
I've created a windows forms control, which is hosted in a web page viewable
Take the method System.Windows.Forms.Control.Invoke(Delegate method) Why does this give a compile time error: string
does anyone know about a windows forms control that acts like the address bar
I am using a third-party Windows Forms control that performs some actions delayed using
I have written a control in C# that derives from System.Windows.Forms.Control. I have added
I'm writing a custom control derived from System.Windows.Forms.Control . The control is using the
If you set the Visible property of a Windows Forms control to true, that

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.