• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 528
  • Last Modified:

safenative namespace and kernel32

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
shragi
Asked:
shragi
1 Solution
 
Minh Võ CôngCommented:
GetPrivateProfileString is API function in kernel32.dll
http://pinvoke.net/default.aspx/kernel32/GetPrivateProfileString.html
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now