PDA

View Full Version : How to use redrat3 with NRIRServ



skazog
June 7th, 2004, 07:21 AM
Hello,
I want to use my redrat3 with NRIRServ but in the IR devide menu I can only select RedRat2 or SlinkE

What can I do?

skazog
June 7th, 2004, 07:55 AM
I found redrat3.dll
when I put it in the same directory than NRIRServ
and when I lauch NRIRServ, I can see:

Error 0x80040154 creating RRLookup
and
Error getting RedRat3

awilcock
June 11th, 2004, 08:32 PM
I have the exact same problem, I found an older thread (http://www.netremote.org/phpBB2/viewtopic.php?t=656) which mentions this error message also, but the OP unfortunatley doesn't remember the solution :(.

wilkscm
June 13th, 2004, 04:11 PM
i have exactly the same error message and nobody seems to help

Ben S
June 13th, 2004, 04:50 PM
You should definitely PM or email Dave T (on this forum) about this issue. I haven't spoken to him in awhile, but he's the RedRat guru and has done the most recent work on NRIRServ.

He's definitely the best guy to talk to about this stuff. I'm sorry I can't be of more assistance at this time.

awilcock
June 14th, 2004, 12:53 AM
Have sent a PM to Dave T with all the details.

Dave T
June 14th, 2004, 07:26 AM
Hi, guys.

Sorry about all the problems! Yes, I've been a bit MIA in the NetRemote world for a while.

At this point, I don't know what Ben's distributing, but I do have some code that works for me. I'm going to attach it to this post. If you have problems, email me at dpt@eliassen.com, or post back to this thread. I hope we can work this out today - I'm leaving for Europe tomorrow, and won't be back until 6/24.

I'm not at home now, so I can't check what version of NetRemote I'm working with. I think it's .997. Ben - can you confirm that the NRIRServ protocol hasn't changed since last we talked?

- Dave

awilcock
June 14th, 2004, 09:14 AM
Copy of email sent to Dave T ...

Dave,

Thanks for the updated NRIRServ zip, it looks as if the version was compiled with debug on? I got messages that I was missing MFC42D.DLL and MSVCRTD.DLL, I tracked these down on the internet then got another message "Ordinal 5084 could not be found in MFC42D.DLL" so I think I've got hold of the wrong version maybe?

Dave T
June 14th, 2004, 09:27 AM
awilcock:

Huh. I didn't get your email (yet). No matter...

Yes - you are correct. It is compiled for debug. I didn't realize that would be a problem. Rather than rebuilding it for non-debug, I think it would be best to just give you the files you need, so that you're working with something that I've tested. So, I'm attaching the mfc files you're missing. YOu can unzip this into your system32 directory (where they'd normally go), or in the NRIRServ directory.

- Dave

Dave T
June 14th, 2004, 09:37 AM
Ok, this bbs software isn't lettting me upload the zip file because it's too big. I found a link here, where you can download mfc42d.dll: http://www.dll-files.com/dllindex/dll-files.shtml?mfc42d,

and here: http://www.dll-files.com/dllindex/dll-files.shtml?msvcrtd for msvcrtd.dll.

I haven't tried these downloads, but I'm assuming they're what they claim to be.

If you're leery about downloading code from an unknown site, maybe Ben can give me some space to upload the files to.

- Dave

wilkscm
June 14th, 2004, 03:32 PM
did the above but every time netserve loads the programs crashes

best wishes

Ben S
June 14th, 2004, 03:38 PM
The version of NRIRServ that can be installed via the NetRemote Suite in the first thread includes the RedRat 3 dll, and should work properly with the version of NetRemote in the same thread.

If you are running -any other version- it will be harder to diagnose and fix.

I'm sorry you are having so much trouble.

Dave T - Thanks for helping out!

Dave T
June 14th, 2004, 04:04 PM
There are two other variables here - what version of the RedRat SDK you're using, and what RedRat firmware you have. All I can help with is what's working for me now - I'm not sure which version of the RR sdk/firmware the code is expecting in the version I gave Ben way back when.

Is Mircea around? I sent him some code that worked, and I think that's the same version Ben has. If so, he can confirm what version of the SDK and firmware that version of the code expects.

Otherwise, Ben and I will have to get together to make a version that works with my latest and greatest code, and the current sdk/firmware of the rr. That sounds like the best idea to me, but it will have to wait a couple of weeks until I get back from vacation.

By the way - hi, Ben! Long time no interaction. Hope all is going well.

- Dave

awilcock
June 15th, 2004, 12:57 AM
The URL's for the two DLL's are the two I had the problem with the missing ordinal i.e. I think they are from a different version of VC++ to which the project was compiled. These two are pretty much the first hits on Google, I also went through most of the other download links as well but couldn't find a pair that worked. Thus I never got as far as seeing if the Netremote packaged in the older thread is compatable with the NRIRServ Dave has uploaded here.

I emailed Mircea on the off chance he can help with the RR3 versions that work with the packaged release from the older thread.

Dave T
June 15th, 2004, 02:40 AM
Andrew:

Sounds like you're right, but that's very strange. The "42" is the version - it's version 4.2 of MFC. I built the code using VC++ 6.0, which uses MFC 4.2. And - yes, I found those on google.

- Dave

Wilhelm
June 15th, 2004, 03:15 AM
Hi folks,

I doubt that the errormessage is really an indication of a wrong mfc42d.dll. The ordinal seems much to high to be valid in any version. I think there must be something else going wrong.
The last ordinal in my mfs42d.dll is 8C2h (2242).

awilcock
June 15th, 2004, 04:07 AM
Dave, thanks for replying I thought you were on holiday!

Anyway I think we are drifting away from the initial problem here but I did find some interesting reads about problems people have with these dll's here are a couple...

http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&safe=off&selm=hb0Dv5zQ%24GA.159%40www.massena.com

http://www.microsoft.com/msj/0699/Bugslayer/Bugslayer0699.aspx

awilcock
June 17th, 2004, 12:16 AM
Mircea was kind enough to send me details of all the revisions he is using ...

firmware version: 0.26b
win driver 1.7
NRIR_RedRat3 1.0.0.1
.net framework 1.1 from MS

along with the contents of his NRIRServ directory. I tried to get everything the same but couldn't match the RR firmware revision - mine reports as 0.26c.

Unfortunatley even when I have all of this I get the same error message as was initially reported. Anyway it was worth a try.

mircea
June 17th, 2004, 05:48 AM
i checked all other component version with andrew, but not the sdk - i'll look this evening at home...

mircea
June 17th, 2004, 11:10 AM
checked: rr3 sdk 1.11

My advice is to clean all netremote and redrat related software and registry entries, disconnect the redrat, get rid of it's driver also and restart your pc.

then restart it, plug the redrat into a different usb plug then before, install the driver, the .net stuff, the rr3 sdk and related, restart again your pc

install netremote and NRIRserv

good luck

wilkscm
June 18th, 2004, 09:45 AM
i have the same problem as you i have tried everything i cant get my red rat to work. i only bought it to use netremote, i also bought a tablet pc so that i can use that as the controller. really like a solution to my problem. i cant see how they can sell a software that is not reliable.

very best wishes

chris

mircea
June 18th, 2004, 09:49 AM
netremote and NRIRserv are still for free...

wilkscm
June 18th, 2004, 01:11 PM
yes but i thought the idea is to make it into a commercial product

Rob H
June 18th, 2004, 01:26 PM
The point is that it's still in beta testing.

Netremote itself is remarkably bug-free.

I can only think of one bug that's outstanding in the current Win32 version that's bitten me, and that one is fairly minor (wordwrapped text doesn't work with CRLFs).

There may be some issues with third-party drivers, particularly those that aren't being used by many people.

I'm using a RedRat, but via Girder rather than NRIRServ as it's a far more powerful way of using it.

Wilhelm
June 18th, 2004, 02:02 PM
Well, I agree that it is still in beta stage. But it's far from bug free at the moment. Nearly every driver I use has different bugs.If you are seeing none, good for you.
So I understand the frustraition, if you are starting - especially if you want to use IR.
I think the only thing that works "out of the box" is the JRMC part. Everything else is hard work.
In my opinion the problem was getting more features in instead of making the existing stuff rock solid.
I hope this is getting better at the moment and I'm desperately waiting for the next release.

Rob H
June 18th, 2004, 04:49 PM
As I say, I'm doing pretty much everything through Girder and the combination is quite solid.

I'm quite prepared to believe that some drivers might be a bit flaky. Can you point to any in particular?

wilkscm
June 18th, 2004, 05:36 PM
i am having trouble with redrat using the nrirserve and i dont understand how to use girder and have no real time or intension to learn how to use it. i just simply want to send an infrared signal to control my home theatre. i want to transfer my ccf files and use them in a better enviroment.

best wishes

Ben S
June 18th, 2004, 06:00 PM
Hi guys -

Wilhelm is correct that JRMC is the most "plug and play" right now. It seems to be the largest group of users, so I've concentrated on that the most thus far.

Now I'm turning my eye towards the other plugins that have hobbled along and will give them the "royal treatment" as well.

I apologize that you are all here during the growth phase and that some plugins need a little extra TLC. Please be patient, NetRemote is not "commercial" -yet-, specifically because there are still some lingering issues.

Dave T
June 24th, 2004, 06:34 AM
I just got back from vacation.

What's the status on this? Sounds like there's still problems?

If so, what I'd propose is that I send Ben my latest code, and he does a build and distributes that.

All I know is that it's working for me, and it's tough for me to diagnose problems in older versions. If you're still having issues with the latest and greatest, then I'd be able to work with you, by putting in some debug code, etc.

- Dave

mircea
June 24th, 2004, 06:57 AM
I instaled new server w2003 in my cellar and wanted to put the RR3 on it - guess what - same problem!
Brand new os, rr3 driver, rr3 sdk, checked for .net (even if it's included into w2003) and NRIRserv from the 996.3 distrib

...
:(
Mircea

wilkscm
June 24th, 2004, 07:01 AM
mee too love a solution to this problem

best wishes chris

Ben S
June 25th, 2004, 08:35 PM
I'll be looking for Dave's code, and we'll see what we can put together. I'll see if I can get a RR3 also, so that I can ensure that it works here and see if we can close the door on the problems with NRIRServ for awhile.

mircea
June 25th, 2004, 09:23 PM
good approach!

skazog
July 13th, 2004, 12:50 AM
L'ordinal 5084 est introuvable dans la bibliothèque de liaisons dynamique MFC42D.DLL

sorry it's in french but that's the bug I can see when I run NRIRServ.exe