Navigation:  Reference > Functions >

LoadDLL()

Print this Topic Previous pageReturn to chapter overviewNext page

 

LOAD_DLL(1)

 

PURPOSE

This function will load a DLL program into memory.

 

PARTS

1 f/c/eRequired - The name of the DLL to load, must include complete path.

 

RETURN TYPE - I

Returns a numeric value that refers to the program loaded.  Whenever you want to call a routine in that program you will need this value.

 

NOTE:  If the program cannot be found, or is not loaded for some reason, this will be 0.

 

COMMENTS

These are true DLLs.  You would write these using some other program than TAS, for example, Delphi or C++.  The DLL is accessible only in the program where it was loaded.  It will remain in memory until it is removed (REMOVE_DLL()) or until the program in which it was called exits.

 

Use DLLFC() to access a function in a previously loaded DLL. REMOVE_DLL() will delete the DLL from memory.

 

NOTE : A good example of the use of this function would be with the TASXLS.DLL and the TASEXCEL.DLL these two DLL program are used to update or Write Excel Spreadsheet file or data. Very useful to add graphing capability's to  your TAS Professional programs.

for more information on these programs contact : Button

 

Click here for full documentation on TAS2XLS/TAS2EXCEL.DLL

EXAMPLE

See Sample exceltest.src in the sample\excel\ folder.

 

 


Page url: http://www.cassoftware.com/tas/manual/loaddll().htm