Page 1 of 1

v 4.20 bug Proceduredll

Posted: Fri May 30, 2008 9:15 pm
by dobro
excusez moi de braire en français :)

Fred : la doc dit que pour proceduredll
on doit faire ceci :
compile ça avec tailbite ... :)

Code: Select all

Global ReturnString$
  
ProcedureDLL.s MaFonction(var.s)
  ReturnString$ = " ok ça marche "
  ProcedureReturn ReturnString$
EndProcedure
ensuite l'appel

ceci fonctionne :)

Code: Select all

Debug MaFonction("123")
mais pas ça : :?

Code: Select all

a=123
Debug  MaFonction(Str(a)) ; renvoi 123 au lieu de  "ok ça marche"

; //////////////////////////////////////////////////////////////////////////
Google translate

Excuse me braying in french:)

Fred: The doc said that proceduredll
we must do this
compile it with tailbite

Code: Select all

Global ReturnString$
  
ProcedureDLL.s MaFonction(var.s)
  ReturnString$ = " ok ça marche "
  ProcedureReturn ReturnString$
EndProcedure
Then the call

This works:)

Code: Select all

Debug MaFonction("123")

but not like it:?

Code: Select all

a=123
Debug  MaFonction(Str(a)) ; return 123 instead  "ok ça marche"

Posted: Fri May 30, 2008 9:47 pm
by Mistrel
Are you using TailBite 1.876?
[38] MAI 27th 2008 TailBite v1.3 PR 1.876
- fixed string bug in exported functions RET X + 4 (thanks to Fred / srod / gnozal)

Posted: Sat May 31, 2008 12:47 am
by dobro
Mistrel wrote:Are you using TailBite 1.876?
[38] MAI 27th 2008 TailBite v1.3 PR 1.876
- fixed string bug in exported functions RET X + 4 (thanks to Fred / srod / gnozal)
yes !! :)

no changes .. :?