Solved

MFC related differences between NT & 95/98

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

912 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

21 Experts available now in Live!

Get 1:1 Help Now