Welcome Guest. Please Login or Register. Apr 6th, 2018, 12:06am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
If you require a dump of the post on your message board, please come to the support board and request it.
Can you provide an example program, because whenevre I do it, it seems to fail...
I can't see anything particularly difficult that might be causing your problem; it appears to be a straightforward API to use. Do make sure you adhere to the MSDN documentation in every detail.
The only pitfall I can see which might possibly trip you up is that the Spare1[4] in the SYSTEM_BATTERY_STATE structure must be converted to Spare1%(3) in BBC BASIC, because the suffix is the maximum value of the subscript not the number of elements.
If you're still having problems, post the code which is failing.