RE: RC5 stats

Joe Barrera (joebar@MICROSOFT.com)
Mon, 8 Dec 1997 20:12:06 -0800


Hey, no problem... just write your own plug-in :-)

http://www8.zdnet.com/pcmag/issues/1603/pcmg0049.htm

[...]

The first thing you need to do is to get Netscape's Plug-In SDK, if you
haven't already. The SDK includes header files, examples with source code,
documentation, and a Java runtime interface. It is available free of charge
from Netscape's Web site (home.netscape.com). For this example, you need
only the header files.

After you get the SDK, create a new project with Visual C++. Begin the
project name with NP and create a Windows DLL without using the Microsoft
Foundation Classes (MFC). Avoiding MFC reduces a plug-in's size
considerably, saving download time for your prospective users.

Once the DLL is created, insert a version resource into your project. Change
the block-header properties' code page to Windows Multilingual by
double-clicking on the Block Header box. You can add the plug-in-specific
resource information directly to the version resource by opening the .rc
file as text and adding the resource keys MIMEType, FileExtents, and
FileOpenName. For this example, the added resource entries look like this:

[...]

- Joe

Joseph S. Barrera III <joebar@microsoft.com>
<http://research.microsoft.com/~joebar/>
Phone, Office: (415) 778-8227; Cellular: (415) 601-3719; Home: (415)
588-4801
The opinions expressed in this message are my own personal views and do not
reflect the official views of Microsoft Corporation.