Skip to content

Annexes

Cristian Gallardo edited this page Feb 7, 2020 · 1 revision

Name of the functions in different calling convention.

When we use the 32-bit libraries generated with the different calling conventions, we may find several errors, to solve many of the errors we must know the name of the functions within the library, to know the name of the functions within the dynamic link library, we have used the application "DLL Export Viewer", you can download this application for 32bits and 64bits here.

List of functions found within the dynamic link library with their respective names for both 32 bits and 64 bits in various calling convention.

NOTE: In the new 64-bit operating systems an attempt is made to implement a standardization of application binary interfaces (ABI’s). In 64bits architecture, the calling convention of __stdcall __fastcall, __thiscall and others, are ignored and use their own, more information check the official microsoft documentation here.

Function Name
Calling Convention X86 X64
int openMemory(char *nomMemory, int typeMemory);
__fastcall @openMemory@8
openMemory
__stdcall openMemory@8
__cdecl openMemory
int getInt(char *nomMemory, int position); __fastcall @getInt@8 getInt
__stdcall getInt@8
__cdecl getInt
void setInt(char *nomMemory, int position,int value); __fastcall @setInt@12 setInt
__stdcall setInt@12
__cdecl setInt
void setFloat(char *nomMemory, int position, float value); __fastcall @setFloat@12 setFloat
__stdcall setFloat@12
__cdecl setFloat
float getFloat(char *nomMemory, int position); __fastcall @getFloat@8 getFloat
__stdcall getFloat@8
__cdecl getFloat
void setDouble(char *nomMemory, int position, double value); __fastcall @getDouble@8 getDouble
__stdcall getDouble@8
__cdecl getDouble
double getDouble(char *nomMemory, int position); __fastcall @getDouble@8
getDouble
__stdcall getDouble@8
__cdecl getDouble
void setString(char *nomMemory, int position, char *str); __fastcall @setString@12 setString
__stdcall setString@12
__cdecl setString
void getString(char *nomMemory, int position, char *str); __fastcall @getString@12 getString
__stdcall getString@12
__cdecl getString
void getStringMatlab(char *nomMemory, int position, char **str); __fastcall @getStringMatlab@12 getStringMatlab
__stdcall getStringMatlab@12
__cdecl getStringMatlab
int createMemory(char *nomMemory, int quantity, int type); __fastcall @createMemory@12 createMemory
__stdcall createMemory@12
__cdecl createMemory
void freeMemories(); __fastcall @freeMemories@0 freeMemories
__stdcall freeMemories@0
__cdecl freeMemories
void freeViews(); __fastcall @freeViews@0 freeViews
__stdcall freeViews@0
__cdecl freeViews

Clone this wiki locally