Page 1 of 1

Automation Tutorial

PostPosted: Mon Dec 06, 2010 7:08 pm
by SpiritualMadMan
After Recording the PhantomTarget.exe Window to Create PhantonTarget.dec and attempting to run the Tutorial Code I get an

INTERNAL ERROR 1936 in PhantomBase.cpp

This is line 9 of the sample code...

Any hints?

Re: Automation Tutorial

PostPosted: Tue Dec 07, 2010 6:04 pm
by SpiritualMadMan
OK, got some help from "Support". It appears that there is a "Bug" when PTD calls WinDR. To avoid this"Bug" call WinDR directly to create your own .DEC files.

Further, because the download of the original files was blocked. I copied and pasted the Automation Test Sample into Notepad and was trying to Create my own .DEC file to go with it.

Two problems arose because of that.

First, the Window ID in my DEC File was "Phantom" and the Window ID in theoriginal Script was Phantom_Test.

The second problem was that WinDR didn't know I needed the .dec to include the Combo Box. Even though I had it Up on the Display.

To "fix" this problem required creating the .DEC for the main form then checking the "Append" checkbox on the WinDR and then Adding the Combo Box Form as well.

Man I hate being this low on the learning curve! :)