AutoHotkey Community

It is currently May 27th, 2012, 11:44 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: May 27th, 2010, 12:27 am 
Offline

Joined: November 24th, 2007, 9:07 pm
Posts: 774
I haven't compiled anything with AHK in a while that uses my standard lib functions, so I'm not sure when this problem started.

I tried recompiling a script of mine from last year, which used to work fine, and which makes heavy use of user library functions from %A_MyDocuments%\AutoHotKey\Lib\

None of the functions are being included from the Lib directory, however, neither when I compile the script nor when I just try running it on my development machine.

I tried moving the files into C:\Program Files\AutoHotKey\Lib\ and it did not make a difference--none of them are being included.

What could cause the standard / user library directories not to be read?

_________________
Ben

My Trac projects
My Wiki
[Broken] - My music


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 27th, 2010, 1:06 am 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
Can you post your code/errors?
Related: http://www.autohotkey.com/docs/Functions.htm#lib

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 27th, 2010, 2:05 am 
Offline

Joined: November 24th, 2007, 9:07 pm
Posts: 774
Unfortunately the code is very complex and uses a lot of include files, so it probably is not best to try and post it all here--needless to say, it's working code that compiled on my system before with no problem.

Luckily, although bafflingly, it began working again for no apparent reason. I tried moving only the scripts I need into the Lib and taking everything else out, and no go. I tried restarting, no go. I tried logging in as a different user and compiling, but no go. Then, all of a sudden, I don't know what happened in between here (a lot of troubleshooting steps), it just started working perfectly again.

While I'm sure this is some sort of bug (either in my operating system, or in AHK--I'm assuming the former), it's fine again and I can't get the problem to occur when trying to reproduce it now--so I'm happy.

_________________
Ben

My Trac projects
My Wiki
[Broken] - My music


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], MSN [Bot] and 18 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