15,917,709 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Dang Dinh Nghiem (Top 2 by date)
Dang Dinh Nghiem
13-Feb-18 2:15am
View
Until now, We have not solved this problem. Please help me...
Dang Dinh Nghiem
1-Feb-18 21:13pm
View
I have more information as following.
1. Our own printer driver which is developed by using WDK (Windows Driver Kits 7.1.0), is known as monolithic driver.
2. In addition, I wrote sample application calls EnumFontFamiliesEx() in order to confirm whether the sample application can obtain our own driver's device fonts information both on Windows 32-bit and 64-bit?
+ On Windows 32-bits, sample application can obtain the information of our own printer driver driver's device fonts successfully by using EnumFontFamiliesEx() (as expected)
+ On Windows 64-bits, sample application cannot obtain the information of our own printer driver driver's device fonts successfully by using EnumFontFamiliesEx(). (against expected).
3. Our Monolithic printer dirver uses DrvQueryFont(),DrvQueryFontTree() function which is called by GDI to get IFIMETRICS structure for a given font. However, we found the difference between Windows 64-bits and 32-bits when reproducing problem.
- On Windows 32-bits, DrvQueryFont() is called 140 times and DrvQueryFontTree() is called 140 times
- On Windows 64-bits, DrvQueryFont() is called just 1 time, but DrvQueryFontTree() is not called.