Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages
Started by Renald Yazmir
Wed, 06 Dec 2006 21:34
__findnext returns different results
Author: Renald Yazmir
Date: Wed, 06 Dec 2006 21:34
Date: Wed, 06 Dec 2006 21:34
9 lines
1116 bytes
1116 bytes
I have an application written in C. It is compiled in Studio 6 and in Borland 4.0. __findnext returns different values in these 2 environments Does anyone know why? Thank you Rony.
Re: __findnext returns different results
Author: Ed Mulroy
Date: Thu, 07 Dec 2006 03:21
Date: Thu, 07 Dec 2006 03:21
12 lines
1367 bytes
1367 bytes
What are the differences and what does the code look like? By "Borland 4.0" do you mean Borland C++ 4.0 or Borland C++ Builder 4.0? . Ed > Renald Yazmir wrote in message > news:4577371e@newsgroups.borland.com... >I have an application written in C. It is compiled in Studio 6 and in >Borland 4.0. __findnext returns different values in these 2 environments > > Does anyone know why?
Re: __findnext returns different results
Author: Alan Bellingham
Date: Thu, 07 Dec 2006 09:57
Date: Thu, 07 Dec 2006 09:57
27 lines
1830 bytes
1830 bytes
"Renald Yazmir" <renald@partmaker.com> wrote: >I have an application written in C. It is compiled in Studio 6 and in >Borland 4.0. >__findnext returns different values in these 2 environments > >Does anyone know why? Yes. In the first case, it is finding the file and returning 0. In the second case, it is not finding the file, and returning -1. Mystic Meg solves another problem! If you'd prefer a sensible answer rather than Mystic Meg's psychic guesses, then some indication of what your different values are would be useful. Since in both cases, the documented function returns 0 or -1, the only guessable conclusion is that the file is being found by one, not by the other. This could be because you're running the program in a different place, the file thus not being visible, or even on a different PC that doesn't have the file. Alan Bellingham -- ACCU Conference: 11-14 April 2007 - Paramount Oxford Hotel
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads