调试DLL在XP中不起作用 [英] debug dll not working in xp

查看:103
本文介绍了调试DLL在XP中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们正在开发基于xps的打印机驱动程序.我们正在创建一个dll,并将其放置在文件夹C:\ WINDOWS \ system32 \ spool \ drivers \ w32x86 \ 3中. xp.

迷失了方向,我们找到了一个解决方案,通过将代码中的 _tfopen_s()更改为_tfopen()来生成dll,
我们可以使dll在xp中运行.

现在的问题是,在xp中,如果我们以发布模式构建dll,它可以正常工作.
但如果我们以调试模式构建,则失败

正在使用MSVC2005进行构建.

任何机构都可以帮助我解决此问题吗?

问候
Ramesh
我想分享有关xps打印机驱动程序的信息

解决方案

无论何时您问一个问题并说"不起作用"或"失败",如果没有关于什么不起作用或失败和/或如何不起作用或失败的细节,您的问题将无法解决.


hi all,
 
    we are developing an xps based printer driver. We are creating a dll and placing that to in the folder C:\WINDOWS\system32\spool\drivers\w32x86\3.

   The dll is working fine in vista, But it is unable to work in xp.

   At lost, we found a solution that, by changing _tfopen_s() to _tfopen() in the code, which is used to generate the dll,
we can able to make the dll working in xp. 

  the issue now is, in xp, if we build the dll in release mode it works fine.
  but it fails if we build in debug mode

  We are using MSVC2005 for building.

  could any body help me to resolve this issue?

  regards
  Ramesh  
  

 


I want to share about xps printer driver

解决方案

Whenever you ask a question and say "doesn't work" or "fails", your question does not work without specifics about what doesn't work or fails and/or how it doesn't work or it does fail.


这篇关于调试DLL在XP中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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