the growing heterogeneity of hardware architectures and diversity of operating system and communication platforms makes it hard to build correct, portable,efficient, and inexpensive applications from scratch.1. Library VS frameworkFrameworks are
Gains:1. What will you do if you were not afraid? (如果你無所畏懼,你會怎麼做?)--------"Who moved my Cheese" 2. 馬上去做下一件事。3. 行動之前想得越多,害怕越多。 要三思,不要思太多-遍。4. 看下《窮爸爸,富爸爸》--平凡人要理財。5. When you move beyond your fear, you feel free.6. Keep positive about your future!
Configure to make a app run against the same dotNet FrameworkFor every app, if it has assemblies that are built based on dotNet framework, then it can have a app.exe.config file to support a application level configuration for its running behavior.
I recently met a issue that: when starting our app by command line way (passing several arguments to the app), on Win7, the specified file can always be opened after lanuching our app, while on XP, the file is always NOT able to be opened! The final
1. AnyCPUFirstly, there are 32bit/64bit CLR. For executables, it's up to the CPU bit to decide whether it will load as a 32/64bit process with corresponding CLR; for assembly, it's up to the process it's to be loaded into NOT the CPU or OS bit.
Basic1. VS has only x32bit version, NO x64 version.2. DotNet Framework including basic library (System.*), CLR, JIT compiler, etc, have x32 and x64 version. For example, I have a C:\Windows\Microsoft.NET\Framework and a
We are developing a app called Fusion. It's a strange app, as: it's a MFC app while internally MFC app is just its clothes and it makes use of C++/CLI and mainly C# assemblies to do the real job. Its startup mechanism can be summarized as:1. Firstly,
1. For a native C++ project in VS, once you create resource.h + res file in the project, you can manually add resources (forget about the stupid resource editor!). By default, the resources will be embedded into the module. Usually, we create
CRT provides a set of debug routines for helping debugging issues. About assertion, it provides two:1. _ASSERT. This macro will only evaluate the expression and pop up diagnostic dialog if assert fails. It's only available when _DEBUG defined.2.
We are so used to adding dotNet module references and project references, but rarely meet situations requiring adding other dotnet module directly. The Other dotnet module consists of 3 kinds: --precondition of installing my app. Like installing
MSDN Returns a string array containing the command-line arguments for the current process. Input at the command lineResulting command line argumentsMyApp alpha betaMyApp, alpha, betaMyApp "alpha with spaces" "beta with spaces"MyApp, alpha with
1. API他有三種API(這裡不討論API所處層次的問題):c++ API, COM API and .net wrapper API. COM API的存在是因為有些ACAD的東西比如classic menu等,只能用COM來訪問。2. 版本a. 每個版本的Autocad對應一個arx版本。保持一定程度的向下相容,比如AutoCAD2011可以支援用autocad2010 arx編寫的app,但是2010以下就不一定了。 b.
Gains:0. Dependency Management. By good dependency (dependency brings in coupling) management (interface-oriented, depend on abstraction, dependency injection, IOC, design pattern), we can restrict the dependency between two modules / classes the
You can get Debugger Roadmap from MSDN to know everything about VS debugger.Exception Handling:There is a Exceptions dialog box in VS to configure how the debugger behaves with exceptions. In general, if there happended unhandled exceptions in your