Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with CString Datatype Pin
Vichitram12-Feb-07 22:35
Vichitram12-Feb-07 22:35 
Questionhow to appending the Formated text in RichEdit2.0 ? Pin
Swapnil G12-Feb-07 18:51
Swapnil G12-Feb-07 18:51 
AnswerRe: how to appending the Formated text in RichEdit2.0 ? Pin
Hamid_RT12-Feb-07 19:34
Hamid_RT12-Feb-07 19:34 
GeneralRe: how to appending the Formated text in RichEdit2.0 ? Pin
Swapnil G12-Feb-07 19:43
Swapnil G12-Feb-07 19:43 
GeneralRe: how to appending the Formated text in RichEdit2.0 ? Pin
Hamid_RT12-Feb-07 19:55
Hamid_RT12-Feb-07 19:55 
QuestionWorking with Dll Pin
Suresh H12-Feb-07 18:50
Suresh H12-Feb-07 18:50 
QuestionRe: Working with Dll Pin
prasad_som12-Feb-07 18:59
prasad_som12-Feb-07 18:59 
AnswerRe: Working with Dll Pin
Suresh H12-Feb-07 19:22
Suresh H12-Feb-07 19:22 
Hi Prasad,

Thank you very much for the response.

I have this ListFiles Function in my Dll File , and I checked in the Console interface its lists all the files , now I want to add each and every file names to win 32 Api interface in the list box.
<br />
Listfiles function in the Dll file.<br />
<br />
STDMETHODIMP_ (void)<br />
CMyA::XMyAObj::ListFiles (char *dir) <br />
{<br />
	-----<br />
	----------<br />
	----------------<br />
			<br />
	_chdir(dir);<br />
	if( (File_handle = _findfirst( "*", &file_s )) == -1L ) {<br />
       printf( "No files in current directory!\n" );<br />
	}<br />
	else if (file_s.attrib & _A_NORMAL){<br />
		sprintf (name, "%s",dir);<br />
		fnum++;<br />
		insert (fnum, dir);<br />
	}	<br />
	else {<br />
		do {<br />
			if (strcmp (file_s.name, ".") == 0 || strcmp (file_s.name, "..") == 0)<br />
				continue;<br />
			if (strlen (dir) + strlen (file_s.name) + 2 > sizeof (name)) {<br />
				fprintf (stderr, "Dir name too long\n");<br />
				return;<br />
			}<br />
			<br />
			if (file_s.attrib & _A_SUBDIR) {<br />
				sprintf (name, "%s/%s",dir, file_s.name);<br />
				ListFiles(name);<br />
			}<br />
<br />
-----<br />
		----------<br />
		----------------<br />
<br />


In interface I am passing the directory name like this

pA->ListFiles(itemText);

now I want to know how to extract all the file names and add it to list box in the interface. ???
AnswerRe: Working with Dll Pin
prasad_som12-Feb-07 19:30
prasad_som12-Feb-07 19:30 
GeneralRe: Working with Dll [modified] Pin
Suresh H12-Feb-07 19:33
Suresh H12-Feb-07 19:33 
QuestionRe: Working with Dll Pin
prasad_som12-Feb-07 19:42
prasad_som12-Feb-07 19:42 
GeneralRe: Working with Dll Pin
Suresh H12-Feb-07 19:53
Suresh H12-Feb-07 19:53 
AnswerRe: Working with Dll Pin
prasad_som12-Feb-07 21:15
prasad_som12-Feb-07 21:15 
GeneralRe: Working with Dll Pin
Suresh H12-Feb-07 22:06
Suresh H12-Feb-07 22:06 
QuestionRe: Working with Dll Pin
prasad_som12-Feb-07 22:17
prasad_som12-Feb-07 22:17 
AnswerRe: Working with Dll Pin
Suresh H12-Feb-07 22:30
Suresh H12-Feb-07 22:30 
GeneralRe: Working with Dll Pin
prasad_som12-Feb-07 22:35
prasad_som12-Feb-07 22:35 
GeneralRe: Working with Dll Pin
Suresh H12-Feb-07 22:45
Suresh H12-Feb-07 22:45 
QuestionAnybody with hyperthreading Pin
Waldermort12-Feb-07 13:37
Waldermort12-Feb-07 13:37 
AnswerRe: Anybody with hyperthreading Pin
Mark Salsbery12-Feb-07 13:59
Mark Salsbery12-Feb-07 13:59 
GeneralRe: Anybody with hyperthreading Pin
Waldermort12-Feb-07 14:15
Waldermort12-Feb-07 14:15 
AnswerRe: Anybody with hyperthreading Pin
Naveen12-Feb-07 16:31
Naveen12-Feb-07 16:31 
AnswerRe: Anybody with hyperthreading Pin
kakan12-Feb-07 19:21
professionalkakan12-Feb-07 19:21 
QuestionMSDN examples Pin
Waldermort12-Feb-07 12:16
Waldermort12-Feb-07 12:16 
AnswerRe: MSDN examples Pin
Mark Salsbery12-Feb-07 12:49
Mark Salsbery12-Feb-07 12:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.