I am using VC++.NET in Win 2000/XP
I have Win 32 project
I want to add IP Address Control to the Dialog
DialogBox(hInst, MAKEINTRESOURCE(IDD_DIALOG1), hWnd, (DLGPROC)VSETIP);//load dialo
int FAR PASCAL VSETIP(HWND hDlg, UINT Message, UINT wParam, LONG lParam)//initialization of the dialo
INITCOMMONCONTROLSEX InitCtrls
InitCtrls.dwSize=sizeof(INITCOMMONCONTROLSEX)
InitCtrls.dwICC=ICC_INTERNET_CLASSES
InitCommonControlsEx(&InitCtrls);
HWND ghWndIP = CreateWindow(WC_IPADDRESS,""
WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_GROUP
90,64,130,20
hDlg, NULL, hInst, NULL )
...
I can't add IP Address Control
I got the following error msg
error LNK2019: unresolved external symbol __imp__InitCommonControlsEx@4 referenced in function "int __stdcall VSETIP(struct HWND__ *,unsigned int,unsigned int,long)" (?VSETIP@@YGHPAUHWND__@@IIJ@Z
How to add IP Control to the dialog
thank you
Pola