Lors de l'appele d'un DLL d'une manière dynamique explicite par LoadLibrary() j'ai la fenêtre de(First chance exception... :0xc0000005 Access violation)
en regardant le code Disassembly l'erreur survient à la fin de de la fonction ici 0041D06B dword ptr [ecx+1C4h],eax :
103: hLameDLL = LoadLibrary("lame_enc.dll");
0041D054 mov esi,esp
0041D056 push offset string "madxlib.dll" (00443820)
0041D05B call dword ptr [__imp__LoadLibraryA@4 (00453c74)]
0041D061 cmp esi,esp
0041D063 call _chkesp (004280f0)
0041D068 mov ecx,dword ptr [ebp-4]
0041D06B mov dword ptr [ecx+1C4h],eax
qqn pourrait m'expliquer comment résoudre ce problème?
Merci d'avance
Partager