Solved

MFC related differences between NT & 95/98

Posted on 1998-10-20
2
165 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Separate into files by filename 12 92
ORA-01403: no data found 43 116
Tab names are off by one 5 54
zeroMAx challenge 20 135
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…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.

734 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