Solved

Problem with X10 interface

Posted on 2004-08-21
10
749 Views
Last Modified: 2008-01-09
Hello, i am trying to make my x10 remote control work on my pc.

Problem is i have this file "x10net.dll" and its just to import it as a type libarary, and it install fine.

But when i try to use "X10Control" from the Activex page i get error "Cannot assign a nil to a TX10Control"

So if i look in the interface for this file, it says:

// Errors:
//   Hint: Member 'Interface' of 'IX10Control' changed to 'Interface_'
//   Hint: Member 'Label' of 'IXCommand' changed to 'Label_'
//   Hint: Member 'Label' of 'IXDevice' changed to 'Label_'

So its because it uses some of delphis indentifying names i guess, but what can i do about this?

2 files for testing can be downloaded here (tlb file and dll):
http://www.asdev.dk/files/other/stuff/x10net.zip


Hope someone can help me, cause if i import the file in vb there is no problem at all...

Regards
    Dennis
0
Comment
Question by:Dennis9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
10 Comments
 
LVL 1

Author Comment

by:Dennis9
ID: 11865782
More points for a solution...
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 11866583
Project / Import Type Library / Add
point to the NvRemote.tlb file and choose INSTALL

the installed classes are:
TNvRemoteManager
TNvRemoteRemoteProps
TNvRemoteApplicationProps
TNvRemoteGeneralProps

make sure x10net.dll is in the search path, but better copy it to %WINDOWS%\system32 folder. Then :
"regsvr32 x10net.dll" to register the DLL

and then try again.
0
 
LVL 1

Author Comment

by:Dennis9
ID: 11874117
no problem installing the NvRemote.tlb, but cant use thoose components to anything.

I need to get the TX10Control that exists in the dll file.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Expert Comment

by:Ivanov_G
ID: 11878401
TX10Control ???

I didn't saw component like this.
0
 
LVL 1

Author Comment

by:Dennis9
ID: 11887510
Try import Type Lib and add file "x10net.dll" It has 2 components.
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 11887740
OK, I installed them. On ActiveX table I have the 2 components. And I can change the AutoConnect property, etc. It seems it is working, so man, I don't know how I can help you...

(using Delphi 7)
0
 
LVL 1

Author Comment

by:Dennis9
ID: 13344179
I managed to get it to work using the EventSink application.
0
 

Accepted Solution

by:
PAQ_Man earned 0 total points
ID: 15015565
PAQed with points refunded (500)

PAQ_Man
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question