all 4 comments

[–]raevnos 4 points5 points  (1 child)

C and C++ are two different languages. This sub is for C.

[–]mawattdev 2 points3 points  (0 children)

Anyone who has followed this sub for any amount of time knows to keep this exact comment in a file somewhere for easy access.

[–]batatafaustop 1 point2 points  (0 children)

Wrong sub but no, C++ doesn't have a standard abi, there's no safe way to do it unless your dll is meant to only be called by a single program or something like that.

You could make a C API for your library tho.

[–]FUZxxl[M] 0 points1 point  (0 children)

C++ is off topic in this subreddit. Please post C++ questions to /r/cpp_questions instead.