Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

MickeyMouse

Problem with dll + templates

This topic is 5653 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

My problem is described by the phrase below: c:\temp\math\transformation.h(73) : warning C4251: ''Local'' : class ''cMatrix'' needs to have dll-interface to be used by clients of class ''cTransformation'' I''m doing dll library and the problem shows when using templates. If you could at least tell me what this means I''d be grateful. Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
I think this may have something to do with the __dllimport and __dllexport statements, but am not sure...

You may need to add these statements in front of your interface definitions...

www.cppnow.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!