Outils pour utilisateurs

Outils du site


tech:notes_windows_exe_dll

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_windows_exe_dll [2026/04/21 22:27] Jean-Baptistetech:notes_windows_exe_dll [2026/05/03 21:33] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon Windows Dev DLL}}
 +
 +
 +# Notes windows EXE DLL
 +
 +Voir : 
 +* https://en.wikipedia.org/wiki/Dynamic-link_library
 +* https://www.baeldung.com/linux/exported-symbols-dll
 +* https://www.baeldung.com/linux/shared-library-exported-functions
 +* https://www.youtube.com/watch?v=zBPLBm5wJcY
 +* https://www.tutorialspoint.com/dll/dll_writing.htm
 +* https://cygwin.com/cygwin-ug-net/dll.html
 +* `cygwin1.dll`
 +
 +
 +Go lang
 +* https://go.dev/wiki/WindowsDLLs
 +* https://gist.github.com/NaniteFactory/7a82b68e822b7d2de44037d6e7511734
 +* https://stackoverflow.com/questions/49078510/trouble-compiling-windows-dll-using-golang-1-10
 +* https://di-mgt.com.au/calling-windows-dll-from-go.html
 +* https://github.com/zakibakar75/DLL-call-in-Golang/tree/master
 +* https://blog.ropnop.com/hosting-clr-in-golang/
 +* https://stackoverflow.com/questions/67969401/how-to-implement-dllmain-entry-point-in-go#67970294
 +
 +
 +Voir aussi (Linux) :
 +* https://medium.com/learning-the-go-programming-language/calling-go-functions-from-other-languages-4c7d8bcc69bf
 +* https://github.com/golang/go/issues/59787
 +
 +
 +
 +Voir les fonctions présentes dans le DLL
 +~~~bash
 +readpe -e msvbvm60.dll
 +~~~
 +
 +
 +~~~bash
 +winedump -j export msvbvm60.dll
 +~~~
 +
 +Voir les DLL liées
 +~~~
 +i686-w64-mingw32-objdump -p win-cgo-test.exe | grep "DLL Name:"
 +        DLL Name: ws2_32.dll
 +        DLL Name: advapi32.dll
 +        DLL Name: ntdll.dll
 +        DLL Name: kernel32.dll
 +        DLL Name: winmm.dll
 +        DLL Name: msvcrt.dll
 +~~~
 +
 +FIXME
 +
 +
 +## Appeler une fonction dans une DLL
 +
 +### Avec Go
 +
 +Voir [[wine Err bcryptprimitives.dll not found - Compilation Croisée Go lang]]
 +
 +
 +## En ligne de commande
 +
 +Voir :
 +* https://www.cybereason.com/blog/rundll32-the-infamous-proxy-for-executing-malicious-code
 +
 +~~~bash
 +wine rundll32.exe user32.dll,MessageBoxW
 +env LANG="fr_FR.UTF-8" wine rundll32.exe user32.dll,MessageBoxA "Titre de la fenêtre"
 +~~~
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki