Sign in to follow this  

error LNK2019

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

This topic is 4202 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this