Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Netserverenum function return false detail Pin
Victor Nijegorodov3-Dec-20 20:42
Victor Nijegorodov3-Dec-20 20:42 
GeneralRe: Netserverenum function return false detail Pin
Member 141178533-Dec-20 21:42
Member 141178533-Dec-20 21:42 
GeneralRe: Netserverenum function return false detail Pin
Richard MacCutchan3-Dec-20 22:48
mveRichard MacCutchan3-Dec-20 22:48 
AnswerRe: Netserverenum function return false detail Pin
Randor 3-Dec-20 22:35
professional Randor 3-Dec-20 22:35 
GeneralRe: Netserverenum function return false detail Pin
Member 141178537-Dec-20 3:26
Member 141178537-Dec-20 3:26 
GeneralRe: Netserverenum function return false detail Pin
Randor 7-Dec-20 7:04
professional Randor 7-Dec-20 7:04 
GeneralRe: Netserverenum function return false detail Pin
Member 141178538-Dec-20 2:25
Member 141178538-Dec-20 2:25 
QuestionWhy can't I print my watermark in chrome and edge? Pin
Member 148726812-Dec-20 20:28
Member 148726812-Dec-20 20:28 
Hello.

I'm a developer who needs help.

First of all, I hope you understand that the sentence structure can be strange as I ask questions using a translator machine.

I am currently working on a program that requires watermarking on any printout.

If our program is running, when printing in programs such as Notepad, Office 2016, mspaint, Adobe Reader, etc., the set watermark is printed well.

However, when printing in Chrome or Edge, the watermark is not displayed.

Currently, we are hooking GDI32.DLL and taking watermarks.

Except for IE11, Chrome, Edge, Notepad, etc. all call the hooked StartDoc function in GDI32.DLL.

I thought that Chrome or Edge would not call the function of GDI32.DLL, but when I saw the hooked function call, I knew it was not.

I think something is blocking itself when printing from Chrome or Edge.

I am curious if the above sentence is correct.


So,

If the idea of the sentence above is correct, the question is how to approach to make the watermark appear in Chrome or Edge printouts?

If even the approach is wrong, I wonder if there is another way.

I would be grateful for any help.

Thank you.
AnswerRe: Why can't I print my watermark in chrome and edge? Pin
Richard MacCutchan2-Dec-20 23:05
mveRichard MacCutchan2-Dec-20 23:05 
AnswerRe: Why can't I print my watermark in chrome and edge? Pin
Randor 3-Dec-20 8:29
professional Randor 3-Dec-20 8:29 
Questionto bool or not to bool? Pin
Member 1498043325-Nov-20 8:36
Member 1498043325-Nov-20 8:36 
AnswerRe: to bool or not to bool? Pin
Mircea Neacsu25-Nov-20 9:10
Mircea Neacsu25-Nov-20 9:10 
GeneralRe: to bool or not to bool? Pin
Member 1498043325-Nov-20 17:44
Member 1498043325-Nov-20 17:44 
AnswerRe: to bool or not to bool? Pin
Mircea Neacsu25-Nov-20 17:55
Mircea Neacsu25-Nov-20 17:55 
AnswerRe: to bool or not to bool? Pin
Daniel Pfeffer26-Nov-20 7:17
professionalDaniel Pfeffer26-Nov-20 7:17 
QuestionEDITED Using template in C++ - run time error Pin
Member 1498043323-Nov-20 6:07
Member 1498043323-Nov-20 6:07 
AnswerRe: Using template in C++ Pin
Richard MacCutchan23-Nov-20 6:25
mveRichard MacCutchan23-Nov-20 6:25 
GeneralRe: Using template in C++ Pin
Member 1498043324-Nov-20 14:34
Member 1498043324-Nov-20 14:34 
GeneralRe: Using template in C++ Pin
Dave Kreskowiak24-Nov-20 19:01
mveDave Kreskowiak24-Nov-20 19:01 
GeneralRe: Using template in C++ Pin
Richard MacCutchan24-Nov-20 22:13
mveRichard MacCutchan24-Nov-20 22:13 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 6:58
Member 1498043325-Nov-20 6:58 
GeneralRe: Using template in C++ Pin
jeron125-Nov-20 7:23
jeron125-Nov-20 7:23 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 7:42
mveRichard MacCutchan25-Nov-20 7:42 
GeneralRe: Using template in C++ Pin
Member 1498043325-Nov-20 8:53
Member 1498043325-Nov-20 8:53 
GeneralRe: Using template in C++ Pin
Richard MacCutchan25-Nov-20 9:21
mveRichard MacCutchan25-Nov-20 9:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.