Title: Message
Hi Stephen,
 
I modified my db.gxh file like you said but I still get the same result. I'll try locking the database before the iChansMax operation, but I don't believe that will work.
 
Aaron
 
 
----- Original Message -----
Sent: Wednesday, December 04, 2002 12:49 PM
Subject: RE: [gxnet]: iChansMax_DB()

Aaron:
 
The problem you are having is due to a series of bugs in the db.gxh header file. The following four functions should return type "int" but are currently returning type "void".
 
Try fixing the problem by editing your copy of db.gxh and subitituting in the correct types: e.g.:
 
//-------------------------------------------------------------------------
// iBlobsMax_DB   Gets Maximum Number of Blobs in the Database
//
// Returns        Maximum Number of Blobs in the Database
//
 
[geogx] int
iBlobsMax_DB( DB );            // Database Object
 
//-------------------------------------------------------------------------
// iLinesMax_DB   Gets Maximum number of lines in the database
//
// Returns        Maximum number of lines in the database
//
 
[geogx] int
iLinesMax_DB( DB );            // Database Object
 
//-------------------------------------------------------------------------
// iChansMax_DB   Gets Maximum Number of Channels in the Database
//
// Returns        Maximum Number of Channels in the Database
//
 
[geogx] int 
iChansMax_DB( DB );            // Database Object
 
//-------------------------------------------------------------------------
// iUsersMax_DB   Gets Maximum number of Users
//
// Returns        Maximum number of Users
//
 
[geogx] int
iUsersMax_DB( DB );            // Database Object
 
 
Hope this helps...
 
Stephen Cheesman

_______________
Geosoft Inc.
Stephen Cheesman
[EMAIL PROTECTED]
(905) 315-8207

Software and services for effective earth science decision-making. Free Oasis montaj interface with public-domain Data Access Protocol (DAP) for accessing high-volume spatial data over the Internet available for download at http://www.geosoft.com/pinfo/free/downloadfree.html

 

Reply via email to