// ************************************************************************ // // WARNING // // ------- // // The types declared in this file were generated from data read from a // // Type Library. If this type library is explicitly or indirectly (via // // another type library referring to this type library) re-imported, or the // // 'Refresh' command of the Type Library Editor activated while editing the // // Type Library, the contents of this file will be regenerated and all // // manual modifications will be lost. // // ************************************************************************ // /* File generated on 9/5/98 4:11:33 PM from Type Library described below. */ // ************************************************************************ // // Type Lib: C:\POSTI\Aktiivilomake\Axautol.tlb // IID\LCID: {CB66E8E3-44B0-11D2-92A3-ECA054B5053D}\0 // Helpfile: C:\POSTI\Aktiivilomake\Axautol.tlb // DepndLst: // (1) v2.0 stdole, (E:\NT\System32\STDOLE2.TLB) // ************************************************************************ // #include #pragma hdrstop #if defined(USING_ATLVCL) #include #endif #include "AktiivilomakeEsimerkkiProj1_TLB.h" #if !defined(__PRAGMA_PACKAGE_SMART_INIT) #define __PRAGMA_PACKAGE_SMART_INIT #pragma package(smart_init) #endif namespace Aktiivilomakeesimerkkiproj1_tlb { // *********************************************************************// // GUIDS declared in the TypeLibrary // // *********************************************************************// extern "C" const GUID LIBID_AktiivilomakeEsimerkkiProj1 = {0xCB66E8E3, 0x44B0, 0x11D2,{ 0x92, 0xA3, 0xEC, 0xA0, 0x54, 0xB5, 0x05, 0x3D} }; extern "C" const GUID IID_IAktiivilomakeEsimerkki = {0xCB66E8E4, 0x44B0, 0x11D2,{ 0x92, 0xA3, 0xEC, 0xA0, 0x54, 0xB5, 0x05, 0x3D} }; extern "C" const GUID DIID_IAktiivilomakeEsimerkkiEvents = {0xCB66E8E6, 0x44B0, 0x11D2,{ 0x92, 0xA3, 0xEC, 0xA0, 0x54, 0xB5, 0x05, 0x3D} }; extern "C" const GUID CLSID_AktiivilomakeEsimerkki = {0xCB66E8E8, 0x44B0, 0x11D2,{ 0x92, 0xA3, 0xEC, 0xA0, 0x54, 0xB5, 0x05, 0x3D} }; // *********************************************************************// // OCX PROXY CLASS IMPLEMENTATION // (The following variables/methods implement the class TAktiivilomakeEsimerkkiProxy which // allows "AktiivilomakeEsimerkki Control" to be hosted in CBuilder IDE/apps). // *********************************************************************// int TAktiivilomakeEsimerkkiProxy::EventDispIDs[7] = { 0x00000001, 0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000006, 0x0000000F}; int TAktiivilomakeEsimerkkiProxy::TFontIDs[1] = { 0xFFFFFE00 }; TControlData TAktiivilomakeEsimerkkiProxy::CControlData = { // GUID of Primary and Event Interfaces of Control {0xCB66E8E8, 0x44B0, 0x11D2,{ 0x92, 0xA3, 0xEC, 0xA0, 0x54, 0xB5, 0x05, 0x3D} }, {0xCB66E8E6, 0x44B0, 0x11D2,{ 0x92, 0xA3, 0xEC, 0xA0, 0x54, 0xB5, 0x05, 0x3D} }, // Count of Events and array of their DISPIDs 7, &EventDispIDs, // Pointer to runtime License string NULL, // Flags for OnChanged PropertyNotification 0x0000001D, 300,// (IDE Version) // Count of Font Prop and array of their DISPIDs 1, (Activex::TDispIDList*)&TFontIDs, // Count of Pict Prop and array of their DISPIDs 0, (Activex::TDispIDList*)NULL, 0, // Reserved 0, // Instance count (used internally) 0, // List of Enum descriptions (internal) }; static inline void ValidCtrCheck(TAktiivilomakeEsimerkkiProxy *) { delete new TAktiivilomakeEsimerkkiProxy((TComponent*)(0)); }; void __fastcall TAktiivilomakeEsimerkkiProxy::InitControlData(void) { ControlData = &CControlData; }; void __fastcall TAktiivilomakeEsimerkkiProxy::CreateControl(void) { if (!m_OCXIntf) { _ASSERTE(DefaultDispatch); DefaultDispatch->QueryInterface(IID_IAktiivilomakeEsimerkki, (LPVOID*)&m_OCXIntf); } }; TCOMIAktiivilomakeEsimerkki __fastcall TAktiivilomakeEsimerkkiProxy::GetControlInterface(void) { CreateControl(); return m_OCXIntf; }; // *********************************************************************// // The Register function is invoked by the IDE when this module is // installed in a Package. It provides the list of Components (including // OCXes) implemented by this module. The following implementation // informs the IDE of the OCX proxy classes implemented here. // *********************************************************************// void __fastcall PACKAGE Register() { // [1] TComponentClass classes[] = { __classid(TAktiivilomakeEsimerkkiProxy) }; RegisterComponents("ActiveX", classes, sizeof(classes)/sizeof(classes[0])-1); } }; // namespace Aktiivilomakeesimerkkiproj1_tlb