- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Dear all,
I am working on a library that is delivered to clients as a DLL. One of the exported routines has the following
!DEC$ ATTRIBUTES DLLEXPORT::HMclust
The actual exported name in the DLL is hmclust, i.e. all lowercase. Is this default behavior? The client software engineer reports that previously, the DLL's exported all uppercase. Is there compileer/linker option to change this behavior?
Thanks for any help.
- Balises:
- Intel® Fortran Compiler
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Change the "Calling Convention" for x64 back to Default. STDCALL changes the name to lowercase and also sets pass-by-value, even on x64.
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Take a look at the /iface compiler option in the Intel Fortran User and Reference Guide and check what you're using now versus what was done previously.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thanks, FortranFan. Looking at the project property control in Visual Studio, these are the options for the x64 platform
Calling Convention: STDCALL
Name Case Interpretation: Default
I note that when building win32, the project properties are:
Calling Convention: Default
Name Case Interpretation: Default
The win32 DLL is uppercase, the x64 DLL is lowercase. I'll review both calling convention and default for the two platforms with the clients to see how these need to be set.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Change the "Calling Convention" for x64 back to Default. STDCALL changes the name to lowercase and also sets pass-by-value, even on x64.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Thank you, Steve,
Changing "Calling Convention" to Default fixes the issues on x64.
Scott

- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable