Solved

safenative namespace and kernel32

Posted on 2011-09-08
1
440 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 500 total points
ID: 36507729
GetPrivateProfileString is API function in kernel32.dll
http://pinvoke.net/default.aspx/kernel32/GetPrivateProfileString.html
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 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