[REBOL] Re: DLL interfacing
From: robert:muench:robertmuench at: 1-Feb-2003 14:33
> -----Original Message-----
> From: Robert M. Muench [mailto:[robert--muench--robertmuench--de]]
> Sent: Saturday, February 01, 2003 2:21 PM
> To: ['rebol-list--rebol--com']
> Subject: DLL interfacing
> So the results are not returned with this method. Any idea
> how this can be done? Robert
Hi, I got it. I need to use structs like this:
i-ref: make struct! [value [integer!]][0]
And than I can call:
major: make struct! i-ref [0]
minor: make struct! i-ref [0]
version major minor
print trim to-string reduce [second major second minor]
>> 2.11
Nice! :-)) Robert