N
Nou Dadoun
I'm currently developing an application in C++/MFC (Visual Studio 6,
if that makes a difference) and I'd like to avoid the Windows style UI
widgets and dialogs if at all possible.
In fact, what I'd really like to do is use HTML/web pages as the user
interface and invoke my application in the background to do the heavy
lifting. I'm fairly well experienced with web pages and I've written
a fair amount of JavaScript at one time or another (I taught several
undergrad courses using it actually) but I don't know anything about
its capabilities when it comes to interfacing with or controlling
external applications.
I'll likely be running IE on a Windows box (you can put it into full
screen no-toolbar mode) and here's the question: Can I use client-side
javascript to invoke and/or control my application? I know that
normally javascript can't play outside its own sandbox (i.e. no
filesystem access etc.) for security reasons, but I've seen in the MS
JScript documentation that it's possible to use something called
'unsafe' mode. And since it will only be using web pages on the local
file system, I'm comfortable with that.
Does anyone have experience with this? Do I have to expose hooks to
the app with COM or ActiveX or anything? (something I've used but
haven't directly written before so it's possible). Am I crazy? Is
there a better way to do this?
I'd appreciate any advice or pointers, thanks ... N
Nou Dadoun
if that makes a difference) and I'd like to avoid the Windows style UI
widgets and dialogs if at all possible.
In fact, what I'd really like to do is use HTML/web pages as the user
interface and invoke my application in the background to do the heavy
lifting. I'm fairly well experienced with web pages and I've written
a fair amount of JavaScript at one time or another (I taught several
undergrad courses using it actually) but I don't know anything about
its capabilities when it comes to interfacing with or controlling
external applications.
I'll likely be running IE on a Windows box (you can put it into full
screen no-toolbar mode) and here's the question: Can I use client-side
javascript to invoke and/or control my application? I know that
normally javascript can't play outside its own sandbox (i.e. no
filesystem access etc.) for security reasons, but I've seen in the MS
JScript documentation that it's possible to use something called
'unsafe' mode. And since it will only be using web pages on the local
file system, I'm comfortable with that.
Does anyone have experience with this? Do I have to expose hooks to
the app with COM or ActiveX or anything? (something I've used but
haven't directly written before so it's possible). Am I crazy? Is
there a better way to do this?
I'd appreciate any advice or pointers, thanks ... N
Nou Dadoun