0

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?

2
Contributors
5
Replies
6
Views
10 Years
Discussion Span
Last Post by ocean001
0

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).

0

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?

0

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.

0

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?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.