Hi,
I need to make Setup Factory call a VB DLL, any ideas how to do it?
Cheers,
Warren
PS: Setup Factory 7 is wicked!!![]()
Professional Software Development Tools
Hi,
I need to make Setup Factory call a VB DLL, any ideas how to do it?
Cheers,
Warren
PS: Setup Factory 7 is wicked!!![]()
Basically, you should be able to use DLL.CallFunction to call the function from the DLL.
It dosent work! Cant find function...
I have a funtion in a class, how do I specify the class? Since all functions have to be in class!
Be sure the function is exported, and that you are using the exact spelling in your call as the function is aliased as.
Huh? What you mean?Originally Posted by Worm
From your previous post, I assumed that you wrote the DLL yourself. In your code, you need to tell the compiler which functions are exported (available to call from another program).
When you make the call to the DLL, be sure to use the same spelling as you did in your code, it is case sensitive.
Yes, in C++!
You cant do that with VB DLLs
I think you will have problems in either VB6 or VB.NET. Unless the DLL was compiled to instantiate your DLL through COM, COM won't help you in this situation. Developing in C++ is the only way that I know for this to be achieved. I'm not a great user of COM so may well be wrong and certainly do not use C++.
John
This is the problem I have! Its a shame that even this version of Setup Factory does not support VB DLLs....
(I cant code in C++)
Also, there is a typo bug in the DLL action:
AutoPlay should say Setup FactoryCallConvention
The calling convention that AutoPlay will use when calling the DLL
Thanks for pointing out that typo.
Corey Milner
Creative Director, Indigo Rose Software
No problem, however I need a solution to my problem with my VB DLL...Originally Posted by Corey
I can convert the DLL to an EXE, but whatever happens, I need to pass a variable to the EXE, and then the EXE will return a number...
How would I get this number?
Cheers,
Warren
No application can access a VB generated DLL unless the DLL has clever stuff added to it which only available via C++ so not a Setup Factory problem. Your only choice is to have a VB6 front end application pass through from SUF7 to the DLL but then I would ask why bother having the DLL anyway.Its a shame that even this version of Setup Factory does not support VB DLLs....
Have you thought whether SUF7 could replicate the DLL functionality at all?
John
It cant replicate what the DLL does, bcause the DLL has encryption routines in it etc...
However, as I said I can convert to an EXE, but I need to get the result from the EXE?
FWIW as far as I know the Crypto encryption plug-in from http://www.autoplay.org is compatible with Setup Factory 7.0...
Corey Milner
Creative Director, Indigo Rose Software
I need to use the encryption I have in my DLL, as it is the same as that used in my app.