Solved

GetPrivateProfileString & Win32s

Posted on 1998-08-28
1
593 Views
Last Modified: 2013-11-19
GetPrivateProfileString returns a zero length string under Win32s.  The same exe behaves as expected when running on NT or 95.  Compiler is VC4.0.  I took the source code and compiled it under Borland C/C++ v5.0, which can compile MFC 4.x and got the same result.  Anyone been able to get this API call to work under Win32s ?

Thanks.
0
Comment
Question by:brosenb0
[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
1 Comment
 
LVL 2

Accepted Solution

by:
duneram earned 50 total points
ID: 1321466
Get your hands on the following articles from microsoft Q155861 where it says you cannot set the section to NULL and  Q131896

http://support.microsoft.com/support/kb/articles/q131/8/96.asp
http://support.microsoft.com/support/kb/articles/q155/8/61.asp
http://support.microsoft.com/support/kb/articles/q131/8/96.asp
0

Featured Post

Industry Leaders: 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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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…
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.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

729 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