win32服务不适用于Vista [英] win32 service is not working with Vista

查看:100
本文介绍了win32服务不适用于Vista的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我有一个用vc ++创建的win32服务.它在XP上运行良好.但是当我在Vista窗口服务和exe中都使用它时,却都在运行,但其代码无法正常工作.

hi all i have a win32 service created in vc++. it is working well on xp. but when i am using it in vista window service and exe both r running but its code is not working.

推荐答案

有很多事情可以导致此问题,一个常见的问题...Microsoft在Vista中对应用程序实施了类似于Linux的许可,这可能会引起各种奇怪的情况,例如,我的应用程序没有被授予打开其DLL的许可.尝试以管理员身份运行该应用程序,看看是否可以解决您的问题.

p.s.是的,因为没有详细信息,所以有点盲目建议.
there''s many things that can cause this problem, one common prob... microsoft implemented their linux-like permissions for applications in Vista that can cause all sorts of weirdness, for example, I''ve had apps that aren''t granted permission to open their DLLs. Try running the app as administrator and see if that fixes your issues.

p.s. yes, sort of blind suggestion since there''s no details.


尝试按属性在兼容模式下在Vista上运行程序.也许是操作系统问题...
Try to run program on Vista in compatible mode by properties. Maybe it''s OS problem...


这篇关于win32服务不适用于Vista的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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