Lachlan MacColl
asked on
Problem with an old windows function.
I am having a problem with an old function I used to use about 20 years ago.
I am using Embarcadero RAD 8.3
I have added windows.h to my include list
[bcc32c Error] Unit2.cpp(53): no matching function for call to 'GetPrivateProfileStringW'
I find this most confusing.
I am using Embarcadero RAD 8.3
I have added windows.h to my include list
AnsiString name;
GetPrivateProfileString(_T("Section 1"), _T("Key 1"), _T("") , name, 32, _T("C:\\test.ini"));
This is the error I am getting when I try to compile[bcc32c Error] Unit2.cpp(53): no matching function for call to 'GetPrivateProfileStringW'
I find this most confusing.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
No worries. Glad you got it resolved.
ASKER
You were spot on the money with your answer TY for your help !.
MusicBuddha