Actually in Visual Basic when you use an API, it's something like this:

For Example:
Private Declare Sub RtlMoveMemory Lib "kernel32.dll" (Destination As Any, Source As Any, ByVal Length As Long)


It means you are using a function from the kernel32.dll file in system32 folder of the windows operating system

What about C++?

Does a MFC (Microsoft Foundation Class Library) application use kernel32.dll functions like the VB APIs? or it has a separate and inner library?

tnx