Link to home
Start Free TrialLog in
Avatar of oCEAN
oCEAN

asked on

C libraries to be used in visual C++

I currently have a smart card API that provides all the libraries, headers and dll files (all written in C) to communicate with the smart card reader. However I need to use them in Visual C++ (That is to call the functions in the libraries written in C).

How will I link those libraries to my C++ program?
ASKER CERTIFIED SOLUTION
Avatar of Lescha
Lescha

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nietod
nietod

I don't see where that addresses any C++ to C issues.
Sure it does. You have to folow any link on export/import, and on the page there will be several follow-ups, one of them about C to C++, another C++ to C.
I had looked at linkig an EXE to a DLL, which does not seem to mention these issues.  However, I see they are covered under exporting from a DLL.
Avatar of oCEAN

ASKER

Thanks it's been helpful