I am using the default print function from CHtmlView. I just built an MDI application using the appwizzard vith the view class derived from CHtmlView. Then changed navigate2 to point to a local HTML file in the view class created for me by the wizzard since it could not access a file on the net. Which is yet another problem.

The file appears to load fine but when I try and print it crashed in NTDLL. It seems odd that it calls it a user break point??? It never gets to posting the print dialog like it does
under win98.

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

It looks to me like the NT DLL is actually intentionally exiting the program for some reason. The only reason I can think of is that there is some sort of permission problem under Windows 2000. I have had problems running programs under Windows 2000 due to permissions. On more than one occasion I have had to first run the program as administrator before I could run as a user with full administration privileges. Without doing this first the program would crash. I have tried running this as administrator and it still crashes.

Debug line that it stops on:
-------------------------------------
77F9EEA9 int 3

Without testing, I'd guess that you could use the QueryStatusWB() member of CHtmlView to learn whether printing was allowed and display a messagebox. Even if this is not a satisfactory overall solution, I suggest that you try it to help identify the problem and see if it leads to that solution.

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes. I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.
Introductio…

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.

Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…