当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: hehe ......
    摘要: 在测试函数中调用dll中写的一个函数时出现了unhandled exception in domtest.ext:0xc00000005:access violation.退出debuger后vc给出的提示为: loaded c:\winnt\system32\ntdll.dll, no matching symbolic information found. loaded e:\neux......


怎么得到系统中默认打印机的信息

我用EnumPrinters得不到!  
   
  致以最衷心的感谢!!

NO.1   作者: dlfour

GetPrinterDeviceDefaults

NO.2   作者: kingzai

reading   all   the   printer   names   from  
  HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Print\Printers,   then  
  using   RegEnumKeyEx   to   get   the   names  
  or   you   can   try   use   GetDefaultPrinter   API  
 


 ·请c++高手门指点,有分    »显示摘要«
    摘要: 大家好,本人是delphi程序员,自认为水平相当不错,可我发现delphi不吃香了,并且工资比较低,不知什么原因,请指教,有分散 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE