replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - a build dll-file: does not work on a different W7-computer
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

a build dll-file: does not work on a different W7-computer

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
xlsodesolver



Joined: 27 Jan 2014
Posts: 3

PostPosted: Wed Jan 29, 2014 3:47 pm    Post subject: a build dll-file: does not work on a different W7-computer Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Wed Jan 29, 2014 5:12 pm    Post subject: Reply with quote

You will need to copy salflibc.dll to the new machine together with your executable.
Back to top
View user's profile Send private message AIM Address
xlsodesolver



Joined: 27 Jan 2014
Posts: 3

PostPosted: Sun Feb 02, 2014 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Sun Feb 02, 2014 8:43 pm    Post subject: Reply with quote

If you have built your dll using FTN95 then you will need to copy salflibc.dll together with your dll.
Back to top
View user's profile Send private message AIM Address
xlsodesolver



Joined: 27 Jan 2014
Posts: 3

PostPosted: Fri Feb 21, 2014 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group