文件名称:PyEmbedMFC_src
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 25kb
- 下载次数:
- 0次
- 提 供 者:
- liu***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Python语言嵌入到MFC的开发中,通过这个例子可以利用两种语言的优势开发程序-Many of you might have seen the numeric input fields in most commercial CAD and scientific applications that facilitate the user to write mathematical expressions. This is to allow the user to use the edit box or the spinner box as a calculator on the fly. I was very much fascinated with this functionality and always wanted to easily have it in my applications. Writing a parser was a long job. When I just started learning Python, I came to know that it was a beautiful calculator by itself. You just need to type the expression on the command line and return-- you get the answer for any math function the C programmer is familiar with. After a long search on the net and the Python API doc, I finally came to know how to simply send a string to the interpreter and retrieve the results. I leveraged this ability of the Python API to embed it into a dialog box.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PyEmbedMFC\PyEmbedMFC
..........\..........\PyEmbedMFC.cpp
..........\..........\PyEmbedMFC.h
..........\..........\PyEmbedMFC.rc
..........\..........\PyEmbedMFC.vcproj
..........\..........\PyEmbedMFCDlg.cpp
..........\..........\PyEmbedMFCDlg.h
..........\..........\ReadMe.txt
..........\..........\res
..........\..........\...\PyEmbedMFC.ico
..........\..........\...\PyEmbedMFC.rc2
..........\..........\resource.h
..........\..........\stdafx.cpp
..........\..........\stdafx.h
..........\PyEmbedMFC.sln
..........\PyEmbedMFC.suo
PyEmbedMFC
..........\..........\PyEmbedMFC.cpp
..........\..........\PyEmbedMFC.h
..........\..........\PyEmbedMFC.rc
..........\..........\PyEmbedMFC.vcproj
..........\..........\PyEmbedMFCDlg.cpp
..........\..........\PyEmbedMFCDlg.h
..........\..........\ReadMe.txt
..........\..........\res
..........\..........\...\PyEmbedMFC.ico
..........\..........\...\PyEmbedMFC.rc2
..........\..........\resource.h
..........\..........\stdafx.cpp
..........\..........\stdafx.h
..........\PyEmbedMFC.sln
..........\PyEmbedMFC.suo
PyEmbedMFC