HALi HALi is an Actixe X interface that allow more advanced programming with HAL. Search this forum on how to create HALi Apps as well as find apps that others have already created.

Reply
 
Thread Tools Display Modes
Old 06-30-2008, 09:13 AM   #1
AndrewM
Member
 
Join Date: Dec 2006
Location: St Petersburg, FL
Posts: 88
Default Getting HALi for 4.0

Is there any chance of getting an advance copy of the HALi control prior to 4.0's release? I've had my audio zoning plugin on hold for over a year waiting for a few things that 4.0 is supposed to take care of (such as notification prior to HAL speaking) and would really like to get it finished up.
__________________
blog: www.iamwhen.com
AndrewM is offline   Reply With Quote
Old 06-30-2008, 02:59 PM   #2
Duckjones
Advanced Member II
 
Duckjones's Avatar
 
Join Date: May 2008
Location: Bay Area, California
Posts: 257
Default Re: Getting HALi for 4.0

Seems like it would be problematic to be creating HALi 4.0 applications without an actual HALCOM 4.0 to hook up to.

But what bout the HALi 4.0 documentation? We could at least start spec'ing our future enhancements to our HALi apps.
Duckjones is offline   Reply With Quote
Old 06-30-2008, 04:28 PM   #3
JimMcGowanInlet
Super Moderator
 
JimMcGowanInlet's Avatar
 
Join Date: Jul 2003
Location: NJ
Posts: 3,050
Default Re: Getting HALi for 4.0

4.0 HALi requires both the 4.0 HALCOM and 4.0 Server. Which inturn requires alot of other newer versions of other parts. So as you can guess the 4.0 HALi will not work without the complete 4.0 package.

Send me a PM with your email address and I'll send you the Beta 4.0 HALi Doc.
__________________
DISCLAIMER: Use my advice at your own risk. If you are not familiar with how to safely accomplish a task HIRE A PROFESSIONAL. Improper use/installation can cause damage to equipment, fire, electrical problems and in some cases death.
JimMcGowanInlet is offline   Reply With Quote
Old 07-01-2008, 08:15 AM   #4
AndrewM
Member
 
Join Date: Dec 2006
Location: St Petersburg, FL
Posts: 88
Default Re: Getting HALi for 4.0

Repost from Forum glitch
__________________
blog: www.iamwhen.com

Last edited by AndrewM; 07-03-2008 at 12:08 PM. Reason: Forum glitch
AndrewM is offline   Reply With Quote
Old 07-01-2008, 08:16 AM   #5
AndrewM
Member
 
Join Date: Dec 2006
Location: St Petersburg, FL
Posts: 88
Default Re: Getting HALi for 4.0

Repost from Forum glitch
__________________
blog: www.iamwhen.com

Last edited by AndrewM; 07-03-2008 at 12:08 PM. Reason: Repost from Forum glitch
AndrewM is offline   Reply With Quote
Old 07-01-2008, 08:19 AM   #6
AndrewM
Member
 
Join Date: Dec 2006
Location: St Petersburg, FL
Posts: 88
Default Re: Getting HALi for 4.0

Repost from Forum glitch
__________________
blog: www.iamwhen.com

Last edited by AndrewM; 07-03-2008 at 12:08 PM. Reason: Repost from Forum glitch
AndrewM is offline   Reply With Quote
Old 07-01-2008, 08:27 AM   #7
AndrewM
Member
 
Join Date: Dec 2006
Location: St Petersburg, FL
Posts: 88
Default Re: Getting HALi for 4.0

Private messaging seems to be on the fritz (db error). My email address is:

alpha mike alpha xray india mike AT t a m p a b a y DOT r r DOT c o m

The doc will be a big help, although I was hoping to just be able to add events through visual studio integration with the HALi ActiveX control instead of having to type everything out. But I will survive.
__________________
blog: www.iamwhen.com
AndrewM is offline   Reply With Quote
Old 07-03-2008, 12:10 PM   #8
AndrewM
Member
 
Join Date: Dec 2006
Location: St Petersburg, FL
Posts: 88
Default Re: Getting HALi for 4.0

Holy multiple posts batman. I guess all those failed attempts during the "Great Forum Issue of 2008" went through after the fact. Wowzer.
__________________
blog: www.iamwhen.com
AndrewM is offline   Reply With Quote
Old 07-04-2008, 06:39 AM   #9
VincentB
Advanced Senior Member
 
VincentB's Avatar
 
Join Date: Jul 2003
Location: Goldcoast, Australia
Posts: 1,208
Default Re: Getting HALi for 4.0

Andrew,

You said you use Visual Studio, and HALi from v3 of HAL. Out of curiosity - Visual C++ or Visual Basic?

Reason I ask is because I've used HALi since it was first released (which was when Visual Studio 6 used to be the latest IDE), and to retrieve all of the HALi events, i simply created a new project, added the HALi OCX, then went to Class Wizard and the IDE automatically generated an OCX event-wrapper cpp file, that provided all of the HALi events.

Well as you may know, the Class Wizard feature was dropped by Microsoft when Visual Studio .NET was released. Now even with VS2005, there seems to be no way to auto-generate a cpp wrapper that exposes all of an ActiveX control's events.

Every time a new HALi version is released, I load up a virtual image of Windows with Visual Studio 6 installed, and use the old Class Wizard to re-generate the wrapper CPP. Then I copy the cpp & header files to my normal development PC, and overwrite the old files in my HALi project. Very cumbersome.

I'm wondering how you retrieved all the HALi events in Visual Studio? Are you using v6, 2003 or 2005? And is it VB or VC++ ?
__________________
Regards,
Vincent B

Check out my ultimate HAL plugin - MyServant v6.0
www.futuretouch.com.au/MyServant.asp
VincentB is offline   Reply With Quote
Old 07-04-2008, 09:54 AM   #10
AndrewM
Member
 
Join Date: Dec 2006
Location: St Petersburg, FL
Posts: 88
Default Re: Getting HALi for 4.0

I'm using Visual Studio .NET 2003 with C++. I'm on a new machine since I last worked on my HALi app (over a year ago) and do not have the HALi ActiveX components loaded on this machine so I can't reproduce what I do to get the events (waiting for V4 HALi to load on this machine). I'm hesistant to load the HALi V3 stuff on my computer because I don't want to muck things up for when I get my hands on V4.

All I think I had to do what right click on the ActiveX control and add an event, then select the HALi event from the drop down. These all came up as ON_REGISTERED_MESSAGE events or message map functions.
__________________
blog: www.iamwhen.com
AndrewM is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -6. The time now is 12:51 AM.



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2001-2010 Home Automated Living. All Rights Reserved.