BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

fopen returns NULL in VISTA

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (WinAPI)
View previous topic :: View next topic  
Author Message
Goliath_of_OGL
Guest





PostPosted: Fri Mar 02, 2007 9:11 am    Post subject: fopen returns NULL in VISTA Reply with quote



Hello guys,

One more questions for you guys to ponder. When i use
fopen in VISTA ( in VC6.0) with the second option as "wb0"( for ex:
fopen("myfile.txt","wb0")) fopen returns NULL in the release mode. If
i do the same with shared MFC dll it succeeds. Anybody who has faced
this kind of problem.

Thanks and Regards
Pawan
Back to top
Eric
Guest





PostPosted: Sun Apr 01, 2007 11:20 pm    Post subject: Re: fopen returns NULL in VISTA Reply with quote



Goliath_of_OGL wrote:

Quote:
Hello guys,

One more questions for you guys to ponder. When i use
fopen in VISTA ( in VC6.0) with the second option as "wb0"( for ex:
fopen("myfile.txt","wb0")) fopen returns NULL in the release mode. If
i do the same with shared MFC dll it succeeds. Anybody who has faced
this kind of problem.

Thanks and Regards
Pawan
why the 0 in "wb0"? Have not heard of that and whats release mode?. In

anycase, if you want to read a text file use "rt" == Read Text
Eric
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (WinAPI) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.