You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/01 17:03:40 UTC

[jira] Commented: (AXISCPP-183) The stubs need to include __declspec(dllexport) on all public method

The following comment has been added to this issue:

     Author: Andrew Perry
    Created: Fri, 1 Oct 2004 8:01 AM
       Body:
There is a #define for this called STORAGE_CLASS_INFO in GDefine.h which  sets __declspec(dllexport) for windows only.

 
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-183?page=comments#action_53588

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-183

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-183
    Summary: The stubs need to include __declspec(dllexport) on all public method
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Axis-C++
 Components: 
             WSDL processing

   Assignee: 
   Reporter: Fred Preston

    Created: Fri, 1 Oct 2004 7:54 AM
    Updated: Fri, 1 Oct 2004 8:01 AM
Environment: n/a

Description:
Problem
When the stub is build as a DLL and the client tries to link to it, because the public interface is not exported, link errors occur.

Solution
By prefixing all public defined methods with '__declspec(dllexport)' in the stub generated header files, all of the method will be available to the client.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira