santosh
santosh

Reputation: 504

Dialog display in Windows Mobile6.0

This is the what linking error's i got when i created one dialog box for windows mobile 6.0

1>dynamenu.obj : error LNK2019: unresolved external symbol "long cdecl DisplayDlg(struct HWND *,unsigned int,unsigned int,long)" (?DisplayDlg@@YAJPAUHWND__@@IIJ@Z) referenced in function "long cdecl WndProc(struct HWND *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)

1>Windows Mobile 6 Professional SDK (ARMV4I)\Debug/Dynamenu.exe : fatal error LNK1120: 1 unresolved externals

What would be the reason ?

Upvotes: 0

Views: 142

Answers (1)

BitBank
BitBank

Reputation: 8735

Not sure where you got the name "DisplayDlg". In Win32 you will use the DialogBox() function.

Upvotes: 1

Related Questions