-
July 7th, 2021, 12:33 AM
#1
exporting Library functions to some Apps
In VS MFC DLL, for exporting functions with arguments returning values, etc., which is the most compatible in general?, Includes exporting to some other C/C++ Apps using different IDEs, .Net, etc.?.
__declspec(dllexport) void __cdecl Function1(int &val); // return val
__declspec(dllexport) void __cdecl Function1(int *val); // return val
Last edited by @EE@; July 7th, 2021 at 06:43 AM.
-
July 7th, 2021, 01:47 AM
#2
Re: exporting Library functions to some Apps
I never did/needed it, so can only guess.
Have a look at https://www.py4u.net/discuss/758045
Victor Nijegorodov
-
July 7th, 2021, 06:49 AM
#3
Re: exporting Library functions to some Apps
How about if DLL is exporting functions with such arguments, going to be used in all other non .Nets?. like in C++ non VS IDEs, etc. Apps. Pass by reference arguments works better or pass by pointer?. like to add to my own real experiences.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|