Util.h: Internal use only?

1560
2
04-01-2011 01:33 AM
Jan-Tschada
Esri Contributor
Using the Beta 3 version of the File Geodatabase API for Windows the IFields struct seems to be only forward declarated.

Steps to reproduce:
Include "Util.h" and try to compile. Compiler error: IFields missing identifier

Could it be, that this header file is for internal use only?

Thanks in advance
Product Manager
Developers and Location Services
Germany and Switzerland
0 Kudos
2 Replies
LanceShipman
Esri Regular Contributor
It's not for internal use only. You need to also include Row.h or just use FileGDBAPI.h.
0 Kudos
DavidSousa
New Contributor III
Util.h should have had a forward declaration of IFields.  It was a minor oversight that it was omitted, which has been corrected.  The corrected version will be available in the next drop of the API, which will occur in a few weeks from now.

In the meantime, you could actually add the forward declaration to Util.h yourself, or as Lance suggested, simply include the lynch pin header file FileGDBAPI.h which includes all of the other header files.

-David Sousa
0 Kudos