This application demonstrates CHT Class called HNDNetSMTP which sends email utilizing a DLL built with Microsoft's .NET C# compiler. The DLL is interfaced to Clarion using "COM Interop" a COM interface exposed by the .NET DLL.
The email template in use is called EMBEDNETSMTPCLASSES. The CHT Class used by this template is the HNDNETSMTPCLASS located in files HNDNETSMTP.INC and HNDNETSMTP.CLW.
This application and the HNDNetSMTP class, while doing some practical work, serve the primary purpose of allowing developers to explore the implications of using actual .NET DLLs in their Clarion applications. The operating system environment on which this application runs, must have at least Microsoft Framework 2 installed.
The technique of using "COM Interop" to DLLs created with a .NET compiler such as C#.NET, VB.NET or Clarion.NET provide a wealth of opportunity to expand the capabilities of CHT and consequently the capabilites of Win32 Clarions. We'd appreciate your feedback in testing this simple application in your development environments.
This application now includes procedure(s) using the template CHTBestPracticeEmbedClass as an example for developers.
Gus M. Creces
The Clarion Handy Tools Page
www.cwhandy.ca (CHT Website)
news.cwhandy.ca (CHT Forum)
Main (Procedure Template: Window)
|(4) Class Instances Found In Main|
JumpStartSplashCHTBlue (Procedure Template: Splash)
|(3) Class Instances Found In JumpStartSplashCHTBlue|