AutoHotkey Community

It is currently May 27th, 2012, 1:47 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Compiled MsgBox Icon
PostPosted: January 19th, 2010, 8:49 pm 
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?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 9:37 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
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:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 9:41 pm 
Offline

Joined: October 15th, 2007, 7:23 pm
Posts: 252
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 9:49 pm 
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?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 10:01 pm 
Offline

Joined: October 15th, 2007, 7:23 pm
Posts: 252
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 10:26 pm 
Offline

Joined: October 15th, 2007, 7:23 pm
Posts: 252
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 10:38 pm 
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... :roll:
I rebooted my computer and compiled it again. Now it shows the right icon.
Thanks anyway!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 10:46 pm 
Offline

Joined: October 15th, 2007, 7:23 pm
Posts: 252
I'm saying the msgbox.exe screwed up my computer AND I was warning other people to not run it. :x

dmatch


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2010, 10:56 pm 
Offline

Joined: January 13th, 2009, 10:02 pm
Posts: 31
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)... :?


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, bobbysoon, Google Feedfetcher, JSLover, Tipsy3000 and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group