Solved

MFC related differences between NT & 95/98

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
conditional code and condition difference 9 82
EvenOdd challenge 10 108
wordcount challenge 11 121
how to use laptop or pad camera in vb.net windows application 2 71
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

777 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