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 7640093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T08:35:20+00:00 2026-05-31T08:35:20+00:00

I have a class library which is called through COM from a Third Party

  • 0

I have a class library which is called through COM from a Third Party RAD application (Omnis Studio), the library provides .NET functionality such as a SQL/Web Service bridge. I’ve had to add further methods to display a WPF form which fires events back to the original application.

This all works fine, the project has to be a class library and could not be an executable which meant that I cannot select a manifest for the project in the Application Options Tab. The main problem I have now is that without the piece of XML below in my manifest file I cannot get the modern windows dialog buttons so the buttons in message boxes look somewhat antiquated.

<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->

<dependentAssembly>
  <assemblyIdentity
      type="win32"
      name="Microsoft.Windows.Common-Controls"
      version="6.0.0.0"
      processorArchitecture="*"
      publicKeyToken="6595b64144ccf1df"
      language="*"
    />
</dependentAssembly>

So is there a way that I can achieve the same effect from having those lines in the manifest file but performed by bespoke code in an entry point into the class library?

Thanks

Paul

EDIT

To add clarification for Rahmound’s comment:

I don’t think you understood the question. Firstly I made no mention of this being a Windows Form application, there are zero Windows Forms assembly references in the project, only WPF presentation assemblies. The project has to be a class library as the THIRD party application (which is a C++ unmanaged application) can only consume .NET class libraries, there was a need to display a very custom form, this could be achieved in the current project and I chose WPF because that’s where most of my desktop app skills lie and it suited WPF’s databinding model. We are very pleased with the end result, the only issue I have is with my application needing to use XP+ themed Windows controls, if that section above is not in the app.manifest then instead message boxes use the old style OK, Cancel buttons which is not in keeping with all other buttons I have in my application.

This question explains the message box problem

What I need is to be able to achieve the same thing but without having the embedded app.manifest.

  • 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-31T08:35:20+00:00Added an answer on May 31, 2026 at 8:35 am

    I couldn’t solve this and time was running out, following on from Hans suggestion I ended up using the Extended WPF Toolkit as I also wanted to use other controls such as the ColourPicker.

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

Sidebar

Related Questions

I have written a class library in C# (mydll.dll) which accesses a third party
I have created a class library called AddServiceLibrary in which I have a method
I have a WCF Web Service which is referenced from a class library. After
In Visual Studio 2008 I have a Class Library project (called Media ) to
I have an class library called ServiceLayer which acts as a repository for a
I have the following problem compiling a C++ file from a third-party library in
I have created a library class for a control circuit which communicates through a
I have a class library project which contains some content files configured with the
I have an solution in VS 2008 which contains two class library projects and
I have a class, which is part of a code library project that was

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.