importing .lib files

Is it possible to use .lib files as plugins instead of .dll files? I have attempted to do this but am having problems. Should I be using the

[DllImport (“myLib.lib”)]

notation or the

[DllImport (“__Internal”)]

notation?

If I use the __Internal notation, then it says that the function I am calling cannot be found (it does exist). If I use the other notation, then it says it cannot find myLib.lib, despite this being in my Assets/Plugins folder. I am using c# scripting.

thanks

for android:

    [DllImport("YourPluginName")]
    private static extern void YourFunktionName();

for iOS

    [DllImport("__Internal")]
    private static extern void YourFunktionName();

Did you succeed? DllImport won’t work for me with .lib files - it says “DLL not found”