Solved

GetPrivateProfileString & Win32s

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VB.NET how to use the Vertical ScrollBar 5 87
Separate into files by filename 12 67
Detect CR LF to each line 12 137
Path of Workbook 3 45
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: 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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

12 Experts available now in Live!

Get 1:1 Help Now