Home Bug Reports

end_ methods not exported from DLL builds

wilwilwilwil Member William WilkinsonOrganization: Winton CapitalProject: Trading System
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?

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    Welcome to the forum!

    You're right about the end_ methods. Thanks for reporting this.

    Regards,
    Mark
  • wilwilwilwil Member William WilkinsonOrganization: Winton CapitalProject: Trading System
    patch

    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 << ';';
    if(generatePrivateEnd)
    {
Sign In or Register to comment.