I'm writing a program in VC++ 6.0 professional and am encoutering a baffling error. The program compiles fine, but seems to be fed up with anymore member functions. If I add one in the header implementation it still compiles but if I call that function anywhere in the program I get:

<blockquote>
Linking...
Creating library Debug/ConflexCPP.lib and object Debug/ConflexCPP.exp
ConflexDlg.obj : error LNK2001: unresolved external symbol "public: void __thiscall CConflexDlg::thing(void)" (?thing@CConflexDlg@@QAEXXZ)
Debug/ConflexCPP.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
</blockquote>

I'm creating an ATL simple control in an existing application but I'm sure this is purely a C++ error. Any ideas?
Thanks.

Where do you define CConflexDlg::thing ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.