v 4.20 bug Proceduredll

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

User avatar
dobro
Enthusiast
Enthusiast
Posts: 766
Joined: Sun Oct 31, 2004 10:54 am
Location: France
Contact:

v 4.20 bug Proceduredll

Post 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"
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post 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)
User avatar
dobro
Enthusiast
Enthusiast
Posts: 766
Joined: Sun Oct 31, 2004 10:54 am
Location: France
Contact:

Post 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 .. :?
Image
Windows 98/7/10 - PB 5.42
■ sites : http://michel.dobro.free.fr/
Post Reply