hi all,

i am using visual studio 2005 C++ to developing a pocket pc dialog.
But this error occur when i try to compile.
Error 1 error LNK2001: unresolved external symbol "public: void __cdecl CTryDlg::OnBnClickedBackBtn(void)" (?OnBnClickedBackBtn@CTryDlg@@QAAXXZ) AddTryDlg.obj


can anyone tell me what is the possible solution?

The solution is to make sure you coded that function with exactly the right parameters (in your case the function does not have any parameters). If there is a OnBnClickedBackBtn function make sure it contains the class scope CTryDlg::

(Been there and done that mistake too).

oh thanks, that is fast reply, really thanks.
but after i add CTryDlg another error occur.

Error 1 error C2039: 'CProfileDlg' : is not a member of 'CGoDlg'
what is that?

now you have the classes all screwed up. Of course CProfileDlg isn't a member of CGoDlg because its a different class. You made an error somewhere.

oh, thanks man. i got my thing correct liao
thanks alot.

but, i got some question on creaeting a mobile interface using visual C++.

is there any way that i can create the button disgn such as arrow instead of square?

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.