mshtml on win95

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: sid (blb5_at_mail.com)
Date: 02/22/04


Date: Sun, 22 Feb 2004 23:02:43 GMT

I have a simple windows app that I enhanced starting from an MDI example
program that came with the public domain Dev C++ IDE (I'm running on win95.)
I wanted to enhance it to access internet explorer utilizing the COM
interface for mshtml.dll and shdocvw.dll. I don't have vc++ so I accessed
the free 3hr demo of Visual Studio Net provided on a microsoft server (which
incidentally can be accessed
repeatedly -http://vs03-us.protier.com/Admin/Skins/VS03-US/vssignup.aspx?sou
rce=print_ad). I pasted my code into a visual studio net session on their
server and it compiles and runs just fine (It accesses a currently running
IE process and iterates through the controls on the current HTML document
using an mshtml element interface.)

My question is, how do I get this to run on my machine which is using win95?
I have been unsuccessful thus far. The COM interfaces for internet explorer
have been there since IE version 4.0 (I'm at IE ver 5.X). I have
mshtml.dll, mshtml.tlb, shdocvw.dll on my machine, and running OleView on
them shows all the expected COM interfaces.

I know there's no point trying to compile the COM portion of my code on my
machine, as the headers produced by vc++ for mshtml and shdocvw contain
microsoft-specific c++ constructs. I tried downloading the exe on machine -
no good. I put all the COM stuff in a seperate obj file, compiled on the vc
server, and successfully linked it on my machine, but a crash occurs when
the COM portions are executed on my machine.

Any ideas?



Relevant Pages

  • mshtml on win95 (cross post)
    ... interface for mshtml.dll and shdocvw.dll. ... the free 3hr demo of Visual Studio Net provided on a microsoft server (which ... it compiles and runs just fine (It accesses a currently running IE process ... I know there's no point trying to compile the COM portion of my code on my ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: What doesnt lend itself to OO?
    ... The whole idea that a subsystem is just ... > The first line exists in the server. ... objects between client and server i.e. as far as the client code is ... > external interface is the traditional input interface whose ...
    (comp.object)
  • Re: Brian Kernighan, maybe Im not worthy, maybe Im scum
    ... If you think I'm giving a verbose pseud write access to my server, ... interface appears in C Sharp as consisting of sbyte arrays. ... failed to see that a for loop is not just a while loop because a while ... chilling effect on freedom of speech. ...
    (comp.programming)
  • Re: Cannot get NAT to route in RRAS
    ... The basic problem is that you are using an ADSL modem on the server. ... I would suggest that you set up a demand-dial interface to act as the ... Static Route wizard, create a default route using this interface (ie put ...
    (microsoft.public.win2000.ras_routing)
  • Re: Cannot get NAT to route in RRAS
    ... ADSL Link was set as the Public interface in NAT, ... The static route also adds in fine using the ADSL Link interface, ... separate DNS server handles client’s requests, ... > Internet connection. ...
    (microsoft.public.win2000.ras_routing)