To help in isolating problems when importing or using ActiveX components in various environments, Chilkat created a "Hello World" ActiveX. It’s created using Microsoft Visual C++ 6.0 w/ ATL. All defaults are chosen when creating the project. The ActiveX has a single object: HelloWorld.Hello, and you test it like this:
VBScript:
set helloWorld = CreateObject("HelloWorld.Hello")
MsgBox helloWorld.SayHelloWorld()
' Output is "Hello World!"
ASP:
set helloWorld = Server.CreateObject("HelloWorld.Hello")
Response.Write helloWorld.SayHelloWorld()
' Output is "Hello World!"
Download the Chilkat Hello World ActiveX