Jump to content
  • Advertisement
Sign in to follow this  
Lucas W

error LNK2019

This topic is 4515 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

Hi everyone. I try to compile Two-kings.de's tutorial number 3, but im getting 1 error i just cant solve! It's probably just a lib file i have missed but i dont know wich one -.- Anyway.. here's the error: 1>cApplication.obj : error LNK2019: unresolved external symbol "long __stdcall WindowProcedure(struct HWND__ *,unsigned int,unsigned int,long)" (?WindowProcedure@@YGJPAUHWND__@@IIJ@Z) referenced in function "public: void __thiscall CApplication::InitWindow(void)" (?InitWindow@CApplication@@QAEXXZ) Any ideas?

Share this post


Link to post
Share on other sites
Advertisement
Inside CApplication::InitWindow you reference WindowProcedure, but WindowProcedure is never implemented. It's also possible that if you made it a member function from CApplication it's not static.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!