[firebird-support] GUI version of FB Trace Manager (fbtracemgr)

2013-04-07 Thread certfb
Hello list!

I have implemented a very simple GUI version of the bundled trace tool 
fbtracemgr using wxWidgets.

If anyone is interested I am more than happy to upload or send them the code.

If I get the chance I will try to write a blog because some aspects of the 
trace API take a bit of digging to find the documentation ;)

The only problem that I have at the moment is that I am using the 
isc_info_svc_timeout command as part of a isc_info_svc_line 
isc_service_query() but instead of replying with isc_info_svc_timeout in the 
header the server replies with isc_info_svc_line but a zero length data block.

I looked through the source of fbtracemgr and although I think it expects 
isc_info_svc_timeout it probably doesn't give an error if it doesn't get it.

It isn't particularly important because I can just detect 0 length lines (for a 
normal response even an empty line provides a '\n') but I wondered if anyone 
has any ideas about this?




Re: [firebird-support] Restart and stop Firebird 2.5.2 on Linux

2013-04-07 Thread Konstantin Khomoutov
On Fri, 05 Apr 2013 22:17:09 -
jorgebj jorg...@yahoo.com wrote:

 How to restart and stop Firebird 2.5.2 on Linux?
 No rebooting the server.
 
 In version 2.1 of FireBird the command fbmgr was used to stop and
 restart Firebird.
 
 In Firebird 2.5.2 command no longer exists fbmgr.bin

Did you see this [1] my response to your first post on this topic?

1. http://tech.groups.yahoo.com/group/firebird-support/message/121289


[firebird-support] Re: Charset DOS850 not installed - FB2.5 Embedded

2013-04-07 Thread mariuz


--- In firebird-support@yahoogroups.com, Sávio savio_goncalves@... wrote:

Hi,
  
 
I did an application with Firebird 2.5 Embedded + xHarbour (BCC582 – 32 
 bits).
 
I developed it with ADO + OLE DB (IB OLEDB - v2.0.0207 provider).
 
All works fine until to execute a INSERT instruction.
 
The error is CHARACTER SET DOS850 is not installed. The folder INTL 
 exists and the DOS850 constant there is.
 
The ambient: win 7 64 bits (syswow64).
 
  
 What I do? Help, please.


please put the intl folder in the execution dir 
also you might try to find where the intl folder is searched (by the ole 
driver) with a file monitoring like utility 

http://technet.microsoft.com/en-us/sysinternals/bb896645

also i guess firebird is 32bit version right ?



[firebird-support] Re: GUI version of FB Trace Manager (fbtracemgr)

2013-04-07 Thread certfb

  The only problem that I have at the moment is that I am using the 
  isc_info_svc_timeout command as part of a isc_info_svc_line 
  isc_service_query() but instead of replying with isc_info_svc_timeout in 
  the header the server replies with isc_info_svc_line but a zero length 
  data block.
 
   IIRC, isc_info_svc_line (or isc_info_svc_to_eof) + zero data length means 
 end of stream and service was stopped at server side.

This might be my misunderstanding of the service was stopped at the server 
side but after receiving isc_info_svc_line + 0 I continue to receive 
isc_info_svc_line + valid data as soon some traceable event occurs so I don't 
think it has stopped?

Although I am running the query in a thread I need the timeout because 
isc_service_query() blocks until it is ready to send some data otherwise.
 
   BTW, fbtracemgr used isc_info_svc_to_eof query, not isc_info_svc_line. The 
 latter will produce very low performance.
  

Thanks for the tip, I will try to re-write to use isc_info_svc_to_eof.

 
   Because it is not an error. Errors reported via status-vector :)
 

Got it!

 
   Re-read TraceSvcUtil::runService() carefully...
 

Thanks I will do, it might take me some time because I am still learning, but I 
wanted to thank you for your reply quickly first.





[firebird-support] firebird connection with zeoslib and delphi 7

2013-04-07 Thread dice_in_trouble
hello i am using zeoslib 7.0.2, firebird 2.5.2 and delphi 7. i have a app that 
connects to my firebird database locally. i have set it up and it connects. but 
when i tried connecting via the local network, there is always an error when i 
am connecting. i used a zconnection and put in the database field on the object 
inspector the ip and path of my server and database (e.g. 
192.168.1.1:c:\test.fdb and put on the hostname field the ip of the server i 
wish to connect (e.g. 192.168.1.1) i have disabled the firewall and even opened 
the port manually when i tried connecting but still got errors. can anybody 
advise me on the settings of my zconnection?