Solved

Problem with X10 interface

Posted on 2004-08-21
10
750 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

615 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