Re: [fpc-pascal] msedb and fcl-db benchmarks
On Wed, 18 Jul 2007, Martin Schreiber wrote: > On Tuesday 17 July 2007 23.58, Joost van der Sluis wrote: > > > So this makes your case, doesn't it. Martin argued that his dataset was > > > designed to work together with his visual controls. > > > > Yes, but it's an important part, because exactly this is the part that > > has changed. Except from this and the widestring-difference, there are > > no real differences. So I'm very curious know why his dataset works > > better with his visual controls. > > I want to know this, so we can remove the need for two times the same > > component. Or that's at least what I hope for. > > > What I need for the MSEgui components is > - fast RECNO access for the DB grid proportional scrollbar mode (I think we > talked about that when you changed TBufDataset to an linked list). > - internal indexes to switch sorting order in DB grids fast. > - calculated fields (which didn't work in TBufDataset at the time I needed > them). > - internal calc fields (which are not implemented in TBufDataset up to now > AFAIK). > - full BLOB and MEMO support (they where not fully functional in TSQLQuery at > the time I needed them). > -"TClientDataset" functionality (not implemented in TBufDataset). > - the storage of strings as widestrings to prevent converting from/to unicode > at every data access. > - the storage of strings as pointer to a variable length string to allow the > MSEgui users to use long varchar fields without memory waste (TSQLQuery > stored the popular PostgreSQL TEXT field with dsMaxStringSize = 8192 bytes). > - the limiting of the edited string length by character count and not byte > count (think on multibyte encodings or current Linux installations with utf-8 > locals). > - and possible more which comes into mind at the moment... All this will not be a problem as this is why we'll merge the stuff in the first place: To have 1 set of components with the most possibilities. With the possible exception of the storage of strings as pointers. This is an internal issue which you should not worry about. The TEXT field in postgressql should be mapped to a blob field then. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
RE: [fpc-pascal] Some questions about fpc.cfg
Hi *, Where can I find information about DEFINES I can use in Fpc.Cfg? thanks, Jose Pascual > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] En nombre de josepascual > Enviado el: lunes, 16 de julio de 2007 19:39 > Para: 'FPC-Pascal users discussions' > Asunto: [fpc-pascal] Some questions about fpc.cfg > > Hi Everyone, > > How can I used #IFDEF to check which is the Fpc Release (something like > #IFDEF FPC_RELEASE=4)? > I have several version of fpc (2.1.4, 2.1.5, 2.3.1) and fpc.cfg is > different > in each case. > how can I check it? > > or, Is there any form to use a #IFDEF in fpc.cfg if compiler where > build > with CfSOFT or other/s option > in order to choose with -Fl different libraries to link? > > thank you, > > Jose Pascual > > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > __ Informacisn de NOD32, revisisn 2400 (20070716) __ > > Este mensaje ha sido analizado con NOD32 antivirus system > http://www.nod32.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
RE: [fpc-pascal] Some questions about fpc.cfg
On Wed, 18 Jul 2007, josepascual wrote: > Hi *, > > Where can I find information about DEFINES I can use in Fpc.Cfg? In the user's and programmer's manuals. The defines in the FPC.CFG are the same as the ones in the sources. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Some questions about fpc.cfg
> On Wed, 18 Jul 2007, josepascual wrote: > > > Hi *, > > > > Where can I find information about DEFINES I can use in Fpc.Cfg? > > In the user's and programmer's manuals. > > The defines in the FPC.CFG are the same as the ones in the sources. The buildfaq has some more examples, most about crosscompiling. (or maybe they have been absorbed in the manual by now) http://www.stack.nl/~marcov/buildfaq.pdf ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
RE: [fpc-pascal] Some questions about fpc.cfg
Thanks, I have created a -dMYDEFINE in command line of ppc and I check it in Fpc.cfg in order to complete rest of options. It's really interesting when It's necessary to use different version of binutils and in other cases also. Jose Pascual > -Mensaje original- > De: [EMAIL PROTECTED] [mailto:fpc-pascal- > [EMAIL PROTECTED] En nombre de Michael Van Canneyt > Enviado el: miércoles, 18 de julio de 2007 11:27 > Para: FPC-Pascal users discussions > Asunto: RE: [fpc-pascal] Some questions about fpc.cfg > > > > On Wed, 18 Jul 2007, josepascual wrote: > > > Hi *, > > > > Where can I find information about DEFINES I can use in Fpc.Cfg? > > In the user's and programmer's manuals. > > The defines in the FPC.CFG are the same as the ones in the sources. > > Michael. > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > __ Informacisn de NOD32, revisisn 2404 (20070717) __ > > Este mensaje ha sido analizado con NOD32 antivirus system > http://www.nod32.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] SNMP For Accessing PDUs
Good morning, folks! I am in desperate need of an SNMP unit that will let me pull information from an APC PDU via SNMP for some network monitoring software I need to write. I currently use Synapse, however, and the program I have currently seems to connect to the PDU via SNMP, but it fails to retrieve any data. Any suggestions would be greatlfully appreciated! ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] SNMP For Accessing PDUs
Zitat von Robert Wolfe <[EMAIL PROTECTED]>: > Good morning, folks! > > I am in desperate need of an SNMP unit that will let me pull information > from an APC PDU via SNMP for some network monitoring software I need to > write. I currently use Synapse, however, and the program I have > currently seems to connect to the PDU via SNMP, but it fails to retrieve > any data. > > Any suggestions would be greatlfully appreciated! This works: procedure MiniSNMPTest; var OIDSysName: String; aSNMPSend: TSNMPSend; i: Integer; CurMIB: TSNMPMib; begin aSNMPSend := TSNMPSend.Create; aSNMPSend.Query.Clear; aSNMPSend.Query.Community := 'public'; aSNMPSend.Query.PDUType := PDUGetRequest; aSNMPSend.TargetHost := '192.168.0.1'; OIDSysName:='1.3.6.1.2.1.1.5.0'; // system.sysName.0 aSNMPSend.Query.MIBAdd(OIDSysName, '', ASN1_NULL); if aSNMPSend.SendRequest then begin for i:=0 to aSNMPSend.Reply.MIBCount-1 do begin CurMIB:=aSNMPSend.Reply.MIBByIndex(i); if CurMIB.OID=OIDSysName then writeln('Decription: ',CurMIB.Value); end; end else begin writeln('SNMP failed'); end; aSNMPSend.Free; end; Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal