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. Cheers, Gus M. Creces The Clarion Handy Tools Page www.cwhandy.ca (CHT Website) news.cwhandy.ca (CHT Forum) |
PROCEDURE (1): Main (Procedure Template: Window) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | SMTP | HNDNetSMTPClass | HND | 105 | HNDNETSMTP.INC |
(0002) | HWin | HNDWindow | HND | 214 | HNDWINDO.INC |
(0003) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0004) | ThisWindow | WindowManager | ABC | 39 | ABWINDOW.INC |
(4) Class Instances Found In Main | |||||
PROCEDURE (2): JumpStartSplashCHTBlue (Procedure Template: Splash) |
|||||
Count | Instance | Class | Type | Methods | Header File |
(0001) | HTellMe | HNDWindow | HND | 214 | HNDWINDO.INC |
(0002) | Toolbar | ToolbarClass | ABC | 6 | ABTOOLBA.INC |
(0003) | ThisWindow | WindowManager | ABC | 39 | ABWINDOW.INC |
(3) Class Instances Found In JumpStartSplashCHTBlue | |||||