Wireless Communication Library Support Forum

Common => Common => Topic started by: novice on February 18, 2008, 05:47:21 AM

Title: Bluetooth Framework on Windows Service
Post by: novice on February 18, 2008, 05:47:21 AM
Good Day

Hi

Is it posible to use Bluetooth Framework on Windows Service
 i try to use it in windows service but when i add my declaration
for bluetooth discovery it wont continue anymore.

if Yes how?

Thanks

i create a class that use Bluetooth Framework named "clsBluetooth"
when i call "clsBluetooth" with the declaration for discovery it wont work




i am using Bluetooth framework 5.2 C#

declaration for clsBluetooth with bluetooth discovery:

namespace Bluetooth
{
    public class clsBluetooth
    {
        public static BluetoothFrameworkX.BFBluetoothDevicesX btDevices = null;
        public static BluetoothFrameworkX.BFBluetoothRadiosX btRadios = null;     
        public static BluetoothFrameworkX.BFBluetoothDiscoveryX discovery = new BluetoothFrameworkX.BFBluetoothDiscoveryX();
    }
}


declaration for clsBluetooth with  out bluetooth discovery:

namespace Bluetooth
{
    public class clsBluetooth
    {
        public static BluetoothFrameworkX.BFBluetoothDevicesX btDevices = null;
        public static BluetoothFrameworkX.BFBluetoothRadiosX btRadios = null;     
    }
}

Title: Re: Bluetooth Framework on Windows Service
Post by: Mike Petrichenko on February 18, 2008, 11:24:49 AM
Good day!

VCL version cen be used in Service application.
Title: Re: Bluetooth Framework on Windows Service
Post by: novice on February 18, 2008, 11:37:32 AM
Good Day

Thanks for the reply

 i am using Bluetooth Framework Active X is this applicable?
 is Bluetooth Framework Active X and Bluetooth Framework VCL are  the same?


Thanks
Title: Re: Bluetooth Framework on Windows Service
Post by: Mike Petrichenko on February 18, 2008, 11:39:43 AM
No, BTF ActiveX and BTF VCL is not the same.
Title: Re: Bluetooth Framework on Windows Service
Post by: novice on February 18, 2008, 11:48:12 AM
Good Day

Thanks for the reply

Title: Re: Bluetooth Framework on Windows Service
Post by: novice on February 19, 2008, 09:27:37 AM
Good Day

Hi,

i found a way so that i can use your Bluetooth Framework Active X in Windows Service,
And it works fine, The only thing is that there is a pop up screen every time i start the service
If we purchase Bluetooth Framework does the Pop up Screen will be remove or not, if not is there a that we can remove the pop up screen if we use it in Windows Service.  :)

PS.
I hope you don't mind my question. :)
Sorry for wrong Grammar and spelling.


Thanks
Title: Re: Bluetooth Framework on Windows Service
Post by: Mike Petrichenko on February 19, 2008, 11:16:36 AM
Good day!

Yes. The registered version does not have the nag-screen.