Google App Engine 和 win32 DDE
我正在尝试通过 App Engine Python 开发服务器设置一个小服务器:
目标: 在 Windows 上我有一个 DDE 应用程序。 我需要从此应用程序读取数据并通过 Internet 提供该数据。
情况: 开发服务器在端口 80 上正常工作,使我能够存储数据并使其以 JSON 形式通过 Internet 提供。
问题: 我无法让开发服务器与 win32
Python 库一起正常工作。 我在本地白名单中启用了该模块,但在尝试启动 DDE 连接时仍然显示:
This must be an MFC application - try loading win32ui first args = ('This must be an MFC application - try loading win32ui first',) message = 'This must be an MFC application - try loading win32ui first'
我不知道该怎么做。任何提示将不胜感激。
I'm trying to set up a little server through the App Engine Python development server:
GOAL:
On Windows I've got a DDE application.
I need to read data from this application and serve it over the Internet.
SITUATION:
The development server is working correctly on port 80, enabling me to store data and make it available as JSON over the Internet.
PROBLEM:
I cannot get the development server to work correctly with the win32
Python library.
I enabled the module in the local whitelist, but still when trying to start a DDE connection it says:
This must be an MFC application - try loading win32ui first args = ('This must be an MFC application - try loading win32ui first',) message = 'This must be an MFC application - try loading win32ui first'
I have got no idea on what to do. Any hint will be very much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题不在 GAE 开发服务器上:我设法卸载了 win32 python build 216 库并安装了以前的版本。问题确实出在构建 216 的清单上,而不是出在 GAE 开发服务器上。现在它可以在 build 214 上正常工作。
The problem was not on the GAE development server: I managed to uninstall the win32 python build 216 library and install a previous version. The problem was indeed with the manifest of the build 216 and not with the GAE development server. Now it works fine with build 214.