How do I call functions/subs of a given applications from a yet another application ??? 
Author Message
 How do I call functions/subs of a given applications from a yet another application ???

btw, my development tool is VB v5
Any help or pointers to a resource dealing with achieving this is much
appreciated.


Fri, 10 Sep 2004 23:55:57 GMT  
 How do I call functions/subs of a given applications from a yet another application ???
Oh dear, your going to have to know the exact name of the func/sub and call
it through its process address. Have a look at the API's:

LoadLibrary
FreeLibaray
GetProcAddress

--
Bazza (EC)
Sanity is only a figment of my imagination

ICQ: 26476008

"Satans greatest trick, was convincing man he didnt exsist".


Guvf Rznvy Nqqerff jnf fpenzoyrq jvgu EBG13.



Sat, 11 Sep 2004 01:41:22 GMT  
 How do I call functions/subs of a given applications from a yet another application ???

Quote:

> Oh dear, your going to have to know the exact name of the func/sub and call
> it through its process address. Have a look at the API's:

> LoadLibrary
> FreeLibaray
> GetProcAddress

Alternatively, if you have source to other process/app, could turn
desired function(s) into DLL and use it....


Sat, 11 Sep 2004 02:14:00 GMT  
 How do I call functions/subs of a given applications from a yet another application ???
On Mon, 25 Mar 2002 12:14:00 -0600, Duane Bozarth

Quote:


>> Oh dear, your going to have to know the exact name of the func/sub and call
>> it through its process address. Have a look at the API's:

>> LoadLibrary
>> FreeLibaray
>> GetProcAddress

>Alternatively, if you have source to other process/app, could turn
>desired function(s) into DLL and use it....

Which is what

LoadLibrary
FreeLibaray
GetProcAddress

will access - if the other App is not a DLL then it is highly unlikely
that the above will be of any use.



Sat, 11 Sep 2004 10:13:35 GMT  
 How do I call functions/subs of a given applications from a yet another application ???
You can load any executable image with LoadLibrary, including .exe modules
(it doesn't run them though).


Quote:
> On Mon, 25 Mar 2002 12:14:00 -0600, Duane Bozarth


> >> Oh dear, your going to have to know the exact name of the func/sub and
call
> >> it through its process address. Have a look at the API's:

> >> LoadLibrary
> >> FreeLibaray
> >> GetProcAddress

> >Alternatively, if you have source to other process/app, could turn
> >desired function(s) into DLL and use it....

> Which is what

> LoadLibrary
> FreeLibaray
> GetProcAddress

> will access - if the other App is not a DLL then it is highly unlikely
> that the above will be of any use.



Sat, 11 Sep 2004 22:21:02 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. How do I call functions/subs of a given applications from a yet another application ???

2. Calling a sub or function using a variable through another sub or function

3. Returning sub or function name within a specific sub or function

4. Local function/sub inside function/sub

5. Calling A Function (What am I doing wrong)

6. Setfocus gives Illegal Function Call!

7. Exit Sub from called Function

8. Who called this sub or function?

9. Finding called Sub and Functions in code.

10. Calling Sub or Function in another copy of the CURRENT database

11. Calling functions/subs using the string title - possible?

12. Calling a function or sub in Excel from Access

 

 
Powered by phpBB® Forum Software