[futurebasic] Re: [FB] buggy DCOD?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: Jamin <benjamen@...>
Date: Mon, 10 May 1999 10:55:27 +1000
Pete said something like:

> Can someone see what might be wrong with the following code
> I can't get it to work...
> When ever I call the DCOD my app crashes, so I'm assuming that there's
> something wrong with the DCOD
> I've tried just about anything I can think of but no luck

Pete, I spent alot of time trying to get a DCODs to work.  The one lesson a learnt, was to never have a short in the formal paramaters.  Sometimes they worked, sometimes they would crash.  I put it down to it upsetting the stack - now I always use longs for all paramaters.  You can always convert them back when you enter your code:

NeededAShort% = TheLongThatWasPassed&