Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAX_INT and accChild
Message
From
30/10/2008 13:45:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
MAX_INT and accChild
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01358425
Message ID:
01358425
Views:
57
I still try to make Test Harness (aatest, based on MSAA) to work. The (first) problem is in the form aatest.scx, in the method recordbegin, with the line
This.oVFP = oAccVFP.accchild(int(2^31-1))
TYPE('This.oVFP.Name ') should succeed with a VFP app, but it always fails.

I have tried to find the reason why int(2^31-1) is used. This is the maximum value for a 32-bit integer, also referred to as MAX_INT. However, in all the documentation of MSAA there is not a single line that suggests the usage of that value.

Who's got a clue?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Reply
Map
View

Click here to load this message in the networking platform