Re: [Pharo-users] UFFI asynchronous callbacks

2020-07-25 Thread ASAM
no code is needed as I mentioned ...

 But immediately with the load 

Metacello new
baseline: 'ThreadedFFI';
repository: 'github://pharo-project/threadedFFI-Plugin';
onConflictUseLoaded;
load.

To rule out possible errors, I tested with a fresh Pharo8 64bit image, of
course.





--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] UFFI asynchronous callbacks

2020-07-25 Thread Ben Coman
Could you provide the actual code you are running?

On Sat, 25 Jul 2020 at 16:17, ASAM  wrote:
>
> Hi Pablo,
> today I have a little bit of time to try out the "threaded FFI".
> But immediately with the load I get the following error message
> "PrimitiveFailed: primitive #primitiveInitializeQueueWith: in
> TFCallbackQueue failed".
>
> see pic:  
>
> When I load it again it looks good. But then I get the error message with
> every Pharo start.
>
> To rule out possible errors, I tested with a fresh Pharo8 64bit image, of
> course.
>
> Could you tell me what i'm doing wrong?
>
> Thanks
> ASAM
>
>
>
>
>
>
>
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>



Re: [Pharo-users] UFFI asynchronous callbacks

2020-07-25 Thread ASAM
Hi Pablo, 
today I have a little bit of time to try out the "threaded FFI". 
But immediately with the load I get the following error message 
"PrimitiveFailed: primitive #primitiveInitializeQueueWith: in
TFCallbackQueue failed".

see pic:   

When I load it again it looks good. But then I get the error message with
every Pharo start.

To rule out possible errors, I tested with a fresh Pharo8 64bit image, of
course.

Could you tell me what i'm doing wrong?

Thanks 
ASAM










--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] How to get text field value and send to bat file

2020-07-25 Thread shawon58
hi
as i get idea in my one nameTextInput is the place what receive data. but
that data i want to send but how to thats the issue.

Thanks



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html



Re: [Pharo-users] How to get text field value and send to bat file

2020-07-25 Thread Ben Coman
Searching the table of contents of Pharo By Example
I see "Using streams for file access"
that would be a good place to start, and then browse other the methods
of the classes used there,
and also the "senders" of any of those that look interesting.

cheers -ben

On Sat, 25 Jul 2020 at 15:04, shawon58  wrote:
>
> Hello
> i am new in GUI in pharo . I am following Spec2 form where i can able to
> make form that send value and show in result tab. But my concern is i want
> to send the text field value to a Bat file which will execute a C++ file. So
> i want to use LibC system: 'a.bat textfieldinput' like this but how to do i
> dont know. If anyone have idea pleas share with me. In the screenshot u can
> see that i can send a number that shows in result tab. But now i want to
> send same number when i press submit than it will send to  LibC system:
> 'a.bat textfieldinput' means in bat it will receive the number from the
> form.
>
> Thanks
>
> 
>
>
>
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>



[Pharo-users] How to get text field value and send to bat file

2020-07-25 Thread shawon58
Hello
i am new in GUI in pharo . I am following Spec2 form where i can able to
make form that send value and show in result tab. But my concern is i want
to send the text field value to a Bat file which will execute a C++ file. So
i want to use LibC system: 'a.bat textfieldinput' like this but how to do i
dont know. If anyone have idea pleas share with me. In the screenshot u can
see that i can send a number that shows in result tab. But now i want to
send same number when i press submit than it will send to  LibC system:
'a.bat textfieldinput' means in bat it will receive the number from the
form.

Thanks

 



--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html