Boris
2004-12-10 00:48:45 UTC
I converted my application to Visual C++ 7.0 (from 6.0) and noticed that DDE
does not work properly anymore: if the application is running, double-click
on a shortcut does not open the document.
I generated a new project using VC++ 7.0 App Wizard - simple MFC Application
just to test DDE. I can start the application from Visual Studio and create
two document files on desktop. If I double click on any of them nothing
seems to happen. If I close the test application and then double-click the
document, the application starts in invisible mode (I only see it in the
task manager)
Just for kicks and grans I generated similar project using VC++ 6.0 and
tested same things. It worked as I expected - double click on document opens
application and if an application is open - it opens the selected document
and if the document is open, but not active it activates is.
My question is: why VC 7.0 works differently from 6.0? And what can I do to
get my documents to open ?
I switched to 7.0 version to take advantage of AutoComplete interfaces. I do
not want to loose it, but I do not want to lose DDE feature either
Thanks
--
- Boris
www.RegmagiK.com, Registry Editor that works for me
does not work properly anymore: if the application is running, double-click
on a shortcut does not open the document.
I generated a new project using VC++ 7.0 App Wizard - simple MFC Application
just to test DDE. I can start the application from Visual Studio and create
two document files on desktop. If I double click on any of them nothing
seems to happen. If I close the test application and then double-click the
document, the application starts in invisible mode (I only see it in the
task manager)
Just for kicks and grans I generated similar project using VC++ 6.0 and
tested same things. It worked as I expected - double click on document opens
application and if an application is open - it opens the selected document
and if the document is open, but not active it activates is.
My question is: why VC 7.0 works differently from 6.0? And what can I do to
get my documents to open ?
I switched to 7.0 version to take advantage of AutoComplete interfaces. I do
not want to loose it, but I do not want to lose DDE feature either
Thanks
--
- Boris
www.RegmagiK.com, Registry Editor that works for me