Yesterday, I ran the print preview I wrote last time on someone else's computer.ProgramBut today I cannot run on another computer, which makes me very strange.
The error message is "memory XXXX cannot be read", and "mfc100d. dll" contains unprocessed exceptions.
It is strange that an error still occurs after I add a try catch statement.
I first tried the DLL link and dynamic link and found that it still cannot be solved.
Then I tried to download mfc100.dll from the Internet and copied it to the System32 directory. An error still occurred.
Because of this problem, I can basically identify it as a problem with the operating system environment,
So I searched "the computer cannot print the preview solution ",
It may beThe printer has no driver installed or the printing service has not started.,
So:
1. StartPrint Service: Right-click "my computer", "manage", "services and applications", and find"Print Spooler", Right-click this item, select" properties ", and change the Startup Type to"Auto Start", Restart the computer.
Ii. InstallationPrinter Driver: Start \ Setup \ printer and fax \ Add Printer \ follow the prompts to perform "Next" operation .... \ it is best to select the more popular HP among the vendors, model laser jet 1000 or above. Follow the prompts to complete subsequent operations.
Solve the problem.