•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 456,506 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,649 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 809 | Replies: 7
![]() |
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation:
Rep Power: 40
Solved Threads: 972
you can write your own functions to replace them. ini configuration files are nothing more than simple text files that are in the format
So the program you write just searches for the tag name then the field and value.
[tag name] <field> = <value>
So the program you write just searches for the tag name then the field and value.
I actually found an open source that corresponds to the functions that I mentioned.
here's the link: http://www.matteolucarelli.net/libre...eProfile.c.htm
Now my problem is, I need to insert wchar_t* instead of the char* datatypes for the parameters. This version of the function is using standard lib functions which only accepts the datatype char*. Any suggestion on how to or what to do?
here's the link: http://www.matteolucarelli.net/libre...eProfile.c.htm
Now my problem is, I need to insert wchar_t* instead of the char* datatypes for the parameters. This version of the function is using standard lib functions which only accepts the datatype char*. Any suggestion on how to or what to do?
Retreat!!!
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation:
Rep Power: 40
Solved Threads: 972
since you have the source code you can change it however you want. But ini files themselves are not usually UNICODE so you might have to add a little code to convert from wchar_t* to char*, assuming that is even possible, which it might not be with some languages.
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation:
Rep Power: 40
Solved Threads: 972
Yes, I use that function frequently and it works well for me.
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- fstream Tutorial (C++)
- HLA Standard Library v2.2 (Assembly)
- Help: Win32 and standard lib functions. (C++)
- callbacks and class member functions... (C++)
- Question about Standard C Library. (C)
- C++ Random Library (C++)
- HLA Standard Library at SF (Assembly)
Other Threads in the C++ Forum
- Previous Thread: Plotting 2D Graphs in C++
- Next Thread: the object has cv-qualifiers that are not compatible with the member function



Linear Mode