Macro keeps crashing while compiled

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
psiquetp
Junior Coder
Posts: 25
Joined: Tue Jul 17, 2018 7:56 pm

Macro keeps crashing while compiled

Post by psiquetp » Sat Jul 28, 2018 6:09 am

My Macro keeps crashing while working as an EXE... it is executing just fine in the scheduler.


https://imgur.com/a/jHJtowB

Problem signature:
Problem Event Name: APPCRASH
Application Name: PapMacro.exe
Application Version: 1.0.0.0
Application Timestamp: 5ac63463
Fault Module Name: StackHash_f03e
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: f03e
Additional Information 2: f03e8675e3dbed7117ce349cc8504d53
Additional Information 3: f518
Additional Information 4: f518be51135b8429d06218c52832a43c

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

psiquetp
Junior Coder
Posts: 25
Joined: Tue Jul 17, 2018 7:56 pm

Re: Macro keeps crashing while compiled

Post by psiquetp » Sat Jul 28, 2018 6:45 am

The other macro I built is crashing as well

I'm thinking it might be related to this call

Code: Select all

//Init text recognition
GetTextInit
  
Problem signature:
Problem Event Name: APPCRASH
Application Name: VpnMacro.exe
Application Version: 1.0.0.0
Application Timestamp: 5ac63463
Fault Module Name: StackHash_afc1
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 00000000
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: afc1
Additional Information 2: afc1ed956643d52ddd7357118525ccb5
Additional Information 3: 38d3
Additional Information 4: 38d342b86e814d56084e5ddadf543589

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Macro keeps crashing while compiled

Post by Marcus Tettmar » Sat Jul 28, 2018 4:34 pm

Have you included the text capture DLLs with the .exe? The compiler should copy them over for you.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

psiquetp
Junior Coder
Posts: 25
Joined: Tue Jul 17, 2018 7:56 pm

Re: Macro keeps crashing while compiled

Post by psiquetp » Sat Jul 28, 2018 6:17 pm

Yep... that was kind of the problem...

//------------------ Libs --------------------
Include>%VARIABLE%\ComputerVisionLib.scp

The macro included the lib but did not generated the dlls. Maybe a warning while compiling variables in includes is in order.

Thank you!

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts