question - using classes from a DLL

J

Jake D

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
 
M

Mike Wahler

Jake D said:
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
 
J

Jake D

Mike Wahler said:
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.
 
K

Kevin Goodsell

Jake said:
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
 
W

White Wolf

Kevin said:
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.
 
K

Kevin Goodsell

White said:
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
 
W

White Wolf

Kevin said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top