Calling functions from dlls

skonves

New member
Joined
Mar 4, 2005
Messages
4
Location
Phoenix, Arizona
Programming Experience
3-5
I'm new at using dll files. I cna create them fine, but how do I call a function from a dll in the main application?

Also, how do you (assuming that it is indeed possible) change the value of a variable in the main application from a function in a dll.
 

TPM

Well-known member
Joined
Dec 7, 2004
Messages
623
Location
CA
Programming Experience
3-5
Add the Dll to your references. You'll then be able to call the methods etc.

Well probably the best way would be to return the value to the variable. ie (in you app) MyVariable = MyClass.Myfunction()

TPM
 
Top Bottom