Solved

MFC related differences between NT & 95/98

Posted on 1998-10-20
2
166 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

 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

Question has a verified solution.

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

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: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

636 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