Solved

MFC related differences between NT & 95/98

Posted on 1998-10-20
2
160 Views
Last Modified: 2013-11-20
Can you list four MFC things that are different between NT and 95/98?  Something along the lines of 95 not being able to use the security attributes in beginthreadex, but MFC related.

thanks!
0
Comment
Question by:don23
  • 2
2 Comments
 
LVL 7

Accepted Solution

by:
psdavis earned 100 total points
ID: 1323582
BOOL CreateDirectory(
  LPCTSTR lpPathName,                         // pointer to directory path string
  LPSECURITY_ATTRIBUTES lpSecurityAttributes  // pointer to security descriptor
);

95/98 can't use security attributes in creating files/directories.  There's several functions in this category

LONG RegCreateKeyEx(
  HKEY hKey,                // handle to an open key
  LPCTSTR lpSubKey,         // address of subkey name
  DWORD Reserved,           // reserved
  LPTSTR lpClass,           // address of class string
  DWORD dwOptions,          // special options flag
  REGSAM samDesired,        // desired security access
  LPSECURITY_ATTRIBUTES lpSecurityAttributes,
                            // address of key security structure
  PHKEY phkResult,          // address of buffer for opened handle
  LPDWORD lpdwDisposition   // address of disposition value buffer
);
 
Ten different registry functions can have security attributes as well, but not in 98.

SetGraphicsMode & SetWorldTransformation are only available in WinNT.

AlphaBlend/TransparentBlt are NT and 98 but not 95.

The PlgBlt/MaskBlt functions are only for WinNT.

Phillip

0
 
LVL 7

Expert Comment

by:psdavis
ID: 1323583
Here's a few more...

Also PrinterForms function such as AddForm is NT only.

CancelDC is a great NT only function.

CDC:AngleArc NT only

How about a whole site of 'em?

Differences in Win32 API Implementations Among Windows Operating
http://www.microsoft.com/win32dev/guidelns/apidiffs.htm

Phillip

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now