Look
at the implementation of ShellExecute in the Corel tree
(opensource.corel.com).
Association between file extension and application is
stored in the registry (in Windows and in Wine Corel tree). I don't
remember exactly which key, but that shouldn't be too tough to
find.
Now,
Corel has modified some code in ShellExecute (and all functions called by
this function), to be able to discover if it's a Wine app or a native app, so to
be able to launch the application correctly.
I
know, this is kind of hacky, but this is effective.
Stephane Lussier
Macadamian
Technologies
-----Original Message-----
From: Ed Snow [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 29, 2000 4:07 PM
To: Wine-Devel
Subject: Associations and a winelib applicationI am porting an application to run as a winelib app. It currently uses Windows mechanisms (at least ShellExecute) to initiate a Browser with a specific url. I would like to generate the same result under linux. I am new to KDE and Gnome, but they seem to have the association concept. What would the right way to approach this be?Ed SnowTTM Engineering
10925 Corte Codorniz
San Diego, CA 92128
Phone 858-672-3306Fax 858-672-4642Focused on Time to Market