PC Review


Reply
Thread Tools Rate Thread

CreateCompatibleDC Failed

 
 
Kartik Narayanan
Guest
Posts: n/a
 
      30th Jul 2009
We are developing a monolithic printer driver and downloading fonts as
truetype download. In this code we are creating a memory context using
CreateCompatibleDC(NULL) and this call is failing in a case where "Enable
Advanced Printing Features" is unchecked in our printer driver advanced
properties.
GetLastError also gave 0 as error.

I have observed that this is happening only in x64 platform. We tested in
Win2003x64 and WinVistax64. Suprisingly in the UI module CreateComaptibleDC
has passed and when we are doing rendering module in the DrvSendPage(), this
call has failed.

Would you please tell us why this kind of behavior happens with EMF spooling
off.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Http Post Error: A connection attempt failed because the connectedparty did not properly respond after a period of time, or establishedconnection failed because connected host has failed to respond. Deepu Microsoft Dot NET Framework 1 9th Jul 2009 05:09 PM
Installation Failed at Extracting Files - rollback failed dismally =?Utf-8?B?Q3JBeS1a?= Windows Vista Installation 0 25th Jun 2006 04:14 AM
I failed to Send & Receive Process, reasons The Operation Failed =?Utf-8?B?SmFmZmFy?= Microsoft Outlook Contacts 0 2nd Aug 2005 07:32 AM
SCSI installation failed leading to hard drive reformatting which also failed! joe Windows XP Hardware 0 28th Jan 2004 03:45 PM
IIS install failed: Snap-in failed to initialize: NNTP Protocol Jay Windows XP Networking 0 29th Jul 2003 09:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:41 AM.