Error when implementing interfaces | Bytes (2024)

Home Posts Topics Members FAQ

Marcelo

Hi,

I have the following scenario:

In class A, I implement an interface.
In class B, I implement another interface.

When compiling, it complains about X that appears as a
struct and then as a class...

Which information would be necessary so someone can help
me??

TIA

Marcelo

Nov 16 '05 #1

Subscribe Reply

1 Error when implementing interfaces | Bytes (1) 822 Error when implementing interfaces | Bytes (2)

Ronald Laeremans [MSFT]

A small repro case (i.e. example that reproduces the problem) would be most
useful.

Ronald Laeremans
Visual C++ team

"Marcelo" <sm***@h0tmail. com> wrote in message
news:24******** *************** ******@phx.gbl. ..

Hi,

I have the following scenario:

In class A, I implement an interface.
In class B, I implement another interface.

When compiling, it complains about X that appears as a
struct and then as a class...

Which information would be necessary so someone can help
me??

TIA

Marcelo


Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4 2553

accessibility error

by: Steven Quail |last post by:

Hi to all, I am trying to get the hang of using interfaces and for some reason I am getting the "inconsistent accessibility where property ... is less accessible than property ...(cs0052)". What I have is the following: (sorry if the syntax is incorrec)

C# / C Sharp

4996

C# application Updater Log Error

by: Rhon Stewart via DotNetMonster.com |last post by:

Hi please visit this link : http://www.eggheadcafe.com/articles/pfc/selfupdater.asp I followed all the steps for listed on the link , when I execute the application it it gives me the following error on the log file: --- ApplicationUpdateManager.StartUpdater] : The Updater has started; the target application's name is 'SayHello'. Time started: 2005_03_01_14:33:21.

C# / C Sharp

1702

Application Updater Error

by: Rhon Stewart via DotNetMonster.com |last post by:

Please visit the following link: http://www.eggheadcafe.com/articles/pfc/selfupdater.asp Here A complete code for using Application updater , I downloaded the code from the link. When I run the application I found this error in the log: --- : The Updater has started; the target application's name is 'SayHello'. Time started: 2005_03_03_16:47:14.

C# / C Sharp

1002

Implementing C# Interfaces into a managed C++ Class?

by: Matt Sipes via DotNetMonster.com |last post by:

my C# code interface: namespace IShared; { public interface IChannelEntity { void SendMsg(string p_msg); void Exit(); } public interface IChannelEntityCallBack

.NET Framework

1 4371

Configuration error with 'Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces'

by: Oney |last post by:

I use Microsoft Exception management block to publish exception to event log. but some error occured. Error is blow, how can I solve this problem ??? Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

ASP.NET

2 3404

pendingCallbacks[..]async java script error - Cleint Callback

by: Anand |last post by:

Hi Season Greetings, I'm trying to implement client call backs in my page. i'm using user controls (composite controls) and these are placed in my master page. I'm implementing ICallbackEventHandler and ICallbackContainer interfaces in my user control class to generate the callback, and i palced the respective javascript function in master page to receive results, and populated to a asp list box (typically i've to populate a list box...

ASP.NET

1 4723

ASP.NET 2.0 deployment (w/ SQL Srvr 2005) error

by: John Shadel |last post by:

I have the following setup: 1. ASP.NET 2.0 web app hosted on a web server (inetpub directory hosting physical files of the web site on a different drive name, E: than the SQL Server Instance, which is on C:) 2. SQL Server on the same server, with security settings enabling ASPNET group and groups containing users allowed to interact with the website added to SQL Server Instance security settings. 3. Impersonation = true, i.e. ASPNET...

C# / C Sharp

13 2112

extending classes and implementing interfaces C++ style

by: interec |last post by:

I have some code in Java that I need to translate into C++. My Java code defines a class hierarchy as follows: // interface IA public interface IA { public abstract void doA(); } // interface IB

C / C++

6 2623

When to use Delegates

by: =?Utf-8?B?Sko=?= |last post by:

I have a logger component that logs to multiple sources, ie textfile, eventlog etc. and I have two methods that depending on where I call up my logger comp. one of them will be called. For ex. if I throw an exception I want to call one method and if I dont, I am just logging some info to eventlog, I will call the other. Now i'm wondering would it make sense to use delegates, one for each method to call methods in my window service? How...

C# / C Sharp

1996

Help. Getting a An error has occurred while establishing a connectionto the server. When connecting to SQL Server 2005, this failure may be causedby the fact that under the default settings SQL Server does not allow remote

by: aboutjav.com |last post by:

Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ((string)(this.GetPropertyValue("Address1")));

ASP.NET

8304

What is ONU?

by: marktang |last post by:

ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...

General

8734

Problem With Comparison Operator <=> in G++

by: Oralloy |last post by:

Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...

C / C++

8672

Maximizing Business Potential: The Nexus of Website Design and Digital Marketing

by: jinu1996 |last post by:

In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...

Online Marketing

8539

Discussion: How does Zigbee compare with other wireless protocols in smart home applications?

by: tracyyun |last post by:

Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...

General

7246

AI Job Threat for Devs

by: agi2029 |last post by:

Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...

Career Advice

1 6138

Access Europe - Using VBA to create a class based on a table - Wed 1 May

by: isladogs |last post by:

The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...

Microsoft Access / VBA

4235

Windows Forms - .Net 8.0

by: adsilva |last post by:

A Windows Forms form does not have the event Unload, like VB6. What one acts like?

Visual Basic .NET

1 1844

How to add payments to a PHP MySQL app.

by: muto222 |last post by:

How can i add a mobile payment intergratation into php mysql website.

PHP

2 1547

Comprehensive Guide to Website Development in Toronto: Expert Insights from BSMN Consultancy

by: bsmnconsultancy |last post by:

In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

General

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisem*nts and analytics tracking please visit the page.

Error when implementing interfaces | Bytes (2024)
Top Articles
Latest Posts
Article information

Author: Rueben Jacobs

Last Updated:

Views: 6456

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Rueben Jacobs

Birthday: 1999-03-14

Address: 951 Caterina Walk, Schambergerside, CA 67667-0896

Phone: +6881806848632

Job: Internal Education Planner

Hobby: Candle making, Cabaret, Poi, Gambling, Rock climbing, Wood carving, Computer programming

Introduction: My name is Rueben Jacobs, I am a cooperative, beautiful, kind, comfortable, glamorous, open, magnificent person who loves writing and wants to share my knowledge and understanding with you.