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 

Error when running compiled exe - COM_L

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






PostPosted: Mon Feb 22, 2010 7:56 pm    Post subject: Error when running compiled exe - COM_L Reply with quote

Hello,

When I try to compile a script using COM_L I get an error when running the EXE file,

Error at line 42
The following variable name contains an illegal character:
"ppv.prm_"
The program will now exit.

I am using AHK2EXE (launching it, manually selecting everything) to compile. Script runs fine from SciTE with (I believe) the version of AHK_L stamped DEC in the zip file.

I cannot use regular COM, the script will not run.

Please help!!! thank you!!!
Back to top
answer4u
Guest





PostPosted: Mon Feb 22, 2010 7:59 pm    Post subject: Reply with quote

Make sure you have the most current versions of AHKL & COM_L.
Back to top
Guest






PostPosted: Mon Feb 22, 2010 8:27 pm    Post subject: Reply with quote

But the compiler doesn't even ask for AutoHotKey.exe? What is it based on in AHK then? Lexicos compiler doesn't seem to have the whole package, only the EXE, and the COM_L file has two versions in it, completely unlabeled from each other.

How is one to know what to need and what to use? How can one switch between them easily?
Back to top
randallf



Joined: 06 Jul 2009
Posts: 678

PostPosted: Mon Feb 22, 2010 8:28 pm    Post subject: Reply with quote

Compiled, I mean, the package for autohotkey_L doesn't have an installer so it leads me to beleive that AHK.exe isn't even involved in this.
Back to top
View user's profile Send private message
answer4u
Guest





PostPosted: Mon Feb 22, 2010 8:31 pm    Post subject: Reply with quote

AHKL comes with a file called AutoHotkeySC.bin. This goes in the same directory as Ahk2Exe.exe. You want the Unicode version of AHKL. Same with COM_L - you want the Unicode version.
Back to top
randallf



Joined: 06 Jul 2009
Posts: 678

PostPosted: Mon Feb 22, 2010 8:39 pm    Post subject: Reply with quote

Thank you for the info! I'll get that sorted and try again.
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