Solved

GetPrivateProfileString & Win32s

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

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: 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.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 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

16 Experts available now in Live!

Get 1:1 Help Now