• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

ActiveX question

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    I've got a DirectX application (but a 2D one) that runs with ActiveX on IE and NSAPI on everything else.

    ActiveX is pretty simple COM; just find a sample and copy it. I thought VS2005 had a project template for an ATL Activex control, but I've looked and it just has one for MFC, which is a possibility if you can put up with bloated nastiness.

    NS plugins also work in IE (I assume they still do), so that might be the better approach. All you get for using ActiveX is the automatic download and install and the code signing stuff, which is exactly what people distrust about it all. But both run native code, so both are free to have their wicked way with your files and computer if they so wish. MS just tried to introduce a bit of authentication into the scheme and everybody winged, even though it is in fact more secure than the alternative. (Actually Netscape had a similar scheme, but that's been long forgotten).

    The question is: do you want any casual user to be able to visit a website and see whatever content it is, or is it just for specific users? If it's just for users that have installed your software, then your install can install your NSAPI based DLL in the appropriate browser directories and Bob's your auntie's lover.
    Will work inside IR35. Or for food.

    Comment


      #12
      Originally posted by VectraMan View Post
      NS plugins also work in IE (I assume they still do), so that might be the better approach.
      Just reading around about NPAPI and it seems that M$ dropped support for it in IE6 I think?

      Ah, found some more info here - seems it was dropped in IE5.5 SP2.
      Last edited by voodooflux; 30 January 2009, 21:11.
      Where are we going? And what’s with this hand basket?

      Comment


        #13
        Originally posted by voodooflux View Post
        Just reading around about NPAPI and it seems that M$ dropped support for it in IE6 I think?

        Ah, found some more info here - seems it was dropped in IE5.5 SP2.
        I stand corrected. It's been a few years since I've looked at any of this.

        In my application, both the ActiveX OCX and NSAPI DLL load an additional DLL that does the actual work. So the same code runs in both, but with a thin wrapper that interfaces with the browser.
        Will work inside IR35. Or for food.

        Comment


          #14
          Originally posted by VectraMan View Post
          I stand corrected. It's been a few years since I've looked at any of this.

          In my application, both the ActiveX OCX and NSAPI DLL load an additional DLL that does the actual work. So the same code runs in both, but with a thin wrapper that interfaces with the browser.
          Yeah, makes perfect sense - just use ActiveX and NPAPI as the delivery/interface mechanism.
          Where are we going? And what’s with this hand basket?

          Comment


            #15
            Originally posted by voodooflux View Post
            Just reading around about NPAPI and it seems that M$ dropped support for it in IE6 I think?

            Ah, found some more info here - seems it was dropped in IE5.5 SP2.
            There you go, knew you could do it.
            Knock first as I might be balancing my chakras.

            Comment


              #16
              Originally posted by suityou01 View Post
              There you go, knew you could do it.
              You've woken me up now - it'll take me ages to regain the mental stupor I was in before!
              Where are we going? And what’s with this hand basket?

              Comment


                #17
                Originally posted by voodooflux View Post
                You've woken me up now - it'll take me ages to regain the mental stupor I was in before!
                LOL
                Knock first as I might be balancing my chakras.

                Comment


                  #18
                  Originally posted by VectraMan View Post
                  I've got a DirectX application (but a 2D one) that runs with ActiveX on IE and NSAPI on everything else.
                  Does it run on Mac and Linux? What about PowerPC Macs? Just curious

                  Comment


                    #19
                    Originally posted by NickFitz View Post
                    Does it run on Mac and Linux? What about PowerPC Macs? Just curious
                    It runs on Intel Macs, with Windows installed.

                    I guess it might run with Wine under Linux.
                    Will work inside IR35. Or for food.

                    Comment


                      #20
                      Great discussion. I hadn't realised NPAPI was doing the same kind of job as ActiveX, not in such a similar fashion anyway.

                      The 3DVIA seems to claim it supports Macs. I guess they must have a mac and windows version of the actual "application" and the correct one is downloaded based on some runtime detection? At least I think I'd have to do it that way since our app is C++ based.

                      At this point, I'm not looking to do the work, simply find out what is possible. I think I know enough to tell my client they can try and sell the idea... the fear was he might do this anyway and leave me trying to figure it out afterwards
                      Originally posted by MaryPoppins
                      I'd still not breastfeed a nazi
                      Originally posted by vetran
                      Urine is quite nourishing

                      Comment

                      Working...
                      X