[Gtkradiant] [Bug 355] Shader editor crashes radiant

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Wed, 30 Jan 2002 12:48:36 -0600


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=355





------- Additional Comments From ydnar@rasterproductions.com  2002-01-30 12:48 -------
On Win32 at least, you can use the ShellExecute() call to tell Windows to 
open|edit|etc a file at a given path:

int err = ShellExecute( (HWND) window, "edit", pathToShader, NULL< NULL, 
SW_SHOWNORMAL );
if( err < 32 )
    HandleError( err );

Whatever command the user has associated with a given suffix, ".shader" for 
instance, will launch.




------- You are receiving this mail because: -------
Whoops!  I have no idea!