Contact us

All times are UTC - 8 hours

   [ 3 posts ] 
Author Message

Joined: Thu Aug 03, 2017 2:43 am
Posts: 12

we try to use the custom caps negociation. However, we always get false return of func CapSet(), while the value of CapGet() is everythiong OK.

the code is like the following:

DWObject.Capability = 0x803F;
var numofitems = DWObject.CapNumItems
var item = DWObject.GetCapItems(1)
var currentIndex = DWObject.CapCurrentIndex
alert('The num of the enumeration is ' + numofitems);
alert('The value of index 1 of the capability is ' + item);
alert('The current index of the capability is ' + currentIndex);
DWObject.CapCurrentIndex = 0;
var returnCode = DWObject.CapSet()
if (returnCode)
alert("Source doesn't support this capability");

Last edited by erikguo on Thu Aug 31, 2017 11:27 pm, edited 1 time in total.


Joined: Thu Aug 03, 2017 2:43 am
Posts: 12
I also use the online demo in dynamsoft. It got a error msg: Data parameter out of supported range.

This 0x803F cap is enumeration type, with 2 items (0 , 1)

User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1706
Please check the reply on this page.

Dynamsoft Support Team
Follow us@Twitter, Facebook

Display posts from previous:  Sort by  
   [ 3 posts ] 

Who is online

Users browsing this forum: ZikromLop and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Copyright © 2018 Dynamsoft | All Rights Reserved
dynamic designed by Dynamsoft team
Fatal: Not able to open ./cache/data_global.php