Board index » delphi » tbh -- Q: Win API functions in Delphi??

tbh -- Q: Win API functions in Delphi??

I am trying to use some API functions but Delphi can not recognize some of
them..
Among them are FindChildByClass and SendMessageByString...

Is there some way to use these in Delphi easily? If so, is there a list of
all the API functions and their defines?

I am using Delphi 2 Desktop.

-Prog

 

Re:tbh -- Q: Win API functions in Delphi??


Quote
>In article <4j7rl3$...@newsbf02.news.aol.com>,  
>TbH Prog writes:
>I am trying to use some API functions but Delphi can not recognize
some of
>them..
>Among them are FindChildByClass and SendMessageByString...
>Is there some way to use these in Delphi easily? If so, is there a
list of
>all the API functions and their defines?
>I am using Delphi 2 Desktop.

   Looks like some of the API calls are missing (from Delphi 2
Develloper)! For example getProcessorType().  Could someone from
Borland care to comment?

Re:tbh -- Q: Win API functions in Delphi??


On 25 Mar 1996 23:26:11 -0500, tbhp...@aol.com (TbH Prog) wrote:

Quote
>I am trying to use some API functions but Delphi can not recognize some of
>them..
>Among them are FindChildByClass and SendMessageByString...

>Is there some way to use these in Delphi easily? If so, is there a list of
>all the API functions and their defines?

>I am using Delphi 2 Desktop.

>-Prog

Thos sound like aliased functions from VB.  The proper functions
should be:

FindWindow and SendMessage

Look in you VB code and you should see
FindChildbyClass lib "something" alias "RealFunctionName" ( ...)
Use the function in "RealFunctionName"

Zane Rathwick
Indigo Software
Za...@aol.com

Other Threads