Solved

GetPrivateProfileString & Win32s

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perl Awk Need Help 3 139
zeroFront challenge 7 123
Line meaning 9 90
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 115
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

749 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