Код: Выделить всё
private static IClassFactory GetClassFactoryFromDll(string dllName, string filterPersistClass)
{
//Load the dll
IntPtr dllHandle=Win32NativeMethods.LoadLibrary(dllName);
if (dllHandle == IntPtr.Zero)
Подробнее здесь: [url]https://stackoverflow.com/questions/79251862/the-name-intptr-does-not-exist-in-the-current-context[/url]
Мобильная версия