计算机毕业设计|计算机毕业论文|开题报告范文|免费毕业论文下载|硕士论文|硕士毕业设计
当前位置: 主页 > 论文指导 > 文献综述 >

关于DELPHI的英文翻译|中文+英文|什么是Delphi中的存取违规

时间:2010-10-07 00:06来源:三七论文网 作者:admin 我要投稿
什么是Delphi中的存取违规 What Delphi access violations are Your application will be shut down! ? XML :namespace prefix = o ns = urn:schemas-microsoft-com: Office :office / Access Violation, General Protection Fault or Invalid Page Fault, t
QQ交谈客服咨询,三七毕业设计论文网竭诚为您服务,本站永久域名:www.lw777.net

什么是Delphi中的存取违规

 

What Delphi access violations are
Your application will be shut down!<?XML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" />
Access Violation, General Protection Fault or Invalid Page Fault, the name changes, but the nature of the error is always the same. Access Violation is a phrase that users of personal computers see when an application they are running tries to access storage that is not designated for their use - and crashes.
Access violation at address <HEX_value>
in module <Application.Exe>.
Read of address <HEX_value_2>
If Windows applications were able to write outside of its assigned storage area, it could overwrite other applications' or the operating system's instructions and data. If that should happen, the operating system would "crash" or close down in some way and you would have to reboot the operating system. For example, when a program error occurs in Windows NT/2000, Dr. Watson steps in and stops the program, taking some quick diagnostic stats, recording them in a text file.
Access Violations are some of the most frustrating errors encountered in Windows programming. The purpose of this article is to help you find the solution to your AVs with Delphi. To start with, access violations have nothing to do with Microsoft Access.
We can divide AVs encountered while developing with Delphi in two major types: runtime and design time.
Access Violations at Design-Time
Design time AVs are experienced when starting and closing the Delphi IDE or building a Delphi project.
Hardware
AV messages that crop up while your computer is in operation can be generated by various different sources, including the system BIOS, the operating system or hardware driver routines. Some video, sound or network cards can actually cause AVs in Delphi. Why? Every card in your machine comes with device drivers. Depending on the manufacturer, the version of Windows, and the version of Delphi used you may experience problems. There are some steps that can be taken to help resolve these issues:
· Take the steps necessary to verify that there are no conflicts between your installed devices.
· Sometimes lowering the resolution will help stabilize a quirky video card driver.
· Insure that if you are using a dual processor motherboard that the step revision for each processor is the same.
· Always use the latest driver for all of the components in your system.
Software
Although Windows is the most popular operating system for Intel machines, due to the extreme fragility and bugginess of Windows, misbehaving applications can readily crash the OS (and the OS sometimes crashes itself spontaneously). There are ways that you can help your chances of having a more stable programming environment, which in turn will help to prevent certain AVs.
· Although Windows 9X is quite popular, Windows NT/2000 has proven to be a much more stable environment for almost all Windows coding platforms.
· Ensure that you have installed the latest service packs for NT/2000. With each service pack released, you will find that your machine will become more stable.
· One excellent method of proactive error prevention is to always keep the current with all updates and patches for whatever edition and version of Delphi (BDE, ADO, ...) that you are using. Always have the latest patch for Delphi - the number of AVs, especially design time violations, will drastically decrease.
· If you are getting random access violations in the IDE, you have most likely installed a bad component or package or a wizard that was not written/compiled for your Delphi version. Try uninstalling custom components one by one (or package by package) until the problem goes away, then get in touch with the component vendor regarding this issue.
· Check to see whether if there is anything unusual installed on the machine with the program that crashes. Curious shareware utilities and beta products are AV favorites.
· An access violation can also occur because a system setting is wrong. If you repeatedly encounter the same error message, record the details and call the company that makes the software that seems to be causing the message.
 
 
 
 
 
什么是Delphi中的存取违规
什么是存取违规,以及如何在设计时间防止AVs。
存取违规,一般保护错误或无效页错误,名称的变化,但性质的错误总是相同的。存取违规是一个短语,是当一个应用程序正在执行着尝试存储没有指定供其使用-和崩溃的存储时使用个人电脑的用户所看到的。
如果Windows应用程序能够写以外的其分配的存储区域,它可以覆盖其他应用程序'或作业系统的指令和数据。如果要发生,作业系统会“撞车”或倒闭,在某种程度上,你将不得不重新启动作业系统。举例来说,当一个程序中出现错误的Windows NT/2000 , 按Dr.Watson的步骤,并停止该计划,采取一些快速诊断的统计资料,记录他们在一个文本文件中。
存取违规是在Windows编程中遇到的一些最令人沮丧的错误。本文的目的是为了帮助您找到解决Delphi中的AVs。首先,存取违规已完全与Microsoft Access没有关系。
我们可以分割AVs使Delphi发展成两大类:执行时间和设计时间存取违规在设计时间。
在设计时间的AVs,当开始和关闭Delphi的IDE或建立一个Delphi项目是很有经常出现的。
硬件
当您的计算机运作时可以产生各种不同的来源时AV讯息出现了,包括系统BIOS ,操作系统或硬件驱动程序例程。某些视频,声音或网路卡,其实可以在Delphi中导致AVs。为什么?每卡在您的机器附带的设备驱动程序。根据对制造商,该版本的Windows ,以及版本的Delphi中使用您可能会遇到的问题。也有一些可以采取的步骤,以帮助解决这些问题:
•采取必要的步骤,以确认有没有矛盾在您已安装的设备。
•有时降低该决议将有助于稳定新奇的视频卡驱动程序。
•如果您使用的是双处理器的主板,确保每个处理器的步骤版本是相同的。
•在您的系统中经常使用最新驱动程序的所有组件。
软件
在英特尔的机器中,虽然Windows是目前最流行的操作系统,由于极端的脆弱性和漏洞,动作失常的申请可随时使操作系统崩溃(OS的崩溃,有时本身自发) 。有方法可以帮助您有机会拥有一个更稳定的编程环境,这反过来将有助于防止某些AVs。
虽然Windows 9x中颇为流行, Windows NT/2000已被证明是一个更为稳定的环境,几乎适用于所有的Windows平台的编码。
确保您已安装最新的Service Packnt/2000 。当每个Service Pack释放时,你会发现你的机器将变得更加稳定。
一个很好的方法,积极预防错误,是始终保持目前的所有更新和修补程序,无论您正在使用什么版本的Delphi BDE ADO的, … … )。永远拥有Delphi最新的修补程序, -AVs的数目,尤其是设计时间的行为,会大大减少。
如果您收到的随机存取行为在IDE中,你有最有可能安装了一个坏的组件或包或向导,这是不写/编译为您的Delphi的版本。尝试卸载自定义组件之一,由一个(或包封装),直到问题消失了,然后在这方面的问题与组件供应商取得联系。
检查,看看是否有任何不寻常的计算机上安装与程序崩溃。新奇的共享设施及试用版产品是AVs的最爱。
因为系统设置的错误也可能会发生存取违规。如果您多次遇到相同的错误讯息,记录下细节,并要求该公司其软件似乎会造成讯息。
 
Something about Delphi’s prominent information
Key features
- Support for three different personalities: Delphi for Win32, Delphi for .NET and C# all from within one development (and debugging) environment.
- Easy migration of Win32 applications to .NET within the same development environment.
- Support for the Delphi language with several enhancements like multi-unit namespaces, for ... in ... do loops, inline functions and other code optimisations.
- Support for WinForms, ASP.NET Web Forms as well as Borland´s own VCL framework on .NET, and VCL for Win32 with visual designers to build applications the RAD way.
- Support for heterogeneous database access (using any ADO.NET Data Adapter – not just BdpDataAdapter) as well as multi-tier database applications with new DataSync, DataHub, RemoteServer and RemoteConnection components.
- Support for refactoring to restructure your source code, increasing the maintainability and chances of successful reuse.
- Support for unit testing with DUnit and NUnit, using the extreme unit-test framework in Delphi for Win32, Delphi for .NET and C# projects to increase the quality of your code.
- Support for Enterprise Core Objects II - a UML compliant Object Model Framework and Object Persistence, with support for databases through the Borland Data Provider, and now also available for ASP.NET.
- Support for ASP.NET with DB Web controls to facilitate the design, implementation and deployment of powerful data-driven Web applications.
- Support for version and team development, with a special backup and history view of your project files, plus optional integration with StarTeam.
- Support for integration with J2EE Enterprise JavaBeans (EJB) or CORBA servers with the Janeva solution for Delphi for .NET and C# applications.
Project manager
The Delphi 2005 Project Manager now displays the directory structure of the entire project (and for ASP.NET projects even offers the ability to create and manage subdirectories in your project directory), which offers better insight into where files are placed and which files to deploy. Within a Project Group, we can add projects for different targets (and personalities), and switch from one project to another - and hence one personality to another, instantly.
The Project Manager and the Object Inspector now work together, as you can select a file in the Project Manager, which results in the Object Inspector showing information like the file name and full path, plus file specific properties like the culture, name and version number of assemblies, or the Copy Local option. Most of these properties will be read-only (displayed in grey font), while some can be used to actually change for example the filename or Copy Local status. The Project Manager is also StarTeam aware and offers context sensitive commands within the Project Manager for managing projects stored in StarTeam.
Backup and history
The Borland Delphi 2005 IDE transparently maintains multilevel backups and a history of your project source files in a hidden __history directory of your project directory. This replaces the old .~ files. The __history directory can contain multiple versions of your project (by default the latest 10 versions are maintained), and can be used as a local version control repository.
The History View is used to examine the current and backup versions of your project files, and even view at insightful (and intelligent) difference views between two different versions, showing exactly what you added, removed or modified in your source code. Apart from just looking at the differences, you can also revert changes, going back in time to backup versions of your files.
The History View also supports StarTeam for even more complete team view of your projects history (see ALM section).
 
 
 
 
 
 
 
 
 
 
 
 
Delphi突出信息
主要特点
-支持三种不同的个性:在同一开发(和调试)的环境中Delphi支持W in32.netC#。
-在同一开发环境中易于迁移的W in32应用程序与.net
-支持为Delphi语言与几个增强一样的多单元命名空间,for...in ...do loops,内置的功能和其他代码最佳化。
-支持Winforms asp.netWeb表格,以及Borland的自己的V CL框架在.NET内,为的Win32VCL与视觉设计师,以建立应用程序的RAD的方式。
-支持异构数据库Access(用任何ado.net数据适配器-不只是bd pdataadapter),以及多层数据库应用与新datasyncdatahubremoteserverre moteconnection组件。
-支持重构,以重构您的源代码,增加可维护性和再利用的机会。
-支持单元测试与DUnitNUnit,用精确的单元测试框架,在DelphiW in32 Delphi.NETC#项目,以增加您代码的质量。
-支持企业核心对象,第二期-一款UML兼容的对象模型框架和对象持久化,支持数据库,通过Borland公司提供的数据,现在也可用于asp.net
-支持asp.netDB Web控件,以方便设计,执行和部署强大的数据驱动的Web应用程序。
-支持版本和团队开发,特别备份并您的项目文件中进行历史记录查看,再加上可选的一体化与StarTeam
-支持一体化与J2EEEnterprise JavaBeans技术( EJB技术)或CORBA的服务器与janeva的解决办法在Delphi.netC#的应用。
项目管理
Delphi项目管理现在可以显示目录结构的整个项目(和asp.net的项目,甚至在您的项目目录提供创建和管理子目录的能力),提供更好地了解那里文件都放在哪些文件和部署。在一个项目组,我们可以添加项目,为不同的目标(和人物),并切换从一个项目到另一个,因此,很快的,一个特性到另一个特性。
项目管理和督察对象,在一起运作,作为您可以选择一个文件中的项目管理,结果在该对象督察显示信息,如文件名和完整路径,再加上文件的特定属性,如文化,名称和版本号码集会,或复制到本机的选择。大部分的这些属性将唯读(显示在灰色字体),而另一些可以用来其实改变,例如文件名或复制到本机的地位。项目经理也将StarTeam知道,并提供对内容敏感的命令,该项目经理,项目管理存储在StarTeam的。
备份并进行历史记录
Borland公司的IDE Delphi保持透明,多层次的备份和历史,您的项目源文件在一个隐藏的目录_history您的项目目录。这将替换旧的.~ files。该_history目录可以包含多个版本的项目(默认情况下,最新的10个版本保持了),以及可被用来作为本地版本控制存放。历史上的看法是,用来检查当前和备份版本的项目文件,甚至在有见地的看法(智能)的不同意见之间的两个不同的版本,显示正是在您的源代码进行添加,去除或修改。除了刚才看到的分歧,您也可以回复的变化,回去的时间,以备份版本在您的档案。
历史的观点也支持了StarTeam更完整的团队来查看您的项目的历史。
 
 
 
 
本站发布的计算机毕业设计均是完整无错的全套作品,包含开题报告+程序+论文+源代码+翻译+答辩稿PPT

本文选自计算机毕业设计http://www.lw777.net
论文文章部分只是部分简介,如需了解更多详情请咨询本站客服!QQ交谈QQ86175571

对我有帮助
(1)
100%
暂时不需要
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
验证码: 点击我更换图片
网站客服:
QQ交谈客服QQ71974085
QQ交谈客服QQ86175571
旺旺客服一客服 旺旺客服二客服
三七论文网竭热忱欢迎您的光临!