.NET Components for Mobility

Problems with in the hand with widcomm

Last post 06-24-2009 9:09 AM by hessuhessu. 9 replies.
Page 1 of 1 (10 items)
Sort Posts: Previous Next
  • 06-18-2009 3:52 AM

    Problems with in the hand with widcomm

    I am trying to implement a program for bluetooth communication but i cant get inthehand.net.personel library to work.. I have the reference on it in my project but when i try to communicate with the BT device i have funny error.. it seems thaht the inthehand library is un able to find the 32feetWidcomm.dll even tough i have ti in the smae folder as the app exe and inthehand.net.personel.dll. error message can be seen form this picture: http://www.students.tut.fi/~turunenh/omat/errorpicture.bmp is there something i can do..

  • 06-18-2009 6:26 AM In reply to

    Re: Problems with in the hand with widcomm

    That probably means that you need to install the Microsoft’s “version 8” runtime libraries.  See "32feet and Widcomm-Broadcom.doc" for more info.  As suggested there "To check if any dependencies are missing load the 32feetWidcomm.dll into the depends.exe utility".  Or just install that library from Microsoft and see if that solves it. :-)
    Alan J. McFarlane
    http://www.alanjmcf.me.uk/
    Please follow-up in the newsgroup for the benefit of all.
    Have I helped? Consider visiting my Amazon wishlist, see my homepage.
  • 06-22-2009 3:00 AM In reply to

    Re: Problems with in the hand with widcomm

     hello.

    same problem is still on.. i have visual studio 2008 ont his computer so i had version 9 runtime librarie. I am missing  MSVCR80D.DLL and BTWAPI.DLL.. so i am trying to install those MS version 8 runtime libraries.. but i have no luck in this. still not working.

     

  • 06-22-2009 8:31 AM In reply to

    Re: Problems with in the hand with widcomm

    If you haven't got the btwapi.dll I can email you it.

    If you're using the 32feetWidcomm.dll from codeplex then that's the Debug version and you need some other MS CRT libraries -- the debug equivalents.  You could use the 32feetWidcomm.dll contained in the release (http://32feet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28849) it's a release build.

    Alan J. McFarlane
    http://www.alanjmcf.me.uk/
    Please follow-up in the newsgroup for the benefit of all.
    Have I helped? Consider visiting my Amazon wishlist, see my homepage.
  • 06-23-2009 2:38 AM In reply to

    Re: Problems with in the hand with widcomm

    thanks for the help so far. do you hapen to konow what this DWMAPI.dll is. that is the last file thaht i am missing... i found all the others..   and thansk again for the help!

  • 06-23-2009 3:56 AM In reply to

    Re: Problems with in the hand with widcomm

     seems lika everytime i get something done.. i find some other problem.. now this clames that there is IESHIMS.dll and WER.dll missing..do you happen to know what they areor is there something i can do..

  • 06-23-2009 9:47 AM In reply to

    Re: Problems with in the hand with widcomm

    Yikes I didn't have all this problems!  What platform are you running on?  XP or Vista?  I haven't tested on Vista.

    Are you using dependency walker to know these missing DLLs, can you show me a screenshot of it.  I suspect these DLLs are not actually necessary -- likely they're not statically linked but instead delay-loaded, see e.g. http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/6bb7dcaf-6385-4d24-b2c3-ce7e3547e68b  DWMAPI.dll is a Vista-only DLL, did you copy it to XP?  it is delay-loaded and is not loaded unless the code find that the platform is Vista.  So it should not be needed/used on XP.

     I am not at my PC at the moment so maybe you can try this.  Create a very simple console application with VC++.  Have it link to 32feetWidcomm.dll.  Run it and see if it reports any dependency errors... :-,)

    Alan J. McFarlane
    http://www.alanjmcf.me.uk/
    Please follow-up in the newsgroup for the benefit of all.
    Have I helped? Consider visiting my Amazon wishlist, see my homepage.
  • 06-24-2009 2:12 AM In reply to

    Re: Problems with in the hand with widcomm

     ok i am running XP SP3. here is the problem, the missing dll files..http://www.students.tut.fi/~turunenh/omat/dependencywalker.bm. do you happen to have eny like simple examplse for using this library..  i am just beginner in these things. and also the samples you have for download doesn't seem to work eather.. thanks again for your help!. one question should the 2.3 build work in boath widcomm stack and the ms stack? sorry about my bad english..

  • 06-24-2009 3:57 AM In reply to

    Re: Problems with in the hand with widcomm

    i don't know what i am doing wrong here is my code so far but the device doesn't seem to connect .. it just waits and waits and then trouws an exception.. do i have to do something before i can connect.. or what? i am using widcomm stack.. an everything else is runnig right.. except what i sayd above :)

                    BluetoothRadio[ radios =  BluetoothRadio.AllRadios;
                    BluetoothRadio BTRADIO = BluetoothRadio.PrimaryRadio;
                    string adress = BTRADIO.LocalAddress.ToString();
                    
                    string name = BTRADIO.Name;
                
                    
                    
                    if (BTRADIO.Mode == RadioMode.PowerOff)
                        BTRADIO.Mode = RadioMode.Connectable;

                    
                    BluetoothClient test = new BluetoothClient();
                    BluetoothDeviceInfo[ devices = test.DiscoverDevices();
                    
                    BluetoothListener BTLISTNER;
                    
                    
                     //Console.WriteLine("There were " + arr.Length + " devices found:");
                    
                    if (BTRADIO.Mode == RadioMode.PowerOff)
                        BTRADIO.Mode = RadioMode.Connectable;
                   
                    
                    WriteToTextBox1( "There were " + devices.Length + " devices found:" + '\t' );
                    WriteToTextBox1("\t" + "tässä");
                    int port = 1;
                    foreach (BluetoothDeviceInfo b in devices)
                    {
                    
                    
                        WriteToTextBox1("");
                        WriteToTextBox1(("").PadRight(24, '-'));
                        WriteToTextBox1("\t" + b.DeviceName);
                        WriteToTextBox1("\t" + b.ClassOfDevice);
                        WriteToTextBox1("\t" + b.Connected);
                        WriteToTextBox1("\t" + b.DeviceAddress);
                  
                        //WriteToTextBox1("\t" + b.InstalledServices);
                        WriteToTextBox1("\t" + b.LastSeen);
                        WriteToTextBox1("\t" + b.LastUsed);
                        WriteToTextBox1("\t" + b.Remembered);
                        WriteToTextBox1(("").PadRight(24, '-'));

                    BluetoothAddress ADDRESS = b.DeviceAddress;
                    WriteToTextBox1("\t" + ADDRESS.Sap );
                    WriteToTextBox1("\t" + ADDRESS.Nap );


                    if ( b.DeviceName == "RemoteDevice" )
                    {
                        
                        BluetoothEndPoint ep = new BluetoothEndPoint( ADDRESS, BluetoothService.SerialPort );
             
                
                        if (test.Connected)
                        {

                            test.Close();

                        }

                        //Try to connect
                        try
                        {
                            
                            test.Connect( ep);    //this doesnt work.. it doesnet connect and gives exception thaht widcomm doesn't support sockets..
                        }
                        catch (Exception)
                        {
                            WriteToTextBox1("ERROR in openig connection");//setLabel("No connect() possible: " + e);

                        }

     

  • 06-24-2009 9:09 AM In reply to

    Re: Problems with in the hand with widcomm

     is it possible to make application thaht connects Bluetooth machines to PCs comports with dongle that has widcomm stack and wiht help of in hte hand libraries..? 

Page 1 of 1 (10 items)
Copyright © 2001-2010 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.