USB Pack
USB Pack
Installing the USB Pack gives the following Error message
DLLRegisterServer in UsbSerial.ocx failed
Returncode ox80004005
Can someone help me explain what I dio wrong here; the instructions are pretty straightforward, so I expected nothing to go wrong
Fred
DLLRegisterServer in UsbSerial.ocx failed
Returncode ox80004005
Can someone help me explain what I dio wrong here; the instructions are pretty straightforward, so I expected nothing to go wrong
Fred
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB Pack
Hello Fred
What version of Windows are you running? Also do you have admin rights?
If your using Vista then maybe try right clicking the .bat file and selecting run as administrator.
What version of Windows are you running? Also do you have admin rights?
If your using Vista then maybe try right clicking the .bat file and selecting run as administrator.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB Pack
Hello
Here are a few other things I can think of.
Do you have the latest version of Flowcode installed V3.4.7?
Are you running any heavy anti virus or firewall eg Norton or Mcaffee?
Another piece of advice I have found is to do the following.
http://windowsitpro.com/article/article ... stall.html
Here are a few other things I can think of.
Do you have the latest version of Flowcode installed V3.4.7?
Are you running any heavy anti virus or firewall eg Norton or Mcaffee?
Another piece of advice I have found is to do the following.
http://windowsitpro.com/article/article ... stall.html
Let me know how you get on.who may have a damaged or incorrect version of %SystemRoot%\System32\Comcat.dll.
To workaround the problem, rename %SystemRoot%\System32\Comcat.dll to %SystemRoot%\System32\Comcat.old and reinstall IE.
NOTE: If you elect to uninstall IE first, do the rename after the uninstall.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: USB Pack
Hello Ben
I tried all of your suffestions, but with no result. So I decided to re-install windows prof for windows home edition. Then it worked without any problem.
It is rather a rugged way to solve the problem, but I wanted to re-install windows anyway, because of more strange results with different programs. So a fresh start.
Thanx for your help anyway.
Fred
I tried all of your suffestions, but with no result. So I decided to re-install windows prof for windows home edition. Then it worked without any problem.
It is rather a rugged way to solve the problem, but I wanted to re-install windows anyway, because of more strange results with different programs. So a fresh start.
Thanx for your help anyway.
Fred
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB Pack
Hello Fred
Shame you had to resort to a reinstall but glad its all working for you now. Let me know if you have any problems.
Shame you had to resort to a reinstall but glad its all working for you now. Let me know if you have any problems.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode v5 User
- Posts: 273
- Joined: Thu Apr 17, 2008 9:59 am
- Has thanked: 19 times
- Been thanked: 16 times
Re: USB Pack
I'm also starting to use the USB pack and ran into the following.
An admin thing: although the Flowcode Help refers to the component help files, there is no 'Help' button on the USB component. (The help files are there, in the install folders, and can be accessed).
I ran the serial USB example that comes with the USB pack. In that example, data is send from within the pic program to the PC and it can be read in HyperTerminal (I'm using HPTE). But in that example, the sending of the data is inside an endlessly repeating loop. What I want is to see if the link between the ECIO and the PC/Hyperterminal is up, then start sending data.
I tried to look at the return value from the USB init, and keep on init-ting until it returns 0, but that doesn't work; apparently it only looks at the link to XP and not to an application trying to access it.
How can I do this?
Jan Didden
An admin thing: although the Flowcode Help refers to the component help files, there is no 'Help' button on the USB component. (The help files are there, in the install folders, and can be accessed).
I ran the serial USB example that comes with the USB pack. In that example, data is send from within the pic program to the PC and it can be read in HyperTerminal (I'm using HPTE). But in that example, the sending of the data is inside an endlessly repeating loop. What I want is to see if the link between the ECIO and the PC/Hyperterminal is up, then start sending data.
I tried to look at the return value from the USB init, and keep on init-ting until it returns 0, but that doesn't work; apparently it only looks at the link to XP and not to an application trying to access it.
How can I do this?
Jan Didden
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB Pack
Hello Jan
Yes the USB Init function will only return the USB enumeration response of the computer. Eg if drivers are installed and working correctly.
I would use some kind of acknowledge to say that hyperterminal is connected.
For example when the USB connects it waits for an incoming 'a' character. Once the a character is received it will send all available data out to hyperterminal. Maybe once this is done it goes back to checking for the incoming byte. This way you can tell if the PC program has been closed. In a real PC application you could have the characters being sent out automatically so you will always know if the software is connected.
Yes the USB Init function will only return the USB enumeration response of the computer. Eg if drivers are installed and working correctly.
I would use some kind of acknowledge to say that hyperterminal is connected.
For example when the USB connects it waits for an incoming 'a' character. Once the a character is received it will send all available data out to hyperterminal. Maybe once this is done it goes back to checking for the incoming byte. This way you can tell if the PC program has been closed. In a real PC application you could have the characters being sent out automatically so you will always know if the software is connected.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode v5 User
- Posts: 273
- Joined: Thu Apr 17, 2008 9:59 am
- Has thanked: 19 times
- Been thanked: 16 times
Re: USB Pack
I was looking for the example Visual basic code in the USB-pack to handle the PC-side of the USB/Serial connection, but didn't find it.
I tried to download the USB-pack again (maybe the example wasn't in the first download) but now I can't download it anymore, my reg code is not accepted anymore.
Is this VB example avaliable somewhere else?
Jan Didden
I tried to download the USB-pack again (maybe the example wasn't in the first download) but now I can't download it anymore, my reg code is not accepted anymore.
Is this VB example avaliable somewhere else?
Jan Didden
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: USB Pack
Hello Jan
Sorry about this, I will get it sorted. In the mean time you can download the USB pack files from here.
http://www.matrixmultimedia.com/Downloa ... .php?id=58
Sorry about this, I will get it sorted. In the mean time you can download the USB pack files from here.
http://www.matrixmultimedia.com/Downloa ... .php?id=58
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel