DLL bleibt nicht in Nachrichtenschleife hängen



  • Vielleicht hängt es damit zusammen:

    When a DLL is unloaded from a process as a result of an unsuccessful load of the DLL, termination of the process, or a call to FreeLibrary, the system does not call the DLL's entry-point function with the DLL_THREAD_DETACH value for the individual threads of the process. The DLL is only sent a DLL_PROCESS_DETACH notification.



  • Gut möglich, aber durch die exportierte Funktion welche jetzt den Thread erzeugt läuft es super 🙂

    Wieso kann ich eine exportierte Funktion die so aussieht EXPORT bool CALLBACK initialize (); nicht mit bool (CALLBACK *init_ptr)() laden?
    Bekomme, dann immer nen NULL Handle von GetProcAdress, wenn ich statt __stdcall __cdecl, also einfach nix dazu schreibe, benutze geht es 😕


Anmelden zum Antworten