Solved

Problem with X10 interface

Posted on 2004-08-21
10
741 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
  • 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
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 11878401
TX10Control ???

I didn't saw component like this.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now