Find the answer to your Linux question:
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 ...
  1. #1
    Banned
    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.

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    The same thing i need to do for LINUX machine, MAC machine
    To the best of my knowledge, these operating systems do not
    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.

  3. #3
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    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

  4. #4
    Banned
    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...