473,320 Members | 2,162 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,320 software developers and data experts.

looking at a C++ dll with a .NET wrapper. need help.

In Visual Studio I use object viewer to look at a .NET wrapped dll. One
class has this signature:

public abstract class Slider : ODE.Joints.Joint
I don't think the "Slider" class should be abstract so I'm looking at
the source code (c++) to this wrapper and dll.

For those interested the full source code is here:
http://www.thejamesrainenetwork.co.u...et.src.050.zip
Am i taking crazy pills or is the slider class in the following code
not abstract??? Visual Studio from compiled dll says it is.

http://kjo.myip.org/files/SliderJoint.cpp
http://kjo.myip.org/files/SliderJoint.h
I could really use some clarification.

V.

Jul 23 '05 #1
4 1490
vidalsasoon wrote:
In Visual Studio I use object viewer to [...]


Please refrain from cross-posting this to comp.lang.c++ since it's
off-topic there. Thanks!
Jul 23 '05 #2
Read past the first sentence.

Jul 23 '05 #3
kj*****@gmail.com wrote:
Read past the first sentence.


'abstract' is not a C++ keyword. Notation ODE.Joints.Joint is not C++
notation (not in the base class section of the class definition anyway).
The code presented is not C++ code. That's why it's OT in comp.lang.c++
Get it?
Jul 23 '05 #4
vidalsasoon wrote:
In Visual Studio I use object viewer to look at a .NET wrapped dll. One
class has this signature:

public abstract class Slider : ODE.Joints.Joint
I don't think the "Slider" class should be abstract so I'm looking at
the source code (c++) to this wrapper and dll.

For those interested the full source code is here:
http://www.thejamesrainenetwork.co.u...et.src.050.zip
Am i taking crazy pills or is the slider class in the following code
not abstract??? Visual Studio from compiled dll says it is.

http://kjo.myip.org/files/SliderJoint.cpp
http://kjo.myip.org/files/SliderJoint.h
I could really use some clarification.


An abstract base class is a class with at least one virtual method which is also denoted
as "=0". Like this:
class SomeClass
{
public:
virtual void somefunc()=0;
};

A .NET *managed* abstract class (which is off topic here), can be defined like this:
__gc __abstract class SomeClass
{

};
--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #5

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

Similar topics

1
by: Mark McEahern | last post by:
I just wrote a very simple wrapper for the PayFlow Pro SDK (see below). A friend of mine did this before, but I didn't have access to his source, so I took it as a learning opportunity for me to...
5
by: vidalsasoon | last post by:
In Visual Studio I use object viewer to look at a .NET wrapped dll. One class has this signature: public abstract class Slider : ODE.Joints.Joint I don't think the "Slider" class should be...
4
by: Stephen | last post by:
Hi I am currently developing a web application that has a third party component on it. The third party component is a graph component from Xceed that uses a number of dlls. The problems occur...
4
by: Gary Bond | last post by:
Hi All, Can anybody point me to some 'how-to' documentation, tutorials, etc as to how to write a shrink/protect wrapper for .Net exes/dlls, (like the Shrinkwrap product for instance). I have...
9
by: Julien Biezemans | last post by:
Hi! Here is the problem: I'd like to restrict local filesystem stream operations to one directory just like a root jail. fopen('/file.bin') would actually open /some/path/file.bin. One goal...
12
by: joshuapking | last post by:
I'm having a very difficult time coming across an appropriate solution for this seemingly simple problem. I've written a managed wrapper class for some legacy C++ routines. One routine generates...
2
by: MyCrystalGift | last post by:
Hi, I have an old C++ GUI Application CPPAPP.exe that calls a C DLL library RULE.DLL through a C++ class wrapper LoadRule.CPP. Now I need to call the C DLL RULE.DLL from C# GUI application...
8
by: Seth7TS | last post by:
Hi everyone, i need to make a protection for a fortran software(a line command in linux). My desire is to write a C wrapper that control the execution of the program. Can someone help me? i dont...
5
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... I've got a .Net client to a soap service that works for the most part, but there are a couple of things I'd like to improve: 1) the first request to the client wrapper always takes...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.