Please login or register.

Login with username, password and session length

Author Topic: Can't make app work on other PC without installing SDK  (Read 6577 times)

RichardUK

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 24
    • Whzan
Can't make app work on other PC without installing SDK
« on: July 05, 2010, 11:11:55 AM »

If I install my app on another PC it fails to load the driver, even if I put the ahscript.dll with the app. If I install AHP it still fails although AHP works. As soon as I install the sdk my program starts to work. Any ideas? :)

Thanks,
Richard e Collins.
Logged
Richard e Colins.
www.whzan.com

RichardUK

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 24
    • Whzan
Re: Can't make app work on other PC without installing SDK
« Reply #1 on: July 06, 2010, 04:53:16 AM »


What do I need to do to allow my program to run when installed on another PC without telling the user to download and install the AH SDK?

Logged
Richard e Colins.
www.whzan.com

dbemowsk

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 428
    • PHP Web Scripting
Re: Can't make app work on other PC without installing SDK
« Reply #2 on: July 06, 2010, 07:17:05 AM »

You may need to register the DLL with windows.  try going to start>run and enter regsvr32 ahscript.dll
Logged
Dan Bemowski
Owner of PHP Web Scripting LLC
Programmer of RemoteWatch X10
User of any X10 products I can get my hands on.

RichardUK

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 24
    • Whzan
Re: Can't make app work on other PC without installing SDK
« Reply #3 on: July 07, 2010, 04:09:38 AM »

As your status says, you are a hero member. :) That seems to have worked ok. I will need to add the line to my installer and test it on a fresh windows install but looking good. :)
Logged
Richard e Colins.
www.whzan.com
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.