ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   DLL Call (https://www.excelbanter.com/excel-programming/279701-dll-call.html)

No Name

DLL Call
 
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

jaf

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





All times are GMT +1. The time now is 03:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com