Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

DLL Problem

Empfohlene Antworten

Veröffentlicht

Ich rufe DLL mit AfxLoadLibrary so an:


int XyzView::DllAufruf(const char* _dllname, const char* _function)
{
XyzApp* app = (XyzApp*)AfxGetApp();
CString dll;
dll = _dllname;

/* if (m_hinst_dll)
{
AfxFreeLibrary(m_hinst_dll);
}
*/
m_hinst_dll = AfxLoadLibrary(_dllname);
if (!m_hinst_dll)
{
AfxMessageBox("DLL ist nicht mitgeliefert");
return -1;
}

procDll a = (procDll)::GetProcAddress(m_hinst_dll, _function);

if (!a)
return -1;
return a(app->m_benutzer);
}

[/PHP]

in Hedaer deklariere ich

HINSTANCE m_hinst_dll;

Es läuft nur wenn ich versuche eine DLL abzurufen die nicht vorhaben ist kriege ich hier

m_hinst_dll = AfxLoadLibrary(_dllname);

Fehler :

Nicht abgefangene Ausnahme in xyz.exe (NTDLL.DLL): 0xC0000139: (kein Name).

HILLLLLLLLLLFE !!!

  • Autor

kommisch auch ist wenn ich


   if (m_hinst_dll)

    {

        AfxFreeLibrary(m_hinst_dll);        

    }


auskomentiere dann komme ich mit dem Debug ganicht durch, deswegen habe ich

AfxFreeLibrary(m_hinst_dll);  

im Destruktor geschrieben -> ist es OK ????

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.