Raised This Month: $ Target: $400
 0% 

while( next_file( handleDir, s_Buffer, charsmax( s_Buffer ) ))


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
gamer99
Senior Member
Join Date: Jul 2011
Old 08-09-2011 , 14:58   Re: while( next_file( handleDir, s_Buffer, charsmax( s_Buffer ) ))
Reply With Quote #3

I did but the problem is ....


I need next file of a particular file . For example if I have

001.dll
002.dll
003.dll


Then i have put condition like
Code:
while( next_file( handleDir, s_Buffer, charsmax( s_Buffer ) ))
    {
            if(!(containi(s_Buffer,"dll") !=-1) ||equali(s_Buffer,s_Temp) )
			continue
but whatever is the file, nextfile is "..""
Now as I am doing continue it is again calculating the next file and I am getting only one file each time . The next file of ".."

So how to overcome it . I hope you got my problem
gamer99 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode