Call function from custom dll
Posted: Sun Sep 23, 2007 3:22 pm
Newbie question:
I'm trying to use Call DLL to call a function in a DLL that I wrote. How do I unpack / install the dll so that I can call it before the installation is complete? It has to be done during installation; I cancel or continue the installation based on the value returned. I've tried installing the dll explicitly, but I always get the error message DLLLoadFailed; when I look at the installation directory at that point in the script, no files are visible, so it makes sense, I guess, that the load fails.
The dll works fine outside of the installation context.
ps. I preinstalled the dll as a test (just put it on the target machine and pointed the script to it) and that works fine.
I'm trying to use Call DLL to call a function in a DLL that I wrote. How do I unpack / install the dll so that I can call it before the installation is complete? It has to be done during installation; I cancel or continue the installation based on the value returned. I've tried installing the dll explicitly, but I always get the error message DLLLoadFailed; when I look at the installation directory at that point in the script, no files are visible, so it makes sense, I guess, that the load fails.
The dll works fine outside of the installation context.
ps. I preinstalled the dll as a test (just put it on the target machine and pointed the script to it) and that works fine.