473,383 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Problem in Writting parameterised property in Managed C++

I have written a managed C++ dll. I have to use that dll from C#,
VB .NET and VB. It has got a parameterised propetyfor the very
specific requirement. For example get_Pie(float f).

When I am using that dll from another Managed C++ application, VS
2003/2005 IDE is displaying one property and one method for that. i.e.
displaying "get_Pie" as method and "Pie" as property. But when I am
using that dll from C#, it is displaying only method "get_Pie" and in
VB it is displaying "Pie" as property.
Why different IDE behaving different?
How can I solve this issue?

Jun 29 '07 #1
1 1577
On Jun 29, 11:02 am, DebGuria <d_gu...@hotmail.comwrote:
I have written a managed C++ dll. I have to use that dll from C#,
VB .NET and VB. It has got a parameterised propetyfor the very
specific requirement. For example get_Pie(float f).

When I am using that dll from another Managed C++ application, VS
2003/2005 IDE is displaying one property and one method for that. i.e.
displaying "get_Pie" as method and "Pie" as property. But when I am
using that dll from C#, it is displaying only method "get_Pie" and in
VB it is displaying "Pie" as property.
Why different IDE behaving different?
How can I solve this issue?
C# doesn't have parameterised properties that can be accessed by name
- only indexers. I'm afraid I don't know the C++ syntax to indicate
that a property should be regarded as an indexer for a type.

Jon

Jun 29 '07 #2

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

Similar topics

0
by: Wayne Gibson | last post by:
Hi all, Please ignore the other post.. The cat jumped on the machine and sent it before I could stop it!! Was wondering if anybody has expericence this problem.. I am writting an application...
3
by: Phil | last post by:
Hi, I have a client/server app. that uses a windows service for the server and asp.net web pages for the client side. My server class has 3 methods that Fill, Add a new record and Update a record....
5
by: u7djo | last post by:
I've built a query in Access and added a parameter to it called . I'm trying to load the recordset by using an ADO command and attaching a parameter to it but I keep getting an error message when...
2
by: Dick Swager | last post by:
The following code is from a solution with a C++ project and a C# project. The C++ project creates a managed array and the C# project tries to use it. But I am having a 'System.ValueType' to...
9
by: mupe | last post by:
Hi, i have a problem with a Type Library, which is written in C++. I am developing an application in C#.NET and have to use functions from this COM-Type Library. When I use these functions in...
29
by: wizofaus | last post by:
I previously posted about a problem where it seemed that changing the case of the word "BY" in a SELECT query was causing it to run much much faster. Now I've hit the same thing again, where...
1
by: DebGuria | last post by:
We are writing a wrapper in Managed C++. Wrapper is based on a C dll. That wrapper will be used from .Net based application and VB also. Our initial understanding that a .NET Application...
0
by: marinhof | last post by:
hi i need some guidance.. this is the situation im working on web app using Visual studio 2003 working with C# and asp.net the database is managed by sql studio managmnet 2005.. the thing is i...
0
by: =?Utf-8?B?RGFt?= | last post by:
Hi, I'm developing an ASP .NET application that writes in user object properties of Active Directory. I specifed writting rights for users or groups in the domain by using the AD console. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.