benvenoide wrote: > > I'm trying to use the mitab c_api to do some cartographic data cruch > that we usually do with mapbasic, wich is becoming very heavy, hence > the need for something more performing. > Compiling the mitab_test on my computer (Windows XP with Microsoft > Visual C++ compiler) leads to a strange behaviour. The point is that > the mitab_c_write_feature function doesn't write the .tab file. > Strangely I don't get any error code, and strangely also the same > function seems to work nicely with .mif files. I have tried to > compile on another computer with similar settings and I get the same > behaviour. > Any help/experience?
Does the original mitabc_test program work for you? Hopefully you didn't just call mitab_c_write_feature() by itself in your program, that would definitely not work. If you look at function WriteFile() in mitabc_test.c, you'll see that to write data to a TAB file you need to first call mitab_c_create(), then add fields, create features, write them to the dataset, and finally close the file. HTH Daniel -- ------------------------------------------------------------ Daniel Morissette [EMAIL PROTECTED] DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/mitab/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
