Windows 7和VS 2012的Wininet [英] Wininet with Windows 7 and VS 2012

查看:62
本文介绍了Windows 7和VS 2012的Wininet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在升级2003年编写并在XP上运行的软件.我们现在正在运行Windows 7和VS 2012(VB.net).我看到函数internetdial()无法正常工作. wininet.dll函数是否仍在此版本上运行 VS和Windows 7?

I am upgrading software that was written in 2003 and running on XP.  We are now running Windows 7 and VS 2012 (VB.net).  I'm seeing that the function internetdial() is not working.  Are the wininet.dll functions still working on this version of VS and Windows 7?

谢谢...

推荐答案

看起来像是不受管的API; COM互操作的实现方式可能存在一个或多个问题(例如,在需要IntPtr的情况下使用Int32).在32位环境下编写了很多旧的非托管代码 在您移至64位和/或新操作系统之前,不会出现错误.
Looks like that is an unmanaged API; there's probably one or more issues with the way that the COM interop was implemented (such as using Int32 where IntPtr is called for).  There is a lot of old unmanaged code written under 32 bit environments whose errors don't appear until you move to 64 bit and/or a new OS.


这篇关于Windows 7和VS 2012的Wininet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆