Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

safenative namespace and kernel32

Posted on 2011-09-08
1
Medium Priority
?
506 Views
Last Modified: 2012-05-12
I converted VB script to VB.NET script and during conversion. I

ImportUtil_upgradedSupport.SafeNative.kernel32.GetPrivateProfileString(m_sSection, m_sKey, m_sDefault, sBuf, CInt(iSize), m_sPath)

what does the above function call do.... I did not understand the concept of safenative namespace and kernal32 module.

what I understood is GetPrivateProfileString removes specified section of string ... but what is safenative and kernel32...
0
Comment
Question by:shragi
1 Comment
 
LVL 15

Accepted Solution

by:
Minh Võ Công earned 2000 total points
ID: 36507729
GetPrivateProfileString is API function in kernel32.dll
http://pinvoke.net/default.aspx/kernel32/GetPrivateProfileString.html
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

824 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