Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Feb : DDE startup error

www.cryer.info
Managed Newsgroup Archive

DDE startup error

Subject:DDE startup error
Posted by:"Craig Ward" (craig.wa..@lombardrisk.com)
Date:13 Feb 2006 01:18:19 -0700

I have an app with a custom file type. I registered the file ext in the Registry with the usual Shell\Open key which worked fine for launching my app when a user attempted to open a file in Explorer. However, I wanted to be able to get Explorer to use any running instance of the app so I started to mess around with DDE.

Now when a user opens a file, Explorer correctly uses any running instance, but if there are *no* apps running, the previously working Shell/Open appears to be broken - an error pops up:


"Cannot find the file '<my file>' (or one of its components). Make sure the path and filename are correct and that all required libraries are available."


, even though the file definitely exists!


Is there some DDE setting that I'm missing here? Delphi itself seems to startup ok if you click a .pas file etc.

Info

Glossary

File Types

Replies:

www.cryer.info
Managed Newsgroup Archive