版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
DEV205:VisualC++?
的新特性
XinTian
DeveloperSupport
MicrosoftAsiaRegionalEngineeringCenter技術(shù)的演變ComputingpowerPowerdoublingevery18monthsScalableandeconomical(PCsandservers)ConnectivityLow-cost,high-speedInternet,wirelessconnectionstoemployees,partners,andcustomersDeviceproliferationSmartdevices-Handhelds,PDAs,cellphonesEmergingstandardsOpenstandardsforexchangingdataConnectivity,presentation,dataexchangeVisualC++與.NETVisualC++ispartof.NETOurfocusisonpower,control,flexibilityNoblackboxesBeproductiveandeasybutneverattheexpenseofpowerandexpressivenessWheredoesC#fitin?TheRADlanguagedesignedforthe
C++developer用C++,ATLServer
寫Web應(yīng)用程序BuiltontopofISAPIPartoftheNativeC++LibrariesATLidealofflexibilityandperformanceAllowsyoutobuildwebapplicationsandwebservicesATLServer應(yīng)用程序架構(gòu)
WebClientRequest
DispatcherATLServer
ServicesVCISAPI.DLLYourAppSRF
FilesIISProcessHTTP
RequestHTTP
ResponseRequest
Handler更多的ATLServer特性StencilProcessorThread-poolingserviceHttpRequestProcessorMailsupportSecuritysupportLocalization,localeand
codepagesupportRemoteAdministrationNativesupportforWebServices為什么用NativeWebServices?PowerandControlofnative
C++developmentBringyourexistingATLcodeintothe.NETworldStillintegrateswithASP.NET
WebServiceWebServices
用C++建立WebServiceisjustanotherrequesthandler[webmethod]attributeFullyinteroperateswithotherWebServicesinheritcodefromC#,VisualBasicandotherCLRbased.NETcodeCanbeconsumedbyanyplatform/languageAnyC++typesupportedCanfollowpointersWebServices
使用AddWebReference,foreverylanguageGeneratesC++wrapperclassMFCorATLapplicationsjustInstantiateandcalljustlikeanyC++classIntelliSenseManagedExtensionsC++on.NetLanguageinteroperabilitySameC++language用C++使用
.NETFrameworkCommonlanguagespecification(CLS)“GC”classes“Value”classesInterfacesMethodoverloadingPropertiesDelegatesEventsAssembliesC++ManagedExtensions
14個(gè)新的關(guān)鍵字__abstract __box __typeof __delegate __event __try_cast__value __gc __interface__nogc __pin __property__sealed __identifierHello,World//hello.cpp#using<mscorlib.dll>usingnamespaceSystem::Console;
voidmain(){//definedinmscorlib.dllWriteLine(L"Hello,World");}cl/clrhello.cpp同樣的C++語言ReuseexistingcodeWriteNewnativeC++componentsfromyourmanagedapplicationControl,performance,C++fidelityExtendnativeC++appswith
.NETcomponentsIncrementalupdateofcodebaseWrite.NETcomponentsinyourlanguageofchoiceC++isnotverifiableVC++與.NET
ManagedC++類庫ATLServerWebServicesRefactor,Reuse,InteropMFCWebServiceSupportWindows2000supportAccessibilityCommoncontrolimprovementsFusionsupport–MFC/ATLperappdllTopcustomerrequestsCStringperformance64-bitCTimeRead/writedifferentimageformatsHTMLDialogsBetterintegrationbetweenMFCandATLATLATLServerRefactoringMFCclassesintegratedinCString,CFile,CTime,CRect,CPoint,CSizeSAFEARRAYEncryptionSupportBetterNTSecuritySupportSMTPMailPerformanceMonitorsManyATLServerfeaturesavailableThreadpool,caching,httpclient…MFC/ATL的改進(jìn)
FusionsupportMFC/ATLperappdllAccessibility64-bitenabledEasiertowriteservercomponentsSecure(wrapNTsecurity,Crypto)Tuneforscalability(Perfmon)EasierCOMprogramming…AfewnewUIclassesGDI+support CommonCustomerRequestsC++語言的問題C++codecanbedifficulttomaintainC++codecanbedifficulttoreadDevelopersspendsignificantamountsoftimewritinginfrastructurecodeVS7中C++的屬性ManagedextensionsUsethe.NETattributes.AssemblyattributesDataaccessSimplifyaccesstoallSQLandOLEDB
consumerfunctionalityWebServicesCreateWebapps,Webservices,monitorappperformanceSimplifyCOM+developmentEliminateMIDL,generateCOM+metadataEventingmodelC++eventmodel,COMevents,COM+LCEsupportedwithsamesyntax編譯器的改進(jìn)RuntimeChecksBufferoverrunchecksStackchecksUninitializedlocalsShortenedconverts(notonbydefault)BetterSTLANSIComplianceImprovements編譯器的改進(jìn)WholeProgramOptimizationMoreOptimizationsLoopunrollingInliningheuristicsAndmore!NewProcessorSupport統(tǒng)一的IDEFullIntelliSenseandDocumentcommentsSharedMenuEditorDeploymentTaskListDynamicHelpandhelpsearchPropertyGridFullautomationNewClassViewObjectBrowserTheMicrosoftVisualDebuggerFeaturesfocusedondistributedappsStepcrossmachineandprocessboundariesBetweenruntimearchitectures,languagesEasierWebServerdebuggingAuto-attachDCOMpermissionsDetachinnativeandmanagedTheMicrosoftVisualDebuggerEnhancedEditandContinueAddingnewtypesAdding/deletingnonvirtualmethods
ofatypeImportingDLLsdynamicallyManyenhancementsCrashdum
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年聊城幼兒師范學(xué)校第二批公開招聘工作人員9人備考題庫及1套參考答案詳解
- 2025年晉江市人力資源和社會保障局公開招聘編外人員的備考題庫及完整答案詳解1套
- 2025年勐臘縣緊密型縣域醫(yī)共體總院勞務(wù)派遣人員招聘10人備考題庫有答案詳解
- 2025年寧波市數(shù)據(jù)局直屬事業(yè)單位公開招聘工作人員備考題庫及參考答案詳解一套
- 2025年沈陽市魯迅美術(shù)學(xué)院面向社會公開招聘高層次和急需緊缺人才招聘8人備考題庫及答案詳解參考
- 2025年上海市松江區(qū)第五中學(xué)招聘備考題庫完整參考答案詳解
- 首都醫(yī)科大學(xué)附屬北京胸科醫(yī)院2026年派遣崗位招聘31人備考題庫參考答案詳解
- 深圳市特發(fā)集團(tuán)有限公司2026屆秋季校園招聘193人備考題庫完整答案詳解
- 2025年南京備考題庫工程大學(xué)公開招聘工作人員98人備考題庫及參考答案詳解一套
- 2025年蘭州大學(xué)文學(xué)院聘用制(B崗)人員招聘備考題庫及1套參考答案詳解
- DL∕T 1053-2017 電能質(zhì)量技術(shù)監(jiān)督規(guī)程
- NB-T20319-2014壓水堆核電廠技術(shù)規(guī)格書編制準(zhǔn)則
- 起重機(jī)維護(hù)保養(yǎng)記錄表
- DB4409-T 48-2023 三叉苦種植技術(shù)規(guī)范
- 10千伏及以下線損管理題庫附答案
- 關(guān)于食品專業(yè)實(shí)習(xí)報(bào)告(5篇)
- 蛋糕店充值卡合同范本
- 《美國和巴西》復(fù)習(xí)課
- 模切機(jī)個(gè)人工作總結(jié)
- 尿道損傷教學(xué)查房
- 北師大版九年級中考數(shù)學(xué)模擬試卷(含答案)
評論
0/150
提交評論