View Single Post
Join Date: May 2008
Posts: 8
Reputation: gil_mo is an unknown quantity at this point 
Solved Threads: 0
gil_mo gil_mo is offline Offline
Newbie Poster

Re: importance of dllexport location in program

 
0
  #7
May 10th, 2008
Well, it is also sufficient to place the function body in the same file as the *declaration*.
For example in my case, moving the function body from b.cpp to a.cpp without further changes would be enough to export the function.

I didn't see this behaviour specified in MSDN...

Thanks,
Gil.
Reply With Quote