AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiled MsgBox Icon

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
cyberman
Guest





PostPosted: Tue Jan 19, 2010 7:49 pm    Post subject: Compiled MsgBox Icon Reply with quote

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

PostPosted: Tue Jan 19, 2010 8:37 pm    Post subject: Reply with quote

Works fine for me, what AutoHotkeySC.bin do you use, try to install latest AutoHotkey.
_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun Wink
Back to top
View user's profile Send private message
dmatch



Joined: 15 Oct 2007
Posts: 252

PostPosted: Tue Jan 19, 2010 8:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyberman
Guest





PostPosted: Tue Jan 19, 2010 8:49 pm    Post subject: Reply with quote

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

PostPosted: Tue Jan 19, 2010 9:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
dmatch



Joined: 15 Oct 2007
Posts: 252

PostPosted: Tue Jan 19, 2010 9:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
cyberman
Guest





PostPosted: Tue Jan 19, 2010 9:38 pm    Post subject: Reply with quote

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... Rolling Eyes
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

PostPosted: Tue Jan 19, 2010 9:46 pm    Post subject: Reply with quote

I'm saying the msgbox.exe screwed up my computer AND I was warning other people to not run it. Mad

dmatch
Back to top
View user's profile Send private message
Dbof



Joined: 13 Jan 2009
Posts: 31

PostPosted: Tue Jan 19, 2010 9:56 pm    Post subject: Reply with quote

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)... Confused
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group