Landcruiser87
New Member
- Joined
- Feb 7, 2008
- Messages
- 16
Greetings to the masses of excel officianado's,
When it comes to using VBA to manipulate excel, i don't have too many quandaries, yet when it comes to communicating with other programs, i'm not up to speed. I was given the SDK to a third party software to interact with monitoring device that spits out numbers i'd like to see directly imported to Excel. I was told i could use the DLL provided in the SDK to access its functions and transfer them via VBA. Yet i needed to call the function FS_Initialize before i can access any of the functions. So i've been trying for the past week to access it but i just can't get it right. It looks like the DLL was written in C#/C++/Visual Studio
I've tried registering it with regsvr32, but get the error
"The module "ForesightAccessDLL.dll" was loaded, but the entry-point Dllregisterserver was not found"
I've also tried declaring it within VBA
But then when i try to call the function, i get this error
"Can't find entry point FS_Initialize in "C:\Program Files (x86)\Microsoft Office\Office12\ForesightAccessDLL.dll"
This is where i find myself currently stuck. Any help would be greatly appreciated.
Thanks as always,
Andy
When it comes to using VBA to manipulate excel, i don't have too many quandaries, yet when it comes to communicating with other programs, i'm not up to speed. I was given the SDK to a third party software to interact with monitoring device that spits out numbers i'd like to see directly imported to Excel. I was told i could use the DLL provided in the SDK to access its functions and transfer them via VBA. Yet i needed to call the function FS_Initialize before i can access any of the functions. So i've been trying for the past week to access it but i just can't get it right. It looks like the DLL was written in C#/C++/Visual Studio
I've tried registering it with regsvr32, but get the error
"The module "ForesightAccessDLL.dll" was loaded, but the entry-point Dllregisterserver was not found"
I've also tried declaring it within VBA
Code:
Public Declare Function FS_Initialize Lib "C:\Program Files (x86)\Microsoft Office\Office12\ForesightAccessDLL.dll" (ByRef Arg1 as Integer, ByRef Arg2 as integer) as Boolean
But then when i try to call the function, i get this error
"Can't find entry point FS_Initialize in "C:\Program Files (x86)\Microsoft Office\Office12\ForesightAccessDLL.dll"
This is where i find myself currently stuck. Any help would be greatly appreciated.
Thanks as always,
Andy