# my Win32 App refuses to run on my PC

**URL:** <https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258>\
**Category:** Win32 Desktop\
**Created:** [September 8, 2017, 3:54am UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258 "2017-09-08T03:54:21Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruceG](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bruceG](https://forums.solar2d.com/u/bruceG)\
**Post date:** [September 8, 2017, 3:54am UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/1 "2017-09-08T03:54:21Z")

</div>

Hello

i built my app&nbsp;as a Windows App, everything is OK.&nbsp; when i try to run the resulting .exe file i get the error message that my app has stopped working and a list of temp files to look at appear in my info window about the problem.

in one of the files i get a message about a thread tried to read or write to an address which it does not have appropriate access. See below.

has any one had similar errors when trying to run a Windows built .exe file form of an App?

i saw messages about stopping anti-virus software, adding my exe file to a list of allowable programmes in windows Ctrl panel Windows Data Exception file.&nbsp; but i am not sure this is the error i am having.&nbsp; i did add my exe file to my anti-virus list of allowable programmes but to no avail.

i am using build 2017.3130 of corona, on a 64 bit pc running Win7 ultimate.

regards

bruce.

## Dump Summary

Dump File:&nbsp;WERB188.tmp.mdmp : C:\Users\Administrator\AppData\Local\Temp\WERB188.tmp.mdmp  
Last Write Time:&nbsp;08/09/2017 10:37:47  
Process Name:&nbsp;mudmate.exe : D:\My Documents\Corona\live builds\MudMate.Win32\mudmate.exe  
Process Architecture:&nbsp;x86  
Exception Code:&nbsp;0xC0000005  
Exception Information:&nbsp;The thread tried to read from or write to a virtual address for which it does not have the appropriate access.  
Heap Information:&nbsp;Not Present

## System Information

OS Version:&nbsp;6.1.7601  
CLR Version(s):&nbsp;

## Modules

Module Name&nbsp;Module Path&nbsp;Module Version  
-----------&nbsp;-----------&nbsp;--------------  
mudmate.exe&nbsp;D:\My Documents\Corona\live builds\MudMate.Win32\mudmate.exe&nbsp;1.0.0.0  
ntdll.dll&nbsp;C:\Windows\SysWOW64\ntdll.dll&nbsp;6.1.7601.18798  
kernel32.dll&nbsp;C:\Windows\SysWOW64\kernel32.dll&nbsp;6.1.7601.18847  
KERNELBASE.dll&nbsp;C:\Windows\SysWOW64\KERNELBASE.dll&nbsp;6.1.7601.18847  
user32.dll&nbsp;C:\Windows\SysWOW64\user32.dll&nbsp;6.1.7601.17514  
gdi32.dll&nbsp;C:\Windows\SysWOW64\gdi32.dll&nbsp;6.1.7601.18898  
lpk.dll&nbsp;C:\Windows\SysWOW64\lpk.dll&nbsp;6.1.7601.18923  
usp10.dll&nbsp;C:\Windows\SysWOW64\usp10.dll&nbsp;1.626.7601.18454  
msvcrt.dll&nbsp;C:\Windows\SysWOW64\msvcrt.dll&nbsp;7.0.7601.17744  
advapi32.dll&nbsp;C:\Windows\SysWOW64\advapi32.dll&nbsp;6.1.7601.18247  
sechost.dll&nbsp;C:\Windows\SysWOW64\sechost.dll&nbsp;6.1.7600.16385  
rpcrt4.dll&nbsp;C:\Windows\SysWOW64\rpcrt4.dll&nbsp;6.1.7601.18912  
sspicli.dll&nbsp;C:\Windows\SysWOW64\sspicli.dll&nbsp;6.1.7601.18912  
CRYPTBASE.dll&nbsp;C:\Windows\SysWOW64\CRYPTBASE.dll&nbsp;6.1.7601.18912  
shell32.dll&nbsp;C:\Windows\SysWOW64\shell32.dll&nbsp;6.1.7601.18762  
shlwapi.dll&nbsp;C:\Windows\SysWOW64\shlwapi.dll&nbsp;6.1.7601.17514  
CoronaLabs.Corona.Native.dll&nbsp;D:\My Documents\Corona\live builds\MudMate.Win32\CoronaLabs.Corona.Native.dll&nbsp;17.0.3130.0  
GdiPlus.dll&nbsp;C:\Windows\winsxs\x86\_microsoft.windows.gdiplus\_6595b64144ccf1df\_1.1.7601.18852\_none\_72d5ba7586659cb4\GdiPlus.dll&nbsp;6.1.7601.18852  
ole32.dll&nbsp;C:\Windows\SysWOW64\ole32.dll&nbsp;6.1.7601.18915  
IPHLPAPI.DLL&nbsp;C:\Windows\System32\IPHLPAPI.DLL&nbsp;6.1.7601.17514  
nsi.dll&nbsp;C:\Windows\SysWOW64\nsi.dll&nbsp;6.1.7600.16385  
winnsi.dll&nbsp;C:\Windows\System32\winnsi.dll&nbsp;6.1.7600.16385  
version.dll&nbsp;C:\Windows\System32\version.dll&nbsp;6.1.7600.16385  
winhttp.dll&nbsp;C:\Windows\System32\winhttp.dll&nbsp;6.1.7601.17514  
webio.dll&nbsp;C:\Windows\System32\webio.dll&nbsp;6.1.7601.17725  
wininet.dll&nbsp;C:\Windows\SysWOW64\wininet.dll&nbsp;11.0.9600.17909  
api-ms-win-downlevel-user32-l1-1-0.dll&nbsp;C:\Windows\SysWOW64\api-ms-win-downlevel-user32-l1-1-0.dll&nbsp;6.2.9200.16492  
api-ms-win-downlevel-shlwapi-l1-1-0.dll&nbsp;C:\Windows\SysWOW64\api-ms-win-downlevel-shlwapi-l1-1-0.dll&nbsp;6.2.9200.16492  
api-ms-win-downlevel-version-l1-1-0.dll&nbsp;C:\Windows\SysWOW64\api-ms-win-downlevel-version-l1-1-0.dll&nbsp;6.2.9200.16492  
api-ms-win-downlevel-normaliz-l1-1-0.dll&nbsp;C:\Windows\SysWOW64\api-ms-win-downlevel-normaliz-l1-1-0.dll&nbsp;6.2.9200.16492  
normaliz.dll&nbsp;C:\Windows\SysWOW64\normaliz.dll&nbsp;6.1.7600.16385  
iertutil.dll&nbsp;C:\Windows\SysWOW64\iertutil.dll&nbsp;11.0.9600.17924  
api-ms-win-downlevel-advapi32-l1-1-0.dll&nbsp;C:\Windows\SysWOW64\api-ms-win-downlevel-advapi32-l1-1-0.dll&nbsp;6.2.9200.16492  
userenv.dll&nbsp;C:\Windows\SysWOW64\userenv.dll&nbsp;6.1.7601.17514  
profapi.dll&nbsp;C:\Windows\SysWOW64\profapi.dll&nbsp;6.1.7600.16385  
winmm.dll&nbsp;C:\Windows\System32\winmm.dll&nbsp;6.1.7601.17514  
opengl32.dll&nbsp;C:\Windows\System32\opengl32.dll&nbsp;6.1.7600.16385  
glu32.dll&nbsp;C:\Windows\System32\glu32.dll&nbsp;6.1.7600.16385  
ddraw.dll&nbsp;C:\Windows\System32\ddraw.dll&nbsp;6.1.7600.16385  
dciman32.dll&nbsp;C:\Windows\System32\dciman32.dll&nbsp;6.1.7601.18923  
setupapi.dll&nbsp;C:\Windows\SysWOW64\setupapi.dll&nbsp;6.1.7601.17514  
cfgmgr32.dll&nbsp;C:\Windows\SysWOW64\cfgmgr32.dll&nbsp;6.1.7601.17621  
oleaut32.dll&nbsp;C:\Windows\SysWOW64\oleaut32.dll&nbsp;6.1.7601.18640  
devobj.dll&nbsp;C:\Windows\SysWOW64\devobj.dll&nbsp;6.1.7601.17621  
dwmapi.dll&nbsp;C:\Windows\System32\dwmapi.dll&nbsp;6.1.7600.16385  
ALmixer.dll&nbsp;D:\My Documents\Corona\live builds\MudMate.Win32\ALmixer.dll&nbsp;0.0.0.0  
msacm32.dll&nbsp;C:\Windows\System32\msacm32.dll&nbsp;6.1.7600.16385  
OpenAL32.dll&nbsp;D:\My Documents\Corona\live builds\MudMate.Win32\OpenAL32.dll&nbsp;0.0.0.0  
msvcr120.dll&nbsp;D:\My Documents\Corona\live builds\MudMate.Win32\msvcr120.dll&nbsp;12.0.21005.1  
msvcp120.dll&nbsp;D:\My Documents\Corona\live builds\MudMate.Win32\msvcp120.dll&nbsp;12.0.21005.1  
lua.dll&nbsp;D:\My Documents\Corona\live builds\MudMate.Win32\lua.dll&nbsp;0.0.0.0  
comctl32.dll&nbsp;C:\Windows\winsxs\x86\_microsoft.windows.common-controls\_6595b64144ccf1df\_6.0.7601.18837\_none\_41e855142bd5705d\comctl32.dll&nbsp;6.10.7601.18837  
ws2\_32.dll&nbsp;C:\Windows\SysWOW64\ws2\_32.dll&nbsp;6.1.7601.17514  
imm32.dll&nbsp;C:\Windows\System32\imm32.dll&nbsp;6.1.7601.17514  
msctf.dll&nbsp;C:\Windows\SysWOW64\msctf.dll&nbsp;6.1.7601.18731  
uxtheme.dll&nbsp;C:\Windows\System32\uxtheme.dll&nbsp;6.1.7600.16385  
BtMmHook.dll&nbsp;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64\BtMmHook.dll&nbsp;6.3.0.7600  
psapi.dll&nbsp;C:\Windows\SysWOW64\psapi.dll&nbsp;6.1.7600.16385  
ig4icd32.dll&nbsp;C:\Windows\System32\ig4icd32.dll&nbsp;8.15.10.2266

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 8, 2017, 7:39pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/2 "2017-09-08T19:39:40Z")

</div>

What Anti-virus software are you using?

Rob

---

<div class="post-metadata">

**Author:** ![bruceG](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bruceG](https://forums.solar2d.com/u/bruceG)\
**Post date:** [September 9, 2017, 1:13pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/3 "2017-09-09T13:13:55Z")

</div>

i have Avira installed.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 13, 2017, 4:53pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/4 "2017-09-13T16:53:54Z")

</div>

Can you get the latest public build (3135) and give that a try?

Rob

---

<div class="post-metadata">

**Author:** ![bruceG](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bruceG](https://forums.solar2d.com/u/bruceG)\
**Post date:** [September 15, 2017, 1:38pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/5 "2017-09-15T13:38:20Z")

</div>

Rob

i got 3135 and tried again but the same result and error message.

Bruce

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 15, 2017, 5:08pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/6 "2017-09-15T17:08:38Z")

</div>

Can you disable your virus scanner, uninstall and re-install Corona and try running it and then building a desktop app and test running it. Then re-enable the virus scanner and see if it’s causing the issue?

Thanks

Rob

---

<div class="post-metadata">

**Author:** ![bruceG](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bruceG](https://forums.solar2d.com/u/bruceG)\
**Post date:** [September 17, 2017, 3:13am UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/7 "2017-09-17T03:13:18Z")

</div>

Rob

on this issue I found the reason for the app not running on Desktop and even on the Mac when I looked at this thread&nbsp;&nbsp;[https://forums.coronalabs.com/topic/62568-blured-images-in-win32-app/?p=324852](https://forums.coronalabs.com/topic/62568-blured-images-in-win32-app/?p=324852)

it seems I was trying to set the aspect ratio from display.pixelHeight/Width before Corona would allow. &nbsp;Now my App runs on both Desktop and Mac builds by using the logic and placement of the code in the config.lua file at the end of above thread.

regards

Bruce.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 17, 2017, 6:21pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/8 "2017-09-17T18:21:49Z")

</div>

Yea, setting an aspect ratio in config.lua is currently an issue for desktop builds. There is a filed bug report on it. However that said, it really doesn’t make sense for desktop apps. You can fun in full screen or windowed. Windowed takes settings from build.settings to control the window size, so you don’t have to try and make the content area fit since you’re in control of those settings.

Rob

---

<div class="post-metadata">

**Author:** ![KindaichiShota](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@KindaichiShota](https://forums.solar2d.com/u/KindaichiShota)\
**Post date:** [January 11, 2018, 6:35pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/9 "2018-01-11T18:35:37Z")

</div>

Very useful information…

🙂

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 8, 2017, 7:39pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/10 "2017-09-08T19:39:40Z")

</div>

What Anti-virus software are you using?

Rob

---

<div class="post-metadata">

**Author:** ![bruceG](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bruceG](https://forums.solar2d.com/u/bruceG)\
**Post date:** [September 9, 2017, 1:13pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/11 "2017-09-09T13:13:55Z")

</div>

i have Avira installed.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 13, 2017, 4:53pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/12 "2017-09-13T16:53:54Z")

</div>

Can you get the latest public build (3135) and give that a try?

Rob

---

<div class="post-metadata">

**Author:** ![bruceG](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bruceG](https://forums.solar2d.com/u/bruceG)\
**Post date:** [September 15, 2017, 1:38pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/13 "2017-09-15T13:38:20Z")

</div>

Rob

i got 3135 and tried again but the same result and error message.

Bruce

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 15, 2017, 5:08pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/14 "2017-09-15T17:08:38Z")

</div>

Can you disable your virus scanner, uninstall and re-install Corona and try running it and then building a desktop app and test running it. Then re-enable the virus scanner and see if it’s causing the issue?

Thanks

Rob

---

<div class="post-metadata">

**Author:** ![bruceG](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/b/e274bd/32.png) [@bruceG](https://forums.solar2d.com/u/bruceG)\
**Post date:** [September 17, 2017, 3:13am UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/15 "2017-09-17T03:13:18Z")

</div>

Rob

on this issue I found the reason for the app not running on Desktop and even on the Mac when I looked at this thread&nbsp;&nbsp;[https://forums.coronalabs.com/topic/62568-blured-images-in-win32-app/?p=324852](https://forums.coronalabs.com/topic/62568-blured-images-in-win32-app/?p=324852)

it seems I was trying to set the aspect ratio from display.pixelHeight/Width before Corona would allow. &nbsp;Now my App runs on both Desktop and Mac builds by using the logic and placement of the code in the config.lua file at the end of above thread.

regards

Bruce.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [September 17, 2017, 6:21pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/16 "2017-09-17T18:21:49Z")

</div>

Yea, setting an aspect ratio in config.lua is currently an issue for desktop builds. There is a filed bug report on it. However that said, it really doesn’t make sense for desktop apps. You can fun in full screen or windowed. Windowed takes settings from build.settings to control the window size, so you don’t have to try and make the content area fit since you’re in control of those settings.

Rob

---

<div class="post-metadata">

**Author:** ![KindaichiShota](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@KindaichiShota](https://forums.solar2d.com/u/KindaichiShota)\
**Post date:** [January 11, 2018, 6:35pm UTC](https://forums.solar2d.com/t/my-win32-app-refuses-to-run-on-my-pc/345258/17 "2018-01-11T18:35:37Z")

</div>

Very useful information…

🙂
