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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:33:21+00:00 2026-06-17T02:33:21+00:00

I have a project using C++/CLI. Then I have an event handler like this

  • 0

I have a project using C++/CLI. Then I have an event handler like this one:

void NotificationSystemEventHandler::NotificationServiceDetailViewRequested(System::Object^ sender, Notifications::NotificationViewer::DetailViewOpenRequestedEventArgs^ e)
{
    try
    {
        switch (e->Type->ID)
        {
            (...)

The class DetailViewOpenRequestedEventArgs has one property called Type of type DomainModel::CMN::NotificationType^

Then the NotificationType class has a property called ID of type int. When I’m accessing the property I get a C2039 saying that ID is not a member of NotificationType when it really is as I can see the property on the Object Browser.

The only strange thing is that Intellisense gives an error when trying to find the type and says that the type has no members but seems as the compiler can still resolve the type correctly but not its members.

I’m using the class at several other places. I can supply more info / images if requested to help clarify things.

These are the images of the issue:

The error message:
The error message

The object browser:
The object browser

The wrong popup:
enter image description here

  • 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-17T02:33:23+00:00Added an answer on June 17, 2026 at 2:33 am

    Removing all the references and adding them again to the project solved the issue ….

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

Sidebar

Related Questions

We have an old project written using Managed C++ syntax. I would like to
I'm using Visual Studio 2005 and I have a C++/CLI project I'm using as
I have a project using DynamicJasper to create reports. It works fine so far,
I have a project using ASIHTTP to multi download files from a site when
We have a project using FluentNibernate to map the entities. Now I need to
I have a project using Lucene3.5 already. Now i need to provide web search
I wonder a case. I have a project using a database (Oracle and Mssql).
I have a project that using some third-party libraries. My questions is how to
i have a JavaScript project (using jquery), inside it i draw a canvas by
I have a lein project (using cascalog--but that's not particularly important). I'm trying 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.