From: "Adrian B.Y. Hoe" <byHoe@QUANTUM.PC.MY>
Subject: Help: Binary operator "="
Date: 1997/05/20
Date: 1997-05-20T00:00:00+00:00 [thread overview]
Message-ID: <3381c4ba.quantum@quantum.pc.my> (raw)
I have errors compiling the following code using ObjectAda 7.0.232
function InitInstance(Hinstance : Windef.HINSTANCE;
...) return Win32.BOOL is
HWND : Windef.HWND;
wu_Ps : aliased Winuser.PAINTSTRUCT;
begin
-- Create a main window for this application instance.
HWND := WinUser.CreateWindow (LpClassName => SZAPPNAME, -- Line 452
LpWindowName => SZTITLE,
DwStyle =>
WinUser.WS_OVERLAPPEDWINDOW or
WinUser.WS_CLIPCHILDREN,
X => WinUser.CW_USEDEFAULT,
Y => WinUser.CW_USEDEFAULT,
NWidth => WinUser.CW_USEDEFAULT,
NHeight => WinUser.CW_USEDEFAULT,
HWndParent => null,
HMenu => null,
HInstance => HInstance,
LpParam => null);
if HWND = Windef.HWND'(null) then -- Line 467
return Win32.FALSE;
end if;
...
end InitInstance;
The compiler says: Line 467: Binary operator "=" not directly visible, use
clause
might be needed.
Line 452: Parameter mismatch.
Could someone enlighten me?
Thank you in advance.
--
B.Y.
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
Adrian, B.Y. Hoe byHoe@quantum.pc.my \/
Business Development, VP \/ \/
\/ \/ \/
Phone : +60 3 495 4048 \/ \/
Lexical Integration (M) Sdn Bhd Fax : +60 3 495 4037 \/
13-B Jalan Pandan Indah 4/2, Pandan Indah, 55100 Kuala Lumpur-Malaysia
lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
member of Team-Ada in Malaysia
next reply other threads:[~1997-05-20 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-05-20 0:00 Adrian B.Y. Hoe [this message]
1997-05-21 0:00 ` Help: Binary operator "=" Robert Dewar
[not found] ` <33932325.6E38@lmtas.lmco.com>
1997-06-07 0:00 ` Robert Dewar
1997-06-08 0:00 ` Ken Garlington
1997-06-10 0:00 ` Robert Dewar
1997-05-21 0:00 ` Jeff Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox