Results 1 to 4 of 4
Hi
I am a student. I am doing thesis in a topics where i have to make a application using C/C++ and that application will load to client's computer from ...
- 11-25-2007 #1Banned
- Join Date
- Nov 2007
- Posts
- 4
ActiveX in LINUX machine
Hi
I am a student. I am doing thesis in a topics where i have to make a application using C/C++ and that application will load to client's computer from website.
I have succeed to do it for Windows Machine using ActiveX that is when a user of Windows machine will request the Web page the loaded to the machine the the <object> tag of my html will registerd my DLL to the client's machine. Then i have accessed that DLL using javascript and i have accessed the functions of that DLL using javascript.
The same thing i need to do for LINUX machine, MAC machine and i need help from you guys. I am not expert in LINUX.
I need way, tutorial to study and better if i get any example.
Please help me in this matter. It will be great to me. Please.
Email me if you get any result and post here also.
partha.
- 11-25-2007 #2To the best of my knowledge, these operating systems do notThe same thing i need to do for LINUX machine, MAC machine
support such type of programming, for at least two reasons.
One, it is a proprietary Microsoft technology and they couldn't
implement it if they wanted to.
Two, they don't want to because it is insecure and would
break the legendary Linux/UNIX security model. Allowing a web site to
automatically download and run programs through the web browser
is probably the one most serious complaints against the Microsoft OS,
and part of the reason it is famous for viruses, trojan horses, etc.
- 11-25-2007 #3
You will not be able to use ActiveX for this. Java is the only technology that supports all the operating systems you want to use. You can use something like JNLP to deploy an application in a JAR file to the client machine.
Deploying Software with JNLP and Java Web Start
If it simply *must* be in C/C++ you'll need to compile 3 different binaries and use the browser's OS detection to determine which will be downloaded.Registered Linux user #270181
TechieMoe's Tech Rants
- 11-26-2007 #4Banned
- Join Date
- Nov 2007
- Posts
- 4
is it not possible to access c++/C .SO files's functions from Javascript
Hi
Thanks for your valuable reply.
It is clear that activex is only for Windows. It also seems pretty sure that Linux will now give any permission to download anything in background automatically.
But is there any way to access .SO files function from javascript.
What we do in linux is, we make a DLL using COM and we put is client's pc using IE browser and then we call the C/C++ functions available in DLL using Javascript. We use javacsript's activexObject() function to load that DLL.
Now please anyone help me that how can i call C/C++ 's functions from javascript. Is there any way?


Reply With Quote