CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2011
    Posts
    1

    export function using class in dll

    Hi everyone,

    I'm new here and I got a question.

    I am creating a DLL and exporting a function.
    In this function some of my variables (not parameters just variables) I use are in fact classes.
    I would like to know if there will be any problem exporting only the function.
    I am exporting using .def file (I don't have the choice actually)

    I kind of think there shouldn't be any problem

    Thanks a lot

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    5,536

    Re: export function using class in dll

    Function internals never affect the function export. Only parameters and return value matter. Of course we're talking not about member functions.
    Best regards,
    Igor

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts



HTML5 Development Center

Click Here to Expand Forum to Full Width