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

C / C++ / MFC

 
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 
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 
Prasad I have two files now one Win32 api interface (.exe) where I have the list box.
2nd one is I have dll file with List file function.

I am passing the parameter to dll from exe by below code
<br />
<br />
IClassFactory *pclsf;<br />
IUnknown *pUnk;<br />
IMyA *pA;<br />
	<br />
//Initialize the OLE liberaries<br />
CoInitialize(NULL);<br />
	<br />
	//get the IClassFactory interface pointer<br />
HRESULT hr = CoGetClassObject(<br />
							MYA_CLSID,<br />
							CLSCTX_INPROC,<br />
							NULL,<br />
							IID_IClassFactory,<br />
							(void **) &pclsf);<br />
<br />
<br />
  pA->ListFiles("Dir name");<br />


now I am actually passing the values to dll which does the process.
After that process its list some file names which I have to add in my interface. Since the List box is in Interface(exe), I want to know how to access List box from the dll ???

Can I directly give this code
<br />
char *pFileName = "SomeThing";<br />
SendMessage(hLBox,LB_ADDSTRING,0,pFileName);


in the DLL will this work ???? but how to get handle of the list box and all ??? can u please tell me.
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 
GeneralRe: MSDN examples Pin
Waldermort12-Feb-07 13:35
Waldermort12-Feb-07 13:35 
GeneralRe: MSDN examples [modified] Pin
Anilkumar K V12-Feb-07 22:26
Anilkumar K V12-Feb-07 22:26 
QuestionOrphan process Pin
convivial.developer12-Feb-07 11:37
convivial.developer12-Feb-07 11:37 
AnswerRe: Orphan process Pin
Stephen Hewitt12-Feb-07 12:05
Stephen Hewitt12-Feb-07 12:05 

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.