Thread: DLL Call
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
jaf jaf is offline
external usenet poster
 
Posts: 300
Default DLL Call

Hi,
Startrun regsvr32.exe "C:\Mypath\myfile.dll"

--

John

johnf202 at hotmail dot com


wrote in message
...
I am using the following code to declare a dll function

Declare Function GenDate from "mydll" () as long

This is working well with the dll stored on the window
system folder, however it does not work if the dll "mydll"
is stored at the working folder.

Is there any way to solve this problem (not adding
environment system variable)?

Thanks