《深入浅出MFC》2/e,也就是所谓的RTTI) Frame5:仿真Dynamic Creation(MFC 2.5 的作法)(在本新版中已拿掉) Frame6:仿真Dynamic Creation(MFC 4.x 的作法) Frame7:仿真Message Map Frame8:仿真Command Routing Hello 范例程序(第6章):首先以最小量(两个)MFC 类别,完成一个最最 const char* raw_name() const; private: ... }; 虽然Visual C++ 编译器自从4.0 版已经支持RTTI,但MFC 4.x 并未使用编译器的能力 完成其对RTTI 的支持。MFC 有自己一套沿用已久的办法(从1.0 版就开始了)。喔, 不要因为MFC 的作法特殊而非难它,想想看它的悠久历史。 MFC 的RTTI 能力牵扯到一组非常神秘的宏( try { THROW 宏相当于C++ 语言中的throw 指令;你以什么类型做为THROW 的参数,就 会有一个相对应的AfxThrow_ 函数被调用(这是台面下的行为): 以下是MFC 4.x 的exceptions 宏定义: 第2章 C++ 的重要性質 99 #define CATCH(class, e) } catch (class* e) \ { ASSER0 码力 | 1009 页 | 11.08 MB | 1 年前3
Conan 1.3 Documentationpackages. It is also a service application that can be run as a daemon or service, behind a web server (apache, nginx), or easily as stand-alone application. Both the conan client and the conan_server are OSS outside. If you leave it blank, it will use the port value. Example: Use conan_server in a docker container that internally runs in the 9300 port but it exposes the 9999 port (where the clients will connect conan server using Apache You need to install mod_wsgi. If you want to use Conan installed from pip, the conf file should be roughly as follows: Apache conf file (e.j /etc/apache2/sites-available/0_conan0 码力 | 397 页 | 2.77 MB | 1 年前3
Conan 1.8 Documentationpackages. It is also a service application that can be run as a daemon or service, behind a web server (apache, nginx), or easily as stand-alone application. Both the Conan client and the conan_server are OSS URL: http://github.com/conan-community/conan-openssl License: The current OpenSSL licence is an 'Apache style' license: https://www. ˓→openssl.org/source/license.html Recipe: Cache Binary: Cache Binary outside. If you leave it blank, the port value is used. Example: Use conan_server in a Docker container that internally runs in the 9300 port but exposes the 9999 port (where the clients will connect0 码力 | 458 页 | 3.03 MB | 1 年前3
Conan 1.9 Documentationpackages. It is also a service application that can be run as a daemon or service, behind a web server (apache, nginx), or easily as stand-alone application. Both the Conan client and the conan_server are OSS URL: http://github.com/conan-community/conan-openssl License: The current OpenSSL licence is an 'Apache style' license: https://www. ˓→openssl.org/source/license.html Recipe: Cache Binary: Cache Binary outside. If you leave it blank, the port value is used. Example: Use conan_server in a Docker container that internally runs in the 9300 port but exposes the 9999 port (where the clients will connect0 码力 | 470 页 | 3.05 MB | 1 年前3
Conan 1.4 Documentationpackages. It is also a service application that can be run as a daemon or service, behind a web server (apache, nginx), or easily as stand-alone application. Both the conan client and the conan_server are OSS outside. If you leave it blank, it will use the port value. Example: Use conan_server in a docker container that internally runs in the 9300 port but it exposes the 9999 port (where the clients will connect conan server using Apache You need to install mod_wsgi. If you want to use Conan installed from pip, the conf file should be roughly as follows: Apache conf file (e.j /etc/apache2/sites-available/0_conan0 码力 | 421 页 | 2.84 MB | 1 年前3
Conan 1.5 Documentationpackages. It is also a service application that can be run as a daemon or service, behind a web server (apache, nginx), or easily as stand-alone application. Both the Conan client and the conan_server are OSS outside. If you leave it blank, it will use the port value. Example: Use conan_server in a docker container that internally runs in the 9300 port but it exposes the 9999 port (where the clients will connect conan server using Apache You need to install mod_wsgi. If you want to use Conan installed from pip, the conf file should be roughly as follows: Apache conf file (e.j /etc/apache2/sites-available/0_conan0 码力 | 422 页 | 2.85 MB | 1 年前3
Conan 1.6 Documentationpackages. It is also a service application that can be run as a daemon or service, behind a web server (apache, nginx), or easily as stand-alone application. Both the Conan client and the conan_server are OSS outside. If you leave it blank, it will use the port value. Example: Use conan_server in a docker container that internally runs in the 9300 port but it exposes the 9999 port (where the clients will connect conan server using Apache You need to install mod_wsgi. If you want to use Conan installed from pip, the conf file should be roughly as follows: Apache conf file (e.j /etc/apache2/sites-available/0_conan0 码力 | 428 页 | 2.87 MB | 1 年前3
Conan 1.7 Documentationpackages. It is also a service application that can be run as a daemon or service, behind a web server (apache, nginx), or easily as stand-alone application. Both the Conan client and the conan_server are OSS outside. If you leave it blank, the port value is used. Example: Use conan_server in a Docker container that internally runs in the 9300 port but exposes the 9999 port (where the clients will connect Server using Apache You need to install mod_wsgi. If you want to use Conan installed from pip, the conf file should be similar to the following example: Apache conf file (e.g., /etc/apache2/sites-available/0_conan0 码力 | 433 页 | 2.95 MB | 1 年前3
Conan 1.10 Documentationpackages. It is also a service application that can be run as a daemon or service, behind a web server (apache, nginx), or easily as stand-alone application. Both the Conan client and the conan_server are OSS URL: http://github.com/conan-community/conan-openssl License: The current OpenSSL licence is an 'Apache style' license: https://www. ˓→openssl.org/source/license.html Recipe: Cache Binary: Cache Binary outside. If you leave it blank, the port value is used. Example: Use conan_server in a Docker container that internally runs in the 9300 port but exposes the 9999 port (where the clients will connect0 码力 | 479 页 | 3.09 MB | 1 年前3
Conan 1.11 Documentationpackages. It is also a service application that can be run as a daemon or service, behind a web server (apache, nginx), or easily as stand-alone application. Both the Conan client and the conan_server are OSS URL: http://github.com/conan-community/conan-openssl License: The current OpenSSL licence is an 'Apache style' license: https://www. ˓→openssl.org/source/license.html Recipe: Cache Binary: Cache Binary outside. If you leave it blank, the port value is used. Example: Use conan_server in a Docker container that internally runs in the 9300 port but exposes the 9999 port (where the clients will connect0 码力 | 490 页 | 4.05 MB | 1 年前3
共 165 条
- 1
- 2
- 3
- 4
- 5
- 6
- 17













