I'm trying to use the text detection feature in Macro Scheduler 13, and for some reason whenever I call GetTextInit in my script, Windows throws an exception and I can't figure out why.
At first I thought it was because I was developing on a Windows 7 x64 computer but trying to run the macro on an x86 platform, but I tried compiling the exe using a virtual instance of Windows 7 X86, only to end up with the same result.
The error window that pops up says:
Code: Select all
Exception EAccessViolation in module Viewpoint_v1.6.exe at 00000000.
Access violation at address 00000000. Read of address 00000000.
Code: Select all
Log Name: Application
Source: Application Error
Date: 2/6/2012 10:18:15 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: FC-004
Description:
Faulting application name: Viewpoint_v1.6.exe, version: 1.0.0.0, time stamp: 0x4f1958ad
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process id: 0xbf0
Faulting application start time: 0x01cce4e27e02a6b3
Faulting application path: C:\Users\helpdesk\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Viewpoint_v1.6.exe
Faulting module path: unknown
Report Id: ca2fee39-50d5-11e1-996c-80ee731eaa20
Event Xml:
<Event>
<System>
<Provider>
<EventID>1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated>
<EventRecordID>3512</EventRecordID>
<Channel>Application</Channel>
<Computer>FC-004</Computer>
<Security>
</System>
<EventData>
<Data>Viewpoint_v1.6.exe</Data>
<Data>1.0.0.0</Data>
<Data>4f1958ad</Data>
<Data>unknown</Data>
<Data>0.0.0.0</Data>
<Data>00000000</Data>
<Data>c0000005</Data>
<Data>00000000</Data>
<Data>bf0</Data>
<Data>01cce4e27e02a6b3</Data>
<Data>C:\Users\helpdesk\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Viewpoint_v1.6.exe</Data>
<Data>unknown</Data>
<Data>ca2fee39-50d5-11e1-996c-80ee731eaa20</Data>
</EventData>
</Event>
And finally, the last few lines of log output from Macro Scheduler before the crash is:
Code: Select all
2/6/2012 10:18:13:538 - START: // Begin
2/6/2012 10:18:13:539 - END: // Begin
2/6/2012 10:18:13:540 - START: Repeat>i
2/6/2012 10:18:13:543 - END: Repeat>i
2/6/2012 10:18:13:544 - START: Let>i=i+1
2/6/2012 10:18:13:545 - END: Let>i=i+1
2/6/2012 10:18:13:545 - START: MouseMove>1920,1080
2/6/2012 10:18:13:549 - END: MouseMove>1920,1080
2/6/2012 10:18:13:549 - START: SetFocus>.+Windows Internet Explorer$
2/6/2012 10:18:14:470 - END: SetFocus>.+Windows Internet Explorer$
2/6/2012 10:18:14:476 - START:
2/6/2012 10:18:14:477 - END:
2/6/2012 10:18:14:478 - START: // Detect if the Viewpoint Application fails to load
2/6/2012 10:18:14:479 - END: // Detect if the Viewpoint Application fails to load
2/6/2012 10:18:14:485 - START:
2/6/2012 10:18:14:486 - END:
2/6/2012 10:18:14:487 - START: Let>WST_TIMEOUT=1
2/6/2012 10:18:14:490 - END: Let>WST_TIMEOUT=1
2/6/2012 10:18:14:492 - START: GetTextInit
It would appear that anywhere in my code, if I place GetTextInit I experience the same crash; Even if it's the only line present in my code, as I attempted to comment everything else out to test.
Any help would be greatly appreciated
thanks
Adam
[/code]