I'm not 100% sure if DDE is the method, but I'd like to pass file information to my small text editor app so that when you double click on a text file, it launches the app and opens the file. Thus far I have been able to make my app the deafult text editing progam, but failed tring to get the file opening functionality to work?

Anyone have any suggestions or know of an API to use to accomplish this?