TIP: Click on subject to list as thread! ANSI
echo: delphi
to: GARY WEINFURTHER
from: STEVE BATSON
date: 1996-05-27 07:10:00
subject: Delphi Bug

SB> Delphi has a
SB> FindClose in the Object Pascal library. The Windows API has a FindClose 
n
SB> it which Delphi has included in the WINDOWS unit added to your projects 
y
SB> default.
GW> Thanks for point this out, Steve.  This is not technically a bug, but 
GW> it's a good thing to be aware of.  You can also get around this 
GW> problem by declaring SysUtils before WinProcs in your "uses" clause.
GW> There are a couple of other instances of same names.  TBitmap is one 
GW> that comes to mind.
I figured there was probably some others, but I haven't bumped into them yet. 
I also thought about moving the uses declarations, but that just moves the 
problem the other way meaning you need to explicitly declare the API call if 
you need it...oh well, not big deal when you have a workaround. Just hope 
this helps someone out there. 
Steve
--- FreeMail 1.07b
(1:203/21)
---------------
* Origin: The Visual Programmer's Workshop - N.H., Ca (916)338-3230 *

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.