Помощь - Поиск - Пользователи - Календарь
Полная версия: Winapi
Форум «Всё о Паскале» > Delphi, Assembler и другие языки. > Delphi
klem4
procedure WinMain; 
const szClassName='Shablon';
var wndClass:TWndClassEx;
hWnd: THandle;
msg:TMsg;
begin
wndClass.cbSize:=sizeof(wndClass);
wndClass.style:=cs_hredraw or cs_vredraw;
wndClass.lpfnWndProc:=@WndProc;
wndClass.cbClsExtra:=0;
wndClass.cbWndExtra:=0;
wndClass.hInstance:=hPrevInst; //[Warning] Symbol 'HPrevInst' is deprecated
...



Что это за warning ?

компилировал соответсвенно в делфи 6
volvo
To: klem4
Цитата(Delphi 6 Help)
The symbol is tagged (using the deprecated hint directive) as no longer current and is maintained for compatibility only. You should consider updating your source code to use another symbol, if possible.
Это текстовая версия — только основной контент. Для просмотра полной версии этой страницы, пожалуйста, нажмите сюда.