Re: [Pharo-users] CogVM arguments in Win32
indeed, --headless does work but the image just dies after executing it... :( I guess some FFI research to minimize the app to tray is in place. Thanks! 2013/10/29 Esteban Lorenzano esteba...@gmail.com AFAIK you can't. no matter what you do, it stills shows a pharo in the trial. I remember once I hid the fact that I had the app running there by replacing the world with an administrative morph (just as other server apps do). It was not terrible cool, but it worked. Esteban On Oct 29, 2013, at 7:14 AM, Bernat Romagosa tibabenfortlapala...@gmail.com wrote: Ok, I see Pharo -help brings up a window with command line options, but -headless is still firing up the GUI... any ideas? 2013/10/29 Bernat Romagosa tibabenfortlapala...@gmail.com Hi list! I've never used Pharo on Windows before, but we're starting to package a multi-platform app right now and I've just found out command line arguments don't work like I thought they would. I need to run the image headless, so I figured: bin-win32\Pharo -headless shared\Pharo2.0.image Would do the trick, but it's not working. Pharo /? doesn't give any hints either, and I can't seem to find the docs for the Windows VM anywhere. Does anybody know where I can find a Win32 VM reference? Thanks! -- Bernat Romagosa. -- Bernat Romagosa. -- Bernat Romagosa.
Re: [Pharo-users] CogVM arguments in Win32
In this direction, I'm trying to call a function in the shell32.dll lib that apparently should let you minimize an app to the system tray, but I'm not having much luck... I guess I don't really understand what am I exactly doing. This is what I found in the MSDNhttp://msdn.microsoft.com/en-us/library/bb762159%28VS.85%29.aspx : BOOL Shell_NotifyIcon( _In_ DWORD dwMessage, _In_ PNOTIFYICONDATA lpdata ); So, I tried to translate this into Pharo as: MyClass minimizeToTray: dwMessage data: lpData apicall: bool 'Shell_NotifyIcon' (dword PNOTIFYICONDATA) module: 'shell32.dll' But it won't let me save the method, reporting it's expecting an argument before PNOTIFYICONDATA. I realize PNOTIFYICONDATA is not a primitive type, but I just don't know how to handle it... :(
Re: [Pharo-users] Using FFI
Hi Annick, Rapsberry (ARM) does not supports FFI either (current implementation is x86 architecture). Esteban On Oct 30, 2013, at 5:41 AM, Annick Fron i...@afceurope.com wrote: My problem is that the Raspberry does not support native boost (as yet !). Where can I load the old FFI ? Le 29 oct. 2013 à 16:57, Igor Stasenko siguc...@gmail.com a écrit : On 29 October 2013 16:27, Annick Fron i...@afceurope.com wrote: Hi I want to launch a simple init with the following C signature : void gst_init (int *argc, char **argv[]) If I write apicall: void 'gst_init' (int*, char**) module: 'blabla' I get a Smalltalk syntax error Annick Fron To use this syntax, you must load old FFI implementation. Or use NativeBoost: init: intarg with: chararg primitive: 'primitiveNativeCall' module: 'NativeBoostPlugin' self nbCall: 'void gst_init (int * intarg, char ** chararg)' module: 'blaba' -- Best regards, Igor Stasenko.
Re: [Pharo-users] [Pharo-dev] Pharo presentation at Smalltalk 2013
i got the message :) On 30 October 2013 16:22, Stéphane Ducasse stephane.duca...@inria.frwrote: http://www.slideshare.net/pharoproject/2013smalltalksconference-pharo-is-yours Stef -- Best regards, Igor Stasenko.
[Pharo-users] Anyone have a script to take a set of Packages and commit them in chronological order to a git repo?
Hi, I'm thinking to use travisci.org to build and test some of the MIT licensed packages I've been maintaining. I'd like to get those packages development histories into git in an orderly way, so the information is there for curiosity's sake. Thanks Paul