| Author | 
         | 
         
      
        
         
         BrianCanada Newbie 
          
 
  Joined: June 11 2014 Location: Canada
 Online Status: Offline Posts: 6
          | 
        
         
          
           | Posted: June 19 2014 at 11:24 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I have been using PH for 10-15 years and it has always 
 been 
 reliable.  Now I had to upgrade to Win7 and my UIRT will 
 not work in PH.  It is installed and functions in a 
 program called IRcommand2 fine.  I get this error in PH.  
 "Cannot find the phuirt.dll control.  Please install and 
 register this control.  Commands will not be transmitted. 
 " I also get this error when starting PH. "Error loading 
 library.  Please check whether PowerBuilder Acessibility 
 library can be located in the path." My x10 stuff works 
 fine, but no IR.  Anyone run into this problem with Win7.  
 I have installed into C:\Powerhome 2.1b Version: 
  
 NOT CONNECTED.  ID: IRR.  USB-UIRT IR Controller.
 ID: X10-1.  CM11A X10 Controller.
 ID: X10WIRELESS.  CM17A X10 Transmitter
 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         nadler Super User 
          
 
  Joined: February 25 2006 Location: United States
 Online Status: Offline Posts: 354
          | 
        
         
          
           | Posted: June 19 2014 at 11:50 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
I've used USB-UIRT with both Win7 and Win8.  I believe I 
 needed an updated driver which was available from the USB-
 UIRT site. If you're already using the latest driver (which 
 is still years old as I recall) try uninstall and then re-
 installing the driver.
 
 Noel
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         BrianCanada Newbie 
          
 
  Joined: June 11 2014 Location: Canada
 Online Status: Offline Posts: 6
          | 
        
         
          
           | Posted: June 19 2014 at 12:08 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Thanks for your reply.  I have the latest driver and I have
 installed removed and re-installed.  I don't think it is 
 the driver because it works in the other program fine.  To 
 me the ph in the phuirt.dll tells me it's something in PH.
 I am grasping at straws.  The program has worked so well
 over the years, you tend not to know alot of the inner 
 workings.  Should there be a file phuirt.dll somewhere on 
 my drive.  If there should be, where should it be if it is 
 missing and how do I get it.  Thanks for any help.
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         nadler Super User 
          
 
  Joined: February 25 2006 Location: United States
 Online Status: Offline Posts: 354
          | 
        
         
          
           | Posted: June 19 2014 at 12:12 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
There is a phuirt.dll in the Powerhome directory.  I 
 believe it was part of the PH install but other would know 
 if this is correct.
 
 Noel
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         BrianCanada Newbie 
          
 
  Joined: June 11 2014 Location: Canada
 Online Status: Offline Posts: 6
          | 
        
         
          
           | Posted: June 19 2014 at 12:27 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
It is in the PH directory date stamp June 2007. So I think 
 maybe it is pointing to the wrong directory.  I originally 
 let the install put it in the Program directory.  When I 
 started to have problems, I checked the forum and someone 
 said to install it in the root directory of C: so I 
 uninstalled and reinstalled but still a problem.  darn 
 Windows anyway.  Thanks.
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         dhoward Admin Group 
          
  
  Joined: June 29 2001 Location: United States
 Online Status: Offline Posts: 4447
          | 
        
         
          
           | Posted: June 19 2014 at 17:50 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Brian,
 
 You need to run this command to register your phuirt.dll:
 
 regsvr32 c:\powerhome\phuirt.dll
 
 This command must be run as an administrator and you should get a popup window that the DLL server was successfully registered.
 
 To fix your accessibility error message, see the 6th post of this thread  http://power-home.com/forum/forum_posts.asp?TID=2669&KW=acce ssibility
 
 Hope this helps,
 
 Dave.
 
         | 
       
       
        | Back to Top | 
         
          
          
         | 
       
       
       
        |   | 
      
        
         
         BrianCanada Newbie 
          
 
  Joined: June 11 2014 Location: Canada
 Online Status: Offline Posts: 6
          | 
        
         
          
           | Posted: June 19 2014 at 18:41 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Thanks Dave, I knew you would have some ideas.  The second 
 part of your answer fixed the error on the look for the 
 database but the phuirt.dll is already registered and when 
 I try to register it again I get this error.The module 
 "c:\powerhome\phuirt.dll" was loaded but the call to 
 DIIRegisterServer failed with error code 0x80020009
 
 Thanks again for your help.
 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         dhoward Admin Group 
          
  
  Joined: June 29 2001 Location: United States
 Online Status: Offline Posts: 4447
          | 
        
         
          
           | Posted: June 19 2014 at 23:04 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Brian,
 
 The message you're getting on the phuirt.dll is typically caused by not running the regsvr32 command as an administrator (on Windows 7 and up its not just enough to be logged in as a user with administrative privileges).
 
 What I like to do is right click the command prompt icon and choose run as administrator. From the command prompt, I'll change to the PowerHome directory with cd\powerhome. From there, I'll run the regsvr32 command detailed in my other post.
 
 Give that a try and see where that gets us.
 
 Dave.
 
         | 
       
       
        | Back to Top | 
         
          
          
         | 
       
       
       
        |   | 
      
        
         
         BrianCanada Newbie 
          
 
  Joined: June 11 2014 Location: Canada
 Online Status: Offline Posts: 6
          | 
        
         
          
           | Posted: June 25 2014 at 10:11 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Finally got another chance to work on the system and got 
 everything going finally.  Yes, running the command as
 administrator did the trick.  I did a completely new win7 
 install, powerhome, usb-uirt, x10 cm17 and the error for
 the uirt still came up.  Ran the regsvr52 and it fixed it 
 on the clean install.  Went back to my real machine and did 
 the same thing and it fixed it too.  Thanks very much for 
 your help Dave.  I sure did not want to loose this program 
 after all these years because of MS.
 Brian.
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |