This forum has been archived. Please start a
new discussion on GitHub
end_ methods not exported from DLL builds
While migrating some of our software to use the new typesafe asynch callbacks from a DLL, the end_xxx methods appear not to be exported from the DLL. Am I missing something?
Welcome to the forum!
You're right about the end_ methods. Thanks for reporting this.
Not sure if it fixes all cases, but it seems to have fixed my broken build:
--- ../old/Gen.cpp 2010-02-25 15:55:42.000000000 +0000
+++ Gen.cpp 2010-04-09 08:28:48.553682100 +0100
H << nl << "return begin_" << name << spar << argsAMI << "&__ctx" << "__del" << "__cookie" << epar << ';';
H << eb;
- H << sp << nl << retS << " end_" << name << spar << outParamsDeclAMI
+ H << sp << nl << _dllExport << retS << " end_" << name << spar << outParamsDeclAMI
<< "const ::Ice::AsyncResultPtr&" << epar << ';';