` Printed Icetips Article

Icetips Article



Par2: Using RunDLL
1998-03-27 -- Robert Fred Meyer
 
The command is: #RUNDLL('MyDll','MyProc',myparameter)
 The parameters "MyDll" and "MyProc" are NOT case insensitive.
  "MyDll" does not need the ".dll" added.
 The "MyProc" has to be the name given it in the ".exp" file, usually found at the end of

that file.  You may have named your procedure "MyProc" and in the ".exp" file you may 
find it as "MYPROC@FRSC".  Use "MYPROC@FRSC" as the "MyProc" parameter 
above, example:
 #RUNDLL('MyDll','MyProc@FRSC',parameter)
 "MyDll" must be a 16 bit DLL, a 32 bit DLL will not be found.
 "MyDll" must be in the current directory or in the DOS path.  The "redirection" file does

not aid the finding of the "MyDll".  In other words, if your "redirection" file points to
the 
"MyDll" and the "MyDll" is not in the current directory or on the DOS PATH,  you will 
the the error "Cannot find DLL".
 No other files are needed; you need the EXP only to get the name and you do not 
need the LIB.



Printed May 7, 2024, 10:11 am
This article has been viewed/printed 35112 times.