RE : [fpc-pascal] Re: Array of byte from a COM object

2011-06-09 Thread Ludo Brands
If the Assert(VarType(V) = varByte or varArray); is not raising an error then you are not getting a Safearray. VarArrayLock is for safearrays. If you are getting an array of byte, you should be able to access the bytes as V[i]. Do you have the interface definition for the method returning the "arr

[fpc-pascal] Re: Array of byte from a COM object

2011-06-09 Thread Marcos Douglas
On Thu, Jun 9, 2011 at 11:26 AM, Marcos Douglas wrote: > > Hi, > How I can a return "array of byte" from a COM object and put in a Stream? > I use a OleVariant variable to get the return. But I can not convert > in a string (the return is a XML). I did using this function: procedure VariantToStr

[fpc-pascal] Array of byte from a COM object

2011-06-09 Thread Marcos Douglas
Hi, How I can a return "array of byte" from a COM object and put in a Stream? I use a OleVariant variable to get the return. But I can not convert in a string (the return is a XML). Marcos Douglas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.o

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Zaher Dirkey
On Thu, Jun 9, 2011 at 3:47 PM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > On Thu, Jun 9, 2011 at 3:43 PM, Felipe Monteiro de Carvalho > wrote: > > But the paths in the package are wrong. > > > > Your lpk file says: > > > > - > > - > > - > > -

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Jonas Maebe
On 09 Jun 2011, at 15:47, Felipe Monteiro de Carvalho wrote: On Thu, Jun 9, 2011 at 3:43 PM, Felipe Monteiro de Carvalho wrote: But the paths in the package are wrong. Your lpk file says: - - - - Actually this unit should not be in this package, but in a separa

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
On Thu, Jun 9, 2011 at 3:43 PM, Felipe Monteiro de Carvalho wrote: > But the paths in the package are wrong. > > Your lpk file says: > > -       > -         > -         > -       Actually this unit should not be in this package, but in a separate package for the lib dir. -- Felipe Monteiro de C

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
On Thu, Jun 9, 2011 at 3:32 PM, Zaher Dirkey wrote: >> 1> miniedit is missing a dependency on the package minisocket, even >> while it requires it > > not understand? miniedit requires a lot of packages which are not added to it's Project Inspector. Try going to your Project Options dialog, then

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Zaher Dirkey
On Thu, Jun 9, 2011 at 3:12 PM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > On Thu, Jun 9, 2011 at 3:06 PM, Zaher Dirkey wrote: > > commits, > > Thanks for being patient. > > Some more issues: > > 1> miniedit is missing a dependency on the package minisocket, even >

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
On Thu, Jun 9, 2011 at 3:06 PM, Zaher Dirkey wrote: > commits, > Thanks for being patient. Some more issues: 1> miniedit is missing a dependency on the package minisocket, even while it requires it 2> The file mnStream.pas cannot be found by the package minisockets (it wasn't commited, it seams

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Zaher Dirkey
On Thu, Jun 9, 2011 at 2:58 PM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > ntvTabSets commits, Thanks for being patient. -- Zaher Dirkey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasca

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
On Thu, Jun 9, 2011 at 12:46 PM, Zaher Dirkey wrote: > Yes, it is need minilib > > http://sourceforge.net/projects/minilib > http://minilib.svn.sourceforge.net/viewvc/minilib/ minilib doesn't compile: ntvTabSets.pas(24,22) Fatal: Can't find unit ntvThemes used by ntvTabSets Looks like that a fi

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Zaher Dirkey
On Thu, Jun 9, 2011 at 12:33 PM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > On Thu, Jun 9, 2011 at 12:13 PM, Zaher Dirkey wrote: > >> 1> What are the commands to download the source via git? > > > > There is download button in github project page for downloading the

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
On Thu, Jun 9, 2011 at 12:13 PM, Zaher Dirkey wrote: >> 1> What are the commands to download the source via git? > > There is download button in github project page for downloading the source. > https://github.com/parmaja/miniedit/archives/master What is this "NativeLib" package that it requires?

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Zaher Dirkey
On Thu, Jun 9, 2011 at 10:38 AM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > Interresting, my needs are very basic, so I have some questions (maybe > the answers could be put in the wiki): > > 1> What are the commands to download the source via git? > There is downlo

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
Interresting, my needs are very basic, so I have some questions (maybe the answers could be put in the wiki): 1> What are the commands to download the source via git? 2> Does it support opening files by passing a command line argument? 3> Which syntaxes does it support? 4> Which encodings does

Re: [fpc-pascal] check if process ID is running under BSD

2011-06-09 Thread Mattias Gaertner
On Wed, 8 Jun 2011 12:58:55 +0200 (CEST) mar...@stack.nl (Marco van de Voort) wrote: > In our previous episode, Mattias Gaertner said: > > > I don't know if it exist a FPC function for that. > > > > > > i'll do an external commad like " ps -ef | grep bash | grep -v grep | awk > > > '{print $8}'"