Solved

GetPrivateProfileString & Win32s

Posted on 1998-08-28
1
596 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

Database Solutions Engineer FAQs

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller single-server environments.

Question has a verified solution.

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

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
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 you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

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