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

question - using classes from a DLL

I understand how to load a DLL in C++ and use functions from it,
however I have a DLL which I did not create which has some classes in
it. I can't seem to find out how to use the classes to make an object
and then to be able to use methods of the object
Jul 19 '05 #1
6 5407

Jake D <jd*****@richmondnursery.com> wrote in message
news:d3**************************@posting.google.c om...
I understand how to load a DLL in C++ and use functions from it,
however I have a DLL which I did not create which has some classes in
it. I can't seem to find out how to use the classes to make an object
and then to be able to use methods of the object


That's what documentation is for. Read it.
Your question has nothing to do with the C++ language
(the only topic here).

-Mike

Jul 19 '05 #2
"Mike Wahler" <mk******@mkwahler.net> wrote in message news:<jX*****************@newsread4.news.pas.earth link.net>...
Jake D <jd*****@richmondnursery.com> wrote in message
news:d3**************************@posting.google.c om...
I understand how to load a DLL in C++ and use functions from it,
however I have a DLL which I did not create which has some classes in
it. I can't seem to find out how to use the classes to make an object
and then to be able to use methods of the object


That's what documentation is for. Read it.
Your question has nothing to do with the C++ language
(the only topic here).

-Mike


Thanks for being rude but you obviously didnt understand the question.
Its not that I dont know how to use the *specific* classes of that
DLL, I dont know how to use a class from ANY DLL. The documentation
from the DLL only has examples for VB so that doesn't help at all.
Jul 19 '05 #3
Jake D wrote:
"Mike Wahler" <mk******@mkwahler.net> wrote in message news:<jX*****************@newsread4.news.pas.earth link.net>...
Jake D <jd*****@richmondnursery.com> wrote in message
news:d3**************************@posting.google .com...
I understand how to load a DLL in C++ and use functions from it,
however I have a DLL which I did not create which has some classes in
it. I can't seem to find out how to use the classes to make an object
and then to be able to use methods of the object
That's what documentation is for. Read it.
Your question has nothing to do with the C++ language
(the only topic here).

-Mike

Thanks for being rude


Posting off-topic messages is rude, so you were rude first.
but you obviously didnt understand the question.
Its not that I dont know how to use the *specific* classes of that
DLL, I dont know how to use a class from ANY DLL.


Standard C++ (the topic of this group) does not provide any way to
create or use DLLs. Please read the welcome message (as we request all
new posters to do *before* they post - had you looked a few days back in
the posting history, you would have found it under the subject
"===Welcome to comp.lang.c++! Read this first." Reading such messages
before posting is standard Usenet etiquette.):

http://www.slack.net/~shiva/welcome.txt

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #4
Kevin Goodsell wrote:
Standard C++ (the topic of this group) does not provide any way to
create or use DLLs.


OTOH there is an active proposal on the table at the C++ comittee (from Pete
becker IIRC) to add just that. I am not saying that it makes it topical
here. Just FYI.

--
WW aka Attila
Jul 19 '05 #5
White Wolf wrote:
Kevin Goodsell wrote:
Standard C++ (the topic of this group) does not provide any way to
create or use DLLs.

OTOH there is an active proposal on the table at the C++ comittee (from Pete
becker IIRC) to add just that. I am not saying that it makes it topical
here. Just FYI.


That's interesting. I'm not totally sure what to think of it, but I
think it would be a nice addition. On the other hand... the language is
overwhelming for me as it is, and the idea of more additions, ANY
additions, frightens me a bit. But I know they are coming, regardless.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #6
Kevin Goodsell wrote:
OTOH there is an active proposal on the table at the C++ comittee
(from Pete becker IIRC) to add just that. I am not saying that it
makes it topical here. Just FYI.


That's interesting. I'm not totally sure what to think of it, but I
think it would be a nice addition. On the other hand... the language
is overwhelming for me as it is, and the idea of more additions, ANY
additions, frightens me a bit. But I know they are coming, regardless.


They are coming into a Technical Report Draft if they get accepted. After
that the TR has to be accepted. And then it is still a long way from
getting it actually into a new language standard.

Also note, that these additions are mostly non-intrusive. Meaning: if you
do not use them, you do not need to know about them.

--
WW aka Attila
Jul 19 '05 #7

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

Similar topics

5
by: Hal Vaughan | last post by:
I think a lot of this is definately a question of personal programming style, but I'm new to Java and would like to hear a few opinions. I'm writing a control panel for an application that runs...
43
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the...
21
by: Jon Slaughter | last post by:
I have a class that is basicaly duplicated throughout several files with only members names changing according to the class name yet with virtually the exact same coding going on. e.g. class...
12
by: mlimber | last post by:
This is a repost (with slight modifications) from comp.lang.c++.moderated in an effort to get some response. I am using Loki's Factory as presented in _Modern C++ Design_ for message passing in...
11
by: Random | last post by:
I'm confused about the proper use and usefulness of namespaces. I beleive I understand the purpose is so the developer can put classes within namespaces to essentially organize your code. And I...
6
by: rodchar | last post by:
Hey all, I'm trying to understand Master/Detail concepts in VB.NET. If I do a data adapter fill for both customer and orders from Northwind where should that dataset live? What client is...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
6
by: tshad | last post by:
I am playing with Inheritance and want to make sure I understand it. I have the following Classes: ******************************************* Public Class AuthHeader:Inherits SoapHeader Public...
7
by: heddy | last post by:
I have an array of objects. When I use Array.Resize<T>(ref Object,int Newsize); and the newsize is smaller then what the array was previously, are the resources allocated to the objects that are...
7
by: jason | last post by:
In the microsoft starter kit Time Tracker application, the data access layer code consist of three cs files. DataAccessHelper.cs DataAcess.cs SQLDataAccessLayer.cs DataAcccessHelper appears...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...
0
isladogs
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.