USB-UIRT Forum Forum Index USB-UIRT Forum
Plug-n-Play IR Solution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What about VB5 Enterprize?

 
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Developers
View previous topic :: View next topic  
Author Message
TAUSTIN007
Guest





PostPosted: Tue May 23, 2006 3:21 am    Post subject: What about VB5 Enterprize? Reply with quote

I'm using driver version 1.4 and all the compiled example programs work fine. When I try to load the source, in trydrv.vbp, VB5 an error pops up, "RETAINED not a valid key." So trying to work around it, I loaded all the *.frm and *.bas files into another project and the program will execute, but any time a remote is pointed and a button is pushed, the program halts at the 'RECEIVE callback function' then VB5 dies.

>>Public Sub IRReceiveCallback(ByVal IRCode As Long, ByVal userData As Long)
Call PostMessageA(gHiddenWindow, WM_GOT_RECEIVE, 0, IRCode)
End Sub

Do I need a different *.BAS or *.DLL to work with VB5? Once I can get this sample to work I can start my project.

Thanks.


Thanks.
Back to top
jrhees
Site Admin


Joined: 28 Jan 2003
Posts: 1652

PostPosted: Mon May 29, 2006 12:20 pm    Post subject: Reply with quote

The PostMessageA function is in a type library 'win.tlb' included with the project. This tlb will need to be added to your project.

-Jon
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group