Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
I have a dll file with abc() (imported function), I want to call it in C++. How to do this? Thanks.
Posted
Comments
Albert Holguin 29-May-12 10:32am    
You could have googled for this... don't ask questions that you can find by doing some simple research.
Andrewpeter 29-May-12 10:52am    
Thanks, but I dont find it.
Sergey Alexandrovich Kryukov 29-May-12 13:22pm    
How come..?
--SA
Sergey Alexandrovich Kryukov 29-May-12 13:26pm    
No wonder, because OP "wants" to use imported, not exported function -- please see all the comments. What makes no sense is usually harder to find... :-)
--SA
Sergey Alexandrovich Kryukov 29-May-12 13:21pm    
Imported or exported? If you want to import from a DLL, that DLL should export... :-)
--SA

1 solution

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 29-May-12 13:22pm    
[OP commented:]

Thanks, but it calls exported function there, not imported function. Hope you help me.
Sergey Alexandrovich Kryukov 29-May-12 13:24pm    
Nobody can help you if you don't understand your question. No, you don't. What you say makes no sense.
I suggest you read the referenced material thoroughly, use it, and formally accept this answer (green button).
--SA
Sergey Alexandrovich Kryukov 29-May-12 13:24pm    
Good enough, a 5.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900