Version3.0.4Lastprinted3/31/20043:57PMTheStandardinIndustrialAutomationandScientificComponentsforReal-TimeApplicationsInstrumentationPackStandardInstrumentationPackProActiveX,VCL,andCLXComponentsGettingStartedManualTableofContentsPageiiIocompComponents–GettingStartedManualAcknowledgementsAuthorPatrickCarrollTechnicalReviewersJoeCastoroCyrusEdsonToddOsterCopyrightCopyright©1998-2003IocompSoftwareIncorporated.Allrightsreserved.PortionsofthesoftwaredescribedinthisdocumentcopyrightMicrosoftCorporation,BorlandCorporation,andLinusTorvalds,AllRightsReserved.Nopartofthispublicationmaybereproduced,storedinaretrievalsystemortransmittedbyanymeans,electronic,mechanical,photocopying,recording,orotherwise,withoutwrittenpermissionfromthepublisher.ExceptforthelimitedwarrantyasdescribedintheEndUserLicenseAgreement,theinformationandmaterialcontainedinthisbookareprovidedAsIswithoutwarrantyofanykind,expressorimplied,includingwithoutlimitationanywarrantyconcerningtheaccuracy,adequacy,orcompletenessofsuchinformationormaterialortheresultstobeobtainedfromusingsuchinformationormaterialcontainedwithinthismanualordocumentation.NeitherIocompSoftwarenortheauthorshallberesponsibleforanyclaimsattributabletoerrors,omissions,orotherinaccuraciesintheinformationormaterialcontainedinthisbook,andinnoeventshallIocompSoftwarenorshalltheauthorbeliablefordirect,indirect,special,incidental,orconsequentialdamagesarisingoutoftheuseofsuchinformationormaterial.Somestatesdonotallowlimitationsofdurationofanyimpliedwarranty,sotheabovelimitationsmaynotapplytoyou.TrademarksIocompandtheIocompLogoareregisteredtrademarksofIocompSoftwareIncorporated.Microsoft,VisualBasic,VisualC++,VisualFoxPro,Windows,MicrosoftOffice,VisualBasic.NET,C#.NET,C++.NET,VisualStudio.NET,andActiveXaretrademarksorregisteredtrademarksofMicrosoftCorporation.Borland,Delphi,C++Builder,Kylix,VCL,andCLXaretrademarksorregisteredtrademarksofBorlandCorporation.Allothernames,products,ormarksaretrademarksorregisteredtrademarksoftheirrespectivecompanies.PrintingInitialPrinting08/2000SecondPrinting02/2001ThirdPrinting12/2001FourthPrinting08/2003ManufacturedintheUnitedStatesofAmericaTableofContentsIocompComponents–GettingStartedManualPageiiiTableofContentsTableofContents...........................................................................................................................................................................................iiiChapter1–Introduction..............................................................................................................................................................................1Chapter2–Installation................................................................................................................................................................................3Chapter3–GettingStartedwithVisualBasic6.....................................................................................................................................6Chapter4–GettingStartedwithVisualC++6(DispInterface).......................................................................................................11Chapter5–GettingStartedwithVisualC++6(iDispatchInterface)..............................................................................................21Chapter6–GettingStartedwithVisualStudio.NET(VB.NET).......................................................................................................32Chapter7–GettingStartedwithVisualStudio.NET(C#.NET)........................................................................................................38Chapter8–GettingStartedwithDelphi(Windows/Linux)................................................................................................................44Chapter9–GettingStartedwithC++Builder(Windows/Linux)......................................................................................................50Chapter10–ObtainingAdditionalAssistance......................................................................................................................................56AppendixA–ActiveXComponentLibraries..........................................................................................................................................57AppendixB–ColorCodesandConstants..............................................................................................................................................59AppendixC–VisualC++Fonts................................................................................................................................................................60AppendixD–VCL/CLXManualInstallation.......................................................................................................................................62Glossary.................................................................................................................................................................................................