Subject | Newbie; isc_service_query; isc_info_svc_server_version |
---|---|
Author | paul_damian <paul_damian@yahoo.com> |
Post date | 2003-02-08T11:58:47Z |
Hi *,
I'm writing an front app for Firebird 1.0.2 (actually porting it from
MS-SQL) in Visual Basic 6. I'm trying to use the isc_service_query
API function to retrieve the server version. And I'm having trouble
to write the Declare Function in VB and call it, and I don't don't
why.
In an article on the Borland site, there's a statement that for
passive services (like this one) there's no need to attach a service
(isc_service attach) before calling isc_service_query, but in the API
documentation it says that it is manadatory. So, where's the truth?
So, I don't know how exactly to build the SPB, because I have to give
out username, password, server & protocol (192.168.0.1:service_mgr)
and the isc_info_svc_server_version constant.
Any help? ;)
Best regards,
Paul
I'm writing an front app for Firebird 1.0.2 (actually porting it from
MS-SQL) in Visual Basic 6. I'm trying to use the isc_service_query
API function to retrieve the server version. And I'm having trouble
to write the Declare Function in VB and call it, and I don't don't
why.
In an article on the Borland site, there's a statement that for
passive services (like this one) there's no need to attach a service
(isc_service attach) before calling isc_service_query, but in the API
documentation it says that it is manadatory. So, where's the truth?
So, I don't know how exactly to build the SPB, because I have to give
out username, password, server & protocol (192.168.0.1:service_mgr)
and the isc_info_svc_server_version constant.
Any help? ;)
Best regards,
Paul