Click here to Skip to main content
15,899,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralConvert .exe to .dll Pin
jw8128-Sep-04 19:16
jw8128-Sep-04 19:16 
GeneralRe: Convert .exe to .dll Pin
shaileshkumar28-Sep-04 19:53
shaileshkumar28-Sep-04 19:53 
GeneralRe: Convert .exe to .dll Pin
Michael Dunn28-Sep-04 22:38
sitebuilderMichael Dunn28-Sep-04 22:38 
GeneralRefresh a view Pin
Mughi28-Sep-04 18:14
Mughi28-Sep-04 18:14 
GeneralRe: Refresh a view Pin
Yulianto.28-Sep-04 18:26
Yulianto.28-Sep-04 18:26 
GeneralRe: Refresh a view Pin
Mughi29-Sep-04 1:12
Mughi29-Sep-04 1:12 
GeneralRe: Refresh a view Pin
Yulianto.29-Sep-04 16:48
Yulianto.29-Sep-04 16:48 
GeneralRe: Refresh a view Pin
Mughi29-Sep-04 19:35
Mughi29-Sep-04 19:35 
Thats true. But my code flow is like this.

All i have created is an MDI application of the following.

class CComputeApp : public CWinApp
class CComputeView : public CEditView
class CComputeDoc : public CDocument

1. I haven't coded anything on File open / save / close.
2. Everything is taken care automatically.
3. Imagine a file named compute.txt is opened in my application.
4. And after that, I run a process (thats a different class) from CComputeApp.
5. And the process returns a string (contains the filename).
6. Using the string, i call CDocument* CComputeApp::OpenDocumentFile(LPCTSTR lpszFileName) to open the file.
7. The problem is, if the file is already opened, this OpenDocumentFile method doesn't call CComputeDoc::OnOpenDocument(LPCTSTR lpszPathName).
8. And so, the view is not updated.

This is where my problem is. And thats why, i was curious about the place of code.

Sorry for all the frustrations. And hope that, i would overcome this problem.

Again, I thank in advance.

thanx

mughi
GeneralRe: Refresh a view Pin
Yulianto.30-Sep-04 18:46
Yulianto.30-Sep-04 18:46 
GeneralRe: Refresh a view Pin
22491728-Sep-04 18:27
22491728-Sep-04 18:27 
GeneralRe: Refresh a view Pin
Sujan Christo28-Sep-04 18:46
Sujan Christo28-Sep-04 18:46 
GeneralRe: Refresh a view Pin
Mughi30-Sep-04 1:40
Mughi30-Sep-04 1:40 
QuestionHow to add WAIT Dialog Box to the MFC Program Pin
pubududilena28-Sep-04 18:10
pubududilena28-Sep-04 18:10 
AnswerRe: How to add WAIT Dialog Box to the MFC Program Pin
Sujan Christo28-Sep-04 18:19
Sujan Christo28-Sep-04 18:19 
GeneralRe: How to add WAIT Dialog Box to the MFC Program Pin
pubududilena28-Sep-04 18:45
pubududilena28-Sep-04 18:45 
GeneralRe: How to add WAIT Dialog Box to the MFC Program Pin
Sujan Christo28-Sep-04 18:49
Sujan Christo28-Sep-04 18:49 
AnswerRe: How to add WAIT Dialog Box to the MFC Program Pin
22491728-Sep-04 18:46
22491728-Sep-04 18:46 
Generalhelp....... Pin
nivsah28-Sep-04 17:54
nivsah28-Sep-04 17:54 
GeneralRe: help....... Pin
Ravi Bhavnani28-Sep-04 18:32
professionalRavi Bhavnani28-Sep-04 18:32 
GeneralRe: help....... Pin
Ryan Binns28-Sep-04 18:51
Ryan Binns28-Sep-04 18:51 
QuestionHow to start a file's application in C++ Pin
Anonymous28-Sep-04 14:59
Anonymous28-Sep-04 14:59 
AnswerRe: How to start a file's application in C++ Pin
Scott H. Settlemier28-Sep-04 15:03
Scott H. Settlemier28-Sep-04 15:03 
AnswerRe: How to start a file's application in C++ Pin
Sujan Christo28-Sep-04 18:51
Sujan Christo28-Sep-04 18:51 
GeneralRe: How to start a file's application in C++ Pin
Anonymous1-Oct-04 12:00
Anonymous1-Oct-04 12:00 
GeneralEnumWindows Pin
dsubrama28-Sep-04 14:49
dsubrama28-Sep-04 14: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.