View previous topic :: View next topic |
Author |
Message |
xlsodesolver
Joined: 27 Jan 2014 Posts: 3
|
Posted: Wed Jan 29, 2014 3:47 pm Post subject: a build dll-file: does not work on a different W7-computer |
|
|
Dear Forum'ers,
My "PLATO IDE" build dll-file works fine at the same W7-computer on which the free personal edition of Silverfrost FTN95 is installed: Calling my subroutine and function in the build dll-file from an Excel-VBA routine gives the correct results.
However, this very same build dll-file can not be found by both the Excel-VBA routine as well as the "regsvr32.exe" using a different W7-computer with no installed free personal edition of Silverfrost FTN95.
Is this "meant to be" because of the free personal edition? Or is there another technical reason which I am not aware of?
I would like to solve this issue before I decide to purchase the commercial edition of Silverfrost FTN95. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Wed Jan 29, 2014 5:12 pm Post subject: |
|
|
You will need to copy salflibc.dll to the new machine together with your executable. |
|
Back to top |
|
 |
xlsodesolver
Joined: 27 Jan 2014 Posts: 3
|
Posted: Sun Feb 02, 2014 3:56 pm Post subject: |
|
|
Dear PaulLaidler,
thank you for your reply. I recognize your reply as the correct answer for the case of a buil exe-file. A build exe-file works only on a different computer if the salflibc.dll file is also present on the other computer.
The case I am dealing with, is about a build dll-file. The presence of the salflibc.dll does not solve the problem I've described. Using regsvr32.exe for trying to register the build dll-file only yields error.
I am very much interested in solving this technical problem, because all the possible answers given by relevant forums on the internet I've found don't work. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Sun Feb 02, 2014 8:43 pm Post subject: |
|
|
If you have built your dll using FTN95 then you will need to copy salflibc.dll together with your dll. |
|
Back to top |
|
 |
xlsodesolver
Joined: 27 Jan 2014 Posts: 3
|
Posted: Fri Feb 21, 2014 8:20 pm Post subject: |
|
|
I've managed to get my DLL going: To copy salflibc.dll to the new machine is the solution to my problem if salflibc.dll is copied to the windows-system-directory "C:\Windows\SysWOW64\".
If salflibc.dll is copied to the same directory as my own created dll, then it only works if I run my vba-routine as an "administrator". |
|
Back to top |
|
 |
|