题目内容
YouworkastheapplicationdeveloperatCert-Tech.com.Cert-Tech.comusesVisualStudio.Net2005asitsapplicationdevelopmentplatform.YouuseaWindowsXPProfessionalclientcomputernamedClient01asyourdevelopmentcomputer.
Youaredevelopinga.NetFramework2.0applicationonClient01.Youwritethecodeshownbelow:PublicClassShape
PrivateshapeNameasString
PublicSubShape(ByValshapeNameasString)Me.shapename=shapeNameEndSub
PublicOverridableFuctionGetName()AsStringReturnshapeNameEndFunction
PrivateSubDrawShape()’AdditionalcodegoeshereEndSubEndClass
YoulaterdecidetohavetheapplicationcompiledandregisteredforCOMinteroperability.TheotherdevelopersonyourteamcomplaingthattheyareunabletocreateaninstanceoftheShapeclassintheirCOMapplications.YouarerequiredtoensurethatCOMapplicationsareabletocreateaninstanceoftheShapeclass.Whatshouldyoudo?()
查看答案
搜索结果不匹配?点我反馈