My initial issue was related to trying to get trying to get a sample from the downloaded zip file to actually work after converting them to VS2010.
So this is now an entiry new matter
Now after copying the Broadcomm/Widcomm DLL's from the Broadcomm directory into the project directory I was able to get the SDP Desktop browser to run.
Now I've copied a console app and am now trying to read & write to console data but the code I've posted crashes at drive.update.
As another issue I will be needing to communicate with the scanner with the Opticon .net DLL which works on a comport numbers.
Now as an aside I have just read another posting - http://32feet.codeplex.com/discussions/341045 and have had a look in my registry and see this....
\Device\BtPort0 REG_SZ COM13
\Device\BtPort1 REG_SZ COM15
So I'm wanting to know now if i search the registry for the text could i pull out the com ports that I could try and make connection on?
I will ultimately be making the connections via the scanner (making it the master) and my app would be running a continuous loop.
what I'm thinking of is something similar to what I do with the USB scanner version and that is...
every 45 seconds I scan all com ports, Loop round looking for the word Opticon, If it's found I then drop to the code to enable me to download the stored barcodes, saving that data to text a file.
So what I'd do is to access the registry, looking for the \Device\BtPort text and then trying those ports to see if i get a connection with the Opticon code I have.
But would like you're input on this. It is my belief that their would be only ONE scanner linked to the PC at any given time but how would my approach work if their was suddenly two or three attached at the same time?
appreciate you're thoughts on this. also on the matter of the Opticon code needing a port address eg com3 so it can communicate with the scanner.