Fwd: Re: DLLCC bad arguments

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Re: DLLCC bad arguments

Henrik Sperre Johansen
Remember changing recipient once, forget it the next time...

-------- Original Message --------
Subject: Re: [vwnc] DLLCC bad arguments
Date: Thu, 24 Nov 2011 18:49:55 +0100
From: Henrik Sperre Johansen [hidden email]
To: Mark Plas [hidden email]


On 24.11.2011 17:27, Mark Plas wrote:
> Hi Niall,
>
> Do you know why Andre's call (and mine) sometimes fails? He provides a ByteArray to a C function and it sometimes fails. In my case, for a given ByteArray, the call sometimes worked, and sometimes it didn't (for exactly the same contents).
>
> Can you perhaps explain a bit why a ByteArray argument for a char* variable could be considered a bad argument?
>
> Thanks,
> Mark
as for calls with sometime crashing, sometimes not, at least some 
datatypes/libraries require different alignment:
http://smallissimo.blogspot.com/2011/08/smallapack-progress-on-squeak.html

Cheers,
Henry

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc