replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Calls wrong routine in DLL
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 

Calls wrong routine in DLL

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



Joined: 18 Apr 2013
Posts: 2

PostPosted: Fri Apr 19, 2013 8:07 am    Post subject: Calls wrong routine in DLL Reply with quote

We have been using Salford FTN95 for about 15 years latterly with version 5.01.0, looking at updating to the current release and have been testing the personal version of v6.30.0.

See to have come across an unusual problem with regard to subroutine names

In my DLL I have two subroutine with names,
Subroutine INVERT_MAT(......) and
Subroutine INVERT_MATRIX(....)

In the earlier release this has not been a problem, but in version 6.3 my application crashes because although the calling subroutine is calling INVERT_MAT( ) it crashes because it actually calls INVERT_MATRIX(..) which has a different argument list.

The crash trace back shows the crash as being in INVERT_MATRIX() even thought the calling subroutine is calling INVERT_MAT()

I can solve the problem by renaming INVERT_MAT to RINVERT_MAT or even INVERT_MAT2, which would suggest it is not a length issue. But just concerned that this inability to fully distinguish between subroutines that are subsets/abbreviations of others is an expected behaviour, it never used to be!
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Fri Apr 19, 2013 8:30 am    Post subject: Reply with quote

That is very strange. If you can supply a small sample program that illustrates the failure then I will take a look at it for you.
Back to top
View user's profile Send private message AIM Address
lesoft



Joined: 18 Apr 2013
Posts: 2

PostPosted: Fri Apr 19, 2013 8:56 am    Post subject: Reply with quote

I have just tried a small sample program linking to the same DLL and that performs okay?
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