Internet Development Technologies

Microsoft ActiveX Software Development Kit

Last updated: October 25, 1996

The Microsoft® ActiveX™ Software Development Kit (SDK) includes a variety of technologies that Microsoft is introducing to facilitate development of Internet applications and content. This document provides a quick overview of what's new in the ActiveX SDK. The overview covers some new tools, some new documentation, and some of the key issues associated with this release. Be sure to visit the README.TXT file for more details and time-saving information.

This release of the ActiveX SDK is synchronized with the recent Internet Explorer 3.01 final version. It introduces for the first time, development support for the RISC platforms (these bits are in early beta stages). To use the SDK, you will need to install the latest version of Internet Explorer 3.01. You will need the latest Win32 SDK (dated Aug '96). If you are doing RISC development, you can use VC++ 4.0a. For Intel development you should use either VC++ 4.1 or the patched version VC++ 4.2b. See the Readme.txt for details on different configurations. Because the addition of RISC support grew the size of the SDK, it has been divided up into several downloads. More details on that are available on the download pages and in the Readme.txt.

Below you will find a brief description of things that are new in the release of the SDK. If you would like to see what others are doing with ActiveX technologies, take a quick look at the Microsoft Web Gallery. This is a collection of multimedia components and sample code that you can add to your Web sites. Currently the web master of this site is pulling together sounds, images, Java code, stylesheets, fonts, script samples, HTML samples, animation, and free tools. Something worth visiting from time to time.

Good coding!
Jerry Drain
ActiveX SDK Program Manager


New in Documentation:

Cross Platform Issues with Downloading Controls:

IE 3.01 and ActiveX controls can run on the Apple Macintosh, the Intel x86, as well any of several RISC machines. As a result, it's important that a control developer create, test, and bundle their control's binaries for each platform. One of the issues associated with shipping multiple binaries (or even a single binary) for a given control is file size. In order to minimize the impact of downloading large binaries over the Internet or corporate Intranet, Microsoft supports cabinet (or CAB) files. A CAB file is a collection of one or more files compressed using the Lempel-Ziv algorithm for data compression. Like ActiveX controls, CAB files can be signed for download.

The CAB WebSite

Microsoft supplies a CAB Development Kit which provides the tools and information that you'll need to create CAB files for your controls. You will find the CAB Development Kit in a self extracting .exe in the \INetSDK\Bin\CabRscKt.exe.

Packaging Methods

This page illustrates several possible methods of packaging an ActiveX control. Each method has its benefits and drawbacks. The following table describes each method as well as the corresponding issues:
Method Benefits Drawbacks
CODEBASE= pointing at a CAB with just the INF file in it; and other CAB files containing OS/processor specific binaries pointed at by this INF file. (note: you are not advised to point the CODEBASE at an INF as you cannot sign the INF) Reduced size at download time (only the .INF and required binary are downloaded). Preferred Internet solution for cross platform support. Two digital certificates will appear.
One CAB file containing the .INF file as well as the x86 binary. Remaining binaries packaged in separate CAB files. Reduced size at download time. Preferred Internet solution for controls which are targeted primarily at the x86 platform. Apple Macintosh and RISC users are forced to wait for x86 binaries to download (even though these binaries are useless on these platforms).
All binaries packaged into a single CAB file. Simplified package for small controls with no dependencies. Preferred Intranet solution. This is a wasteful solution in most scenarios, it does not optimize for dependency DLLs that may already be on the client machine. This will also increase download time and may only be acceptable in Intranets where bandwidth is not such an issue.

Refer to the documentation on the Cabinet File Technology, and the CabRscKt.exe for more information about creating .CAB and .INF files.

HTML Example

You'll find a sample .CAB and .INF file in the INetSDK\samples\basectl\webimage\cabs directory of the ActiveX SDK. You can test this sample by opening the .HTM page in the same directory. There will be more information and sample made available in future SDK releases.

Download and Install Issues:

Because the addition of RISC support has grown the SDK, and because of some other size issues, I have divided up the SDK into separate installable/downloadable parts. See the Readme.txt for more details.

Cascading Stylesheet Changes:

There is a difference in the way Internet Explorer 3.01 uses CSS1 (Cascading Stylesheet Specifications) properties which causes pages formatted for version 3.01 to appear differently when viewed with Internet Explorer 3.0. The problem is that stylesheet properties can be "inherited" at different object levels within the document. Version 3.01 correctly interprets inherited properties for margins and version 3.0 does not. A "readme" chapter with a section regarding stylesheets was added to the HTML Reference to explain the issue, and it gives a solution for creating stylesheets compatible with both versions of Internet Explorer.

Refreshed SDKs

Conferencing Technology

ActiveX Conferencing technology has now available in the Microsoft NetMeeting™ SDK 1.0a. This technology has been refreshed in this release of the ActiveX SDK, and is available as a self extracting .exe in the \Bin directory (MSCNF10A.exe). You can also find this SDK on the web at http://www.microsoft.com/intdev/msconf. See the Readme.txt file for more details.

CAB Technology

A new file has been added to the \Bin directory: before you had the CabDevKt.exe, a self extracting .exe which contained Diamond.exe, some other tools and documentation. Added to that, a new file, CabRscKt.exe, contains compression and decompression library binaries, sample code to show you how to build CAB support into you application, and documentation on the compression and decompression API. See the Readme.txt file for more details.

ActiveX SDK for the Macintosh

Sorry, not part of this download, bit if you haven't heard, it's available at http://www.microsoft.com/intdev/SDK/Mac

Refreshed Redistributable Components

For more information, see the Readme.txt and the Redist.txt.

New in Samples

Solitaire and Poker, HTML and ActiveX Controls style. A new sample has been provided which shows how Solitaire can be implemented as ActiveX Controls on an HTML page. This sample/s is called CARD

Many ISVs who have been using the WebBrowser Control have run into similar issues. To answer their development questions the ObjVw sample demonstrates how to access IE's Automation model and Scripting model from within a contained control, how to enumerate controls and Java applets in a page, how to make a generic class to sink events, etc. This sample is called ObjVw.

You can learn more about both by reading the Readme.txt, or by reading the readme.txt of the samples.


Okay, So Where Do I Go If I Need Help?

One place to go is the Web, to see a list of known issues. The Internet Explorer 3.0 team tries to keep this site updated with all the known issues affecting the current release: http://www.microsoft.com/iesupport/content/issues/. However, sooner or later there comes a how-to question. For those, you can try several places, depending on what fits your needs.

Paid Support for the ActiveX SDK

The ActiveX SDK is supported by Microsoft's AnswerPoint group (Product Support Services). You can ask questions through your Premier Level support contract. You can also ask questions through your Priority Level contract or purchase individual Priority Support incidents (essentially a one-time fee for one question). If you would like to understand more about Microsoft's paid support options, you can call Microsoft Support Sales at (800) 936-3500 from 6:00 a.m. to 6:00 p.m. Pacific time, Monday through Friday, excluding holidays. Please note that technical support is not available through this number. AnswerPoint Information is also available on the World Wide Web at http://www.microsoft.com/support/.

Free Support for the ActiveX SDK

Newsgroups are a great place for free peer support. As time and resources allow, Microsoft developers, program managers, support engineers, and test engineers visit the site to collect feedback and answer questions or correct misperceptions. They will lurk there often to read feedback, but they will not become actively involved unless a specific question is asked or a misperception is observed. This largely depends on bandwidth and time, which is greatly affected by shipping schedules. Some more interesting news groups for Internet Explorer are on microsoft.public.internetexplorer.

To access newsgroups, use your preferred newsgroup reader and enter the news server address as news://msnews.microsoft.com. You can use the following URL to access the newsgroups directly from a Web browser: news:microsoft.public.newsgroup-name. The newsreader included with Internet Explorer version 3.0 supports multiple news servers; you can download the newsreader from http://www.microsoft.com/ie/ie3/imn.htm.

Mailing lists are another good form of free peer support. An advantage to being on a mailing list is that this is where Microsoft will make early announcements of information on a given topic. Again, it is peer support, and Microsoft staff will often lurk there, but not send mail unless a specific question is asked. To learn more about mailing lists, please review http://www.microsoft.com/workshop/resource/mail-f.htm

Additional Support Information

Back to top