Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ambiguity between functions/types after incorporating INDY in BCB5 IDE

2 views
Skip to first unread message

TJR

unread,
Aug 20, 2001, 12:03:04 PM8/20/01
to
Now that I've incorporated the INDY components in my BCB5 IDE,
there are conflicting function/type names....how do you resolve these???

I have a conflict between IdGlobal::Sleep and the windows API Sleep() in
winbase.h.
Since winbase.h isn't a namespace, I couldn't specify the Sleep() I was
currently
using and had to opt for Indy's.

Getting past that, I now have a problem with 'size_t' in utilcls.h
void* operator new(size_t);
and Idsslopensslheaders::size_t. Since I shouldn't be editing either of
these
files, how to I get the correct size_t resolved?

I have the INDY header files last in the lookup in the
Project|Options->Directories/Conditionals.


Need help on the ASP,
Thanks,
Trudy Reiser


Remy Lebeau

unread,
Aug 20, 2001, 12:17:18 PM8/20/01
to
The Win32 API is in the global namespace, so to specify the API Sleep()
instead of Indy's, use the :: scope operator, ie:

::Sleep(1000);


Gambit

"TJR" <tru...@leapfrog-smart.com> wrote in message news:3b81353f_2@dnews...

0 new messages