With all my asm libs i use, i get an Polink error only with x86 Backend_C.
All is Ok with other x86 versions (Ok with 6.00 alpha 5 asm backend)
All is Ok with all x64 versions (no decoration)
all functions are declared in descriptor file as StdCall in accordance with your answer here
for example the error reported above, asm file + desc file:
Code: Select all
format MS COFF
public PB_Fonction_1
;--------------------------------------------------------------------------------
; paramètre de la fonction
;--------------------------------------------------------------------------------
; valeur (Integer)
valeur equ esp+4
;--------------------------------------------------------------------------------
; section code
;--------------------------------------------------------------------------------
section '.text' code readable executable
PB_Fonction_1:
MOV edx, [valeur]
LEA eax, [edx*2]
RET 4
Is it a real bug or may I something wrong ?; Langage utilisé pour coder la librairie ASM ou C
ASM
; Nombre de Dll windows utilisées par la lib
0
; Type de librairie
LIB
; Nombre de librairie PureBasic/Utilisateur utilisé par la librairie
0
; Nom du fichier d'aide de la libraire
Essai.chm
; Enumération des fonctions créées
Fonction_1, Long, (valeur.i) - Retourne la valeur passée en paramètre x 2
Long | StdCall