Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: xnio on January 05, 2010, 10:48:13 PM
-
Hi friends, i am evaluated the Wireless Communication Library .NET Edition , i did a console aplication but when I called the following function:
wclBluetoothDiscovery.Discovery(Radio);
nothing happends, the events "wclBluetoothDiscovery_OnDiscoveryStarted" and "wclBluetoothDiscovery_OnDiscoveryStarted" didn't fire, how can i fires the events.
the same happend when i tried the execute the following:
wclClient.Connect();
please your help,
regards
Ricardo T.
-
Hi
Please, post your example code how you do it.
-
Hello from Russia!
If i call method from winFromsApplication thread it's OK, but if Iicall method from other thread or thread of console application i have this problem. Please, help me!!!
Anton Zvonov.
-
Hi,
WCL .NET includes demo (OPPThread) shows how to use it in threads. However, you have to be sure that any class is used in the same thread where it was created (otherwise you may have synchronization issue). Also here (on this forum) should be a sample shows how to use WCL in conole app.
-
BTW, take a look on service demo - it is very close to console app.