This paper describes in detail the VC program in the WIN32 Environment Dynamic link library (DLL) programming principle. Share to everyone for your reference. The specific analysis is as follows:
Generally larger applications are composed of a
The most common problem about DLL is how to use the dialog box in DLL. This is a common question about how to use resources in DLL. Here we analyze and solve this problem from the Win32 DLL and mfc dll aspects.
1. Win32 DLL
Using the dialog box in
Introduction to VC ++ dynamic link library (DLL) Non-MFC DLL
4.1 A simple DLL
Section 2nd describes how to provide the add function interface using the static Link Library. Next we will look at how to use the dynamic link library to implement the
Introducing the Win32clipboard times error in Python,DLL load failed:%1 is not a valid WIN32 application>>> Import Win32clipboardTraceback (most recent):File "", line 1, in Importerror:dll load failed:%1 is not a valid WIN32 application.Check, is
Python ImportError: DLL load failed: % 1 is not a valid Win32 application, pythonimporterror
When I was tossing pandas today,
I would like to think of it as a 64-bit system,
Of course, a 64-bit binary installation package is downloaded,
The
4.1 A simple DLL
Section 2nd describes how to provide the Add function interface using the static Link Library. Next we will look at how to use the dynamic link library to implement the Add function with the same function.
For example
Operating system: Win7 64-bit, after installing the MYSQLDB prompt: Importerror DLL load failed:%1 is not a valid WIN32 application, is due to the installation of 32-bit Mysql-python-1.2.3.win32-py2.exe , as long as you change to a 64-bit version.If
The previous section introduced the debugging and viewing of static link libraries (dynamic link library (DLL) programming in simple terms (I). This section mainly introduces non-MFC DLL.
4. Non-MFC DLL
4.1 A simple DLLSection 2nd describes how to
DLL (Dynamic Link Libraries) topics:
Large applicationsProgramThese modules are composed of many modules that complete relatively independent functions and work together to complete the work of the entire software system. Some modules may have
References: C ++ dynamic link library (DLL) programming VC ++ dynamic link library programming reader feedback and replies
From: http://blog.sina.com.cn/u/56cacf83010005an
Large applications are composed of many modules that complete relatively
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.