Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Problem with X10 interface

Posted on 2004-08-21
10
Medium Priority
?
751 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
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!

 
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

704 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