| View previous topic :: View next topic |
| Author |
Message |
cyberman Guest
|
Posted: Tue Jan 19, 2010 7:49 pm Post subject: Compiled MsgBox Icon |
|
|
I have a problem, i tried to compile this simple code:
| Code: | | MsgBox, 262160, Hello, This is a messagebox. |
When I run this code, it displays the msg alwaysontop and with the red error icon (X).
But, when I compile it, I get a yellow triangle instead of the red circle.
Here are both files:
http://www.autohotkey.net/~cyberman/msgbox.zip
Any ideas? |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 4652 Location: AHK Forum
|
|
| Back to top |
|
 |
dmatch
Joined: 15 Oct 2007 Posts: 252
|
Posted: Tue Jan 19, 2010 8:41 pm Post subject: |
|
|
Sorry to say on my old system (Windows ME) using AHK 1.0.48 (not the newest) the MsgBox when compiled looks just like when running the script.
I'll try on XP also.
Edit: Looks the same on XP also. No problem here
dmatch |
|
| Back to top |
|
 |
cyberman Guest
|
Posted: Tue Jan 19, 2010 8:49 pm Post subject: |
|
|
| HotKeyIt wrote: | | Works fine for me, what AutoHotkeySC.bin do you use, try to install latest AutoHotkey. |
Installed it today, I don't know what AutoHotkeySC.bin you mean, I use AHK with standard options and the compiler provided in the download.
| Code: | | Edit: Looks the same on XP also. No problem here |
So you get the same with the script and the file I compiled? Is there any alternative compiler I can use? |
|
| Back to top |
|
 |
dmatch
Joined: 15 Oct 2007 Posts: 252
|
Posted: Tue Jan 19, 2010 9:01 pm Post subject: |
|
|
I can't run your .exe on my system (Windows ME). I get an error:
| Quote: | | file is linked to missing export MSVBVM60.DLL |
But, when I compile with the older AutoHotkey both the script and my compiled .exe have the same icon. No problem.
dmatch |
|
| Back to top |
|
 |
dmatch
Joined: 15 Oct 2007 Posts: 252
|
Posted: Tue Jan 19, 2010 9:26 pm Post subject: |
|
|
WARNING!
Don't run that msgbox.exe posted in the zip above. Like a sap I tried it on my XP machine and am now in the process of having to do a system restore. The computer just keeps adding many Winlogon.exe to the processes over and over again, even after a reboot. I did get a msgbox with yellow triangle and exclamation point after the first reboot. Subsequent reboots just kept hourglassing and adding many many winlogon.exe entries to Windows processes.
Fortunately, I had a system restore from last night that seems to have fixed the problem.
dmatch |
|
| Back to top |
|
 |
cyberman Guest
|
Posted: Tue Jan 19, 2010 9:38 pm Post subject: |
|
|
| Quote: | | Subsequent reboots just kept hourglassing and adding many many winlogon.exe entries to Windows processes. |
Doesn't happen to me, and the file is a compiled version of the script. Don't know what you are saying...
I rebooted my computer and compiled it again. Now it shows the right icon.
Thanks anyway! |
|
| Back to top |
|
 |
dmatch
Joined: 15 Oct 2007 Posts: 252
|
Posted: Tue Jan 19, 2010 9:46 pm Post subject: |
|
|
I'm saying the msgbox.exe screwed up my computer AND I was warning other people to not run it.
dmatch |
|
| Back to top |
|
 |
Dbof
Joined: 13 Jan 2009 Posts: 31
|
Posted: Tue Jan 19, 2010 9:56 pm Post subject: |
|
|
I downloaded the files an hour ago, but didn't start them yet. After your warning i decompiled the exe. There are just these two lines of code shown above(just the msgBox number seems different)...  |
|
| Back to top |
|
 |
|