hasherezade / exe_to_dll

Converts a EXE into DLL
1.26k stars 191 forks source link

Execution of DLL fails with exception #12

Open 77darkshark77 opened 4 months ago

77darkshark77 commented 4 months ago

Hello,

Thanks a lot for your Great work.

Wanted to try it against Autoit compiled script. (exe 32 bit)

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

#include <File.au3>

MsgBox(64,"","Hey it works!",10)

Compiled it to 32 bit binary (exe) and then converted it to dll using exe_to_dll.

So, the final DLL crashes:(

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: rundll32.exe
  Application Version:  6.3.9600.17415
  Application Timestamp:    545045a2
  Fault Module Name:    testdll.dll
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp:   xxxxxxxxxx
  Exception Code:   c00000fd
  Exception Offset: 00041f79
  OS Version:   6.3.9600.2.0.0.272.7
  Locale ID:    1033
  Additional Information 1: e582
  Additional Information 2: e5829dc1b224601aa8bb78b39a5064b7
  Additional Information 3: c415
  Additional Information 4: c415095f101d523aa5ecf9187fc3bc14

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=280262

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Both files are attached for investigation.

Crashes.zip

Thanks a lot!

hasherezade commented 4 months ago

Hi! This project is only to convert native applications, and it won't work well with the wrapped scripts, sorry! Still, I will look into your particular case as soon as I have some free time, and check if any workarounds are possible.