It's not possible for any ArcSDE function to return a value in excess of 2^31-1. If you definedthe 'rc' variable as LONG (which on 64-bit platforms is defined "int"), the return value wouldhave been -30 (SE_INVALID_SEARCH_METHOD).Did you just recently port to 64-bit? What compilation flags do you use? Is '-DSDE64' inthe list? Alignment issues could easily cause this sort of problem, but usually the compilerwould complain when the prototypes are violated.-VBTW: The SE_stream_query() function was superceeded by SE_stream_query_with_info atthe 9.2 release. If you're still using SE_SQL_CONSTRUCT-based functions at 10.0, you mayrun into other difficulties as well.
-Wall -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D_ISOC99_SOURCE -DARCSDE=100 -DLINUX -Dunix -I$(SDEHOME)/include
-Wall -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D_ISOC99_SOURCE -DARCSDE=100 -DLINUX -DSDE64 -Dunix -I$(SDEHOME)/include
CC= gcc LFLAGS=-L$(SDEHOME)/lib LIBS=-lsde -lsg -lpe -lpthread -lm -ldl
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.