10-30-2007 02:23 PM
10-30-2007 02:49 PM - edited 10-30-2007 02:49 PM
Message Edited by Jonathan N on 10-30-2007 02:49 PM
10-30-2007 09:02 PM
10-30-2007 10:50 PM
10-31-2007 04:57 AM
Menchar,
Thanks for your reply. That is the exact information I was looking for.
Best regards,
Kevin Coggins
11-01-2007 03:47 PM - edited 11-01-2007 03:47 PM
Kevin -
I may have steered you wrong about the implicit linking (.lib) and DLL versioning.
I have a reference which claims that implicit linking (.LIB) breaks if you add a function to a later DLL version. But as you discovered, you could add a function to the DLL and previously linked apps work fine. It could be it depends on where in the DLL you add the function(s).
Did you happen to add the new function at the very end of the DLL?
I need to track this down. Sorry about the confusion.
Menchar
Message Edited by menchar on 11-01-2007 01:50 PM
11-01-2007 04:45 PM
11-01-2007 06:31 PM
Does anyone know:
1. What determines the "function ordinality" of the functions within a DLL created with CVI? There's an export file in the build folder for the DLL but it just lists the functions in alphabetical order and doesn't indicate a "function ordinal" that I can see. Is function ordinality the alphabetical order of the exported functions? Is it the lexical order of the functions? MSDN says that so long as you don't change the function ordinal of any of the previously exported functions, you can modify the DLL without needed to relink the application with the new export library. Is "function ordinal" a synonym for "function signature" ?
2. Has anyone used bindump to look at a dll's exported functions and the function ordinals?
I've read all of the tutorial info both NI and MS and there's no answer - I understand completely why Kevin was asking the question - where's the answer? Surely someone at NI knows ...
Menchar
11-02-2007 12:36 AM
11-02-2007 05:04 AM
Thanks for chasing that one down. I ran some test cases and achieved the same results as you did.
Kevin C.