On Nov 13, 2009, at 5:04 AM, Jonathan wrote:
>> I thought maybe fl_open_uri("file://Manual.pdf", Message, 256) would work
>> but it just seems to crash my app :(
>> I tried debugging and it seems to crash at:
>> fl_open_uri.cxx, Line 117: return (int)ShellExecute(HWND_DESKTOP, "open",
>> uri, NULL, NULL, SW_SHOW) > 32;
>> And the problem might be: First-chance exception at 0x7c812afb in Code.exe:
>> 0x000006BA: The RPC server is unavailable.
>>
>> Ideas anyone?
>
> I got an idea! Lurking through FLTK's code, I found fl_filename_absolute(char
> *to, int tolen, const char *from) and used it to create the proper "file://"
> URI and now it works like a charm!
Would you post a short example for people who search the forums in the future
to find?
Thanks,
Harvey
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk