View previous topic :: View next topic |
Author |
Message |
lesoft
Joined: 18 Apr 2013 Posts: 2
|
Posted: Fri Apr 19, 2013 8:07 am Post subject: Calls wrong routine in DLL |
|
|
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 |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Fri Apr 19, 2013 8:30 am Post subject: |
|
|
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 |
|
 |
lesoft
Joined: 18 Apr 2013 Posts: 2
|
Posted: Fri Apr 19, 2013 8:56 am Post subject: |
|
|
I have just tried a small sample program linking to the same DLL and that performs okay? |
|
Back to top |
|
 |
|