> You should try fl_open_uri():
>
> http://www.fltk.org/doc-1.1/functions.html#fl_open_uri
Ok, so I tried fl_open_uri() without much luck so far...
First I tried fl_open_uri("Manual.pdf") without any result.
Then I added fl_open_uri("Manual.pdf", Message, 256) and got "URI scheme not
supported".
I decided to give a shot to fl_open_uri("file://./Manual.pdf", Message, 256)
without much luck either. The output was: "open file://./Manual.pdf" but the
PDF didn't open.
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?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk