[fpc-pascal] MSG variable type, Windows GUI

Urbansound urbansound at sbcglobal.net
Fri Jul 22 14:34:45 CEST 2005


Hi,

I encountered an FPC Win32, tutorial that uses the a declaration of variable 
"msg", declared as a MSG type, shown below.

Dev-Pas IDE, FPC 2.00 gives an "error in type definition" and I find no doc 
references to MSG, variable type.  Was this an earlier convention in FPC and 
if so, how was it replaced?

Thanks,

Mike


[clip]
program Win32_Source03;
uses  windows;
const
  AppName = 'Win32/ FPC - Source 03';

VAR
  active : BOOLEAN;
  msg : MSG;
  hWindow,msg : hwnd;
[end clip]





More information about the fpc-pascal mailing list