RE: Re: [fpc-pascal] ActiveX COM OLE2 on WinCE Arm

2009-03-17 Thread Henrik Genssen
I took the files from: http://svn.freepascal.org/svn/fpc/trunk/packages/winunits-base/src/ -- Hinnack reply to message: date: 16.03.2009 21:24:51 from: Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com to: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org subject: Re:

[fpc-pascal] Re: DirectX applications crash

2009-03-17 Thread Paul Nicholls
Hi Felipe, Perhaps you should try setting the interfaces to Nil instead of calling their _release method... // this is the function that cleans up Direct3D and COM procedure cleanD3D(); begin d3ddev := Nil;// close and release the 3D device d3d := Nil;// close and release

Re: Re: [fpc-pascal] ActiveX COM OLE2 on WinCE Arm

2009-03-17 Thread Marco van de Voort
In our previous episode, Henrik Genssen said: I took the files from: http://svn.freepascal.org/svn/fpc/trunk/packages/winunits-base/src/ Not all the trunk fixes to that dir are in the upcoming. But most are. ___ fpc-pascal maillist -

Re: [fpc-pascal] ACPI WakeUp

2009-03-17 Thread Henry Vermaak
2009/3/16 Milan Marusinec mi...@marusinec.sk: Hello, Does anybody have pascal source for programatical WakeUp in standby mode through ACPI interfaces ? which os? on linux you can use the rtc alarm to wake up after a specific time, i don't know if there's another way. on my system it's:

Re: [fpc-pascal] ACPI WakeUp

2009-03-17 Thread Henry Vermaak
2009/3/17 Henry Vermaak henry.verm...@gmail.com: you can read the source of rtcwake, too, which does more or less the same thing, i think. and read rtc.txt in your kernel source. henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Mac OS X SDL without gcc or XCode

2009-03-17 Thread Jonas Maebe
On 17 Mar 2009, at 14:52, dmitry boyarintsev wrote: There're some fpc-sdl templates for XCode (at jedi-sdl). I'm using Lazarus IDE (codetools mostly wanted feature) for development, and using XCode is pain for me. It's also possible to use precompiled library, as desctibed at this forum

Re: [fpc-pascal] Mac OS X SDL without gcc or XCode

2009-03-17 Thread dmitry boyarintsev
In this case, libSDLmain.a is always available in pre-compiled form (it's automatically compiled along with the rest of the sources). That's also why the FPC SDL unit always links against against that library (so that it works without having to add anything extra in the main program.). Thanks

Re: [fpc-pascal] Mac OS X SDL without gcc or XCode

2009-03-17 Thread Jonas Maebe
On 17 Mar 2009, at 19:13, dmitry boyarintsev wrote: In this case, libSDLmain.a is always available in pre-compiled form (it's automatically compiled along with the rest of the sources). That's also why the FPC SDL unit always links against against that library (so that it works without

Re: [fpc-pascal] Mac OS X SDL without gcc or XCode

2009-03-17 Thread dmitry boyarintsev
Yes, that can still be removed. Removed...yes, but shall it be removed in fpc headers? Or should it be removed in jedi-sdl headers first, and only after that fpc sdl headers will be updated? I could make a patch, removing x11 dependancy for darwin, but something tells me, that it would not be

Re: [fpc-pascal] Re: DirectX applications crash

2009-03-17 Thread Felipe Monteiro de Carvalho
Really interresting, this helps a lot. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Array initialization

2009-03-17 Thread Francisco Reyes
On the following URL, http://web.mit.edu/sunsoft_v5.1/www/pascal/lang_ref/ref_data.doc.html#1212, I found some different syntax to initialize an array. Examples there.. var c1 : array[1..10] of char := '123456'; int2 : array[1..100] of integer := [50 of 1, 50 of 2]; Tried those, but didn't

Re: [fpc-pascal] Array initialization

2009-03-17 Thread Fantomas
Hello, Francisco! Wednesday, March 18, 2009, 2:50:21 AM, you wrote: Is a loop the only way to initialize all the values in an array other than Values: array[1..2] of integer = (0,0); In the program I am working on, Values will be an array of 128 integers and I would like to initialize them

Re: [fpc-pascal] Array initialization

2009-03-17 Thread Andrew Brunner
var c1 : array[1..10] of char; begin fillchar(c1[1],5,0); fillchar(c1[5],5,#32); You might need @ sign in front of c1 though... ...or... const c1:array[1..10] of char = '123456789a'; On Tue, Mar 17, 2009 at 5:50 PM, Francisco Reyes li...@stringsutils.com wrote: On the following URL,

Re: [fpc-pascal] Array initialization

2009-03-17 Thread leledumbo
On the following URL, http://web.mit.edu/sunsoft_v5.1/www/pascal/lang_ref/ref_data.doc.html#1212, I found some different syntax to initialize an array. That's another Pascal extension from Sun. One of the problem (and power) of Pascal is that it's often extended arbitrarily, because no