Форум программистов Vingrad
Модераторы: Poseidon, Snowy, bems, MetalFan |
Поиск: |
|
Не работает TComPort под Windows 7, Delphi 7 |
Опции темы |
EKoshelev |
|
||
Опытный Профиль Репутация: нет
|
Поставил — не без геморов — пакет PortLib (Delphi 7, Window 7). При попытке вызывать у ComPort’а ShowSetupDialog вместо окна с настройками порта появляется сообщение: «Error reading Combo1.ComProperty: Registry error (win error code: 2)» Есть ощущение, что нужны какие-то изменения в реестре, но если в целом, то я вообще нифига не понимаю что ему от меня нужно. Помогите, плз. ——————— Вежливым и адекватным предлагаю общаться на «ты». |
||
|
|||
northener |
|
||
Эксперт Профиль Репутация: 8
|
Есть ощущение что сей компонент не совместим с Windows начиная с Висты. Если есть исходники компонента, можно попробовать исправить. Но лучше взять другой. ——————— Но только лошади летают вдохновенно. |
||
|
|||
EKoshelev |
|
||
Опытный Профиль Репутация: нет
|
northener, Спасибо. Уже поставил виртуальную машину с ХРюнделем. Вроде пашет. ——————— Вежливым и адекватным предлагаю общаться на «ты». |
||
|
|||
xackera |
|
||
Новичок Профиль
Репутация: нет
|
Может устроит компонент для работы с com объектом из состава TurboPower Async Professional. В Windows 7 работает без проблем. |
||
|
|||
Aristarh_Dark |
|
||
Новичок Профиль Репутация: нет
|
Запусти с правами администратора, думаю заработает. |
||
|
|||
artmaestro |
|
||
Шустрый Профиль Репутация: нет
|
У меня Win7 Ультимейт, качал библиотеку отсюда CPortLib установил на RAD Studio XE без всяких проблем. |
||
|
|||
Poseidon |
|
||
Delphi developer Профиль
Репутация: 53
|
Есть ощущение, что это связано с политикой безопасности Win7 и все будет работать если указать программе «Запуск от имени администратора». ——————— Если хочешь, что бы что-то работало — используй написанное, |
||
|
|||
|
Правила форума «Delphi: Общие вопросы» | |
|
Запрещается! 1. Публиковать ссылки на вскрытые компоненты 2. Обсуждать взлом компонентов и делиться вскрытыми компонентами
Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, Snowy, MetalFan, bems, Poseidon, Rrader. |
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей) |
0 Пользователей: |
« Предыдущая тема | Delphi: Общие вопросы | Следующая тема » |
CIRCA and Windows 10
Discussion in ‘Infrared (NIRT, IR Reader) and CIRCA’ started by MHeaton, Sep 20, 2016.
-
MHeaton
- Joined:
- Apr 22, 2008
- Messages:
- 98
- Likes Received:
- 1
- Location:
- London
Hi there,
So we have just tried to install CIRCA and use it on a Windows 10 machine:- The drivers are not digitally signed necessitating installation in a special mode
- Running test it crashes with ‘Exception EReadError in module CIRCA.exe at 0002989F. Error reading ComComboBox.ComProperty: COM Port Error: WriteFile failed on registry read.
I have tried to run it in the various compatibility modes with no success.
Please can you release a new component as we cannot complete the install until this is done.
Thanks
Mark -
Advertisements
-
NickD
Moderator- Joined:
- Nov 1, 2004
- Messages:
- 1,419
- Likes Received:
- 60
- Location:
- Adelaide
Help us help you.
Whilst requests like this do get noticed by the development team (if we happen to check).. we can’t act on them as a priority.
If you haven’t already, please raise this through Tech Support or your rep so that it can be properly addressed.
Thanks,
Nick
-
Advertisements
-
MHeaton
- Joined:
- Apr 22, 2008
- Messages:
- 98
- Likes Received:
- 1
- Location:
- London
Nick,
Thanks — I raised this to [email protected] on the 21st September and my Electrican has also done via his UK contacts. Case number 31578209 was automatically raised but I have heard nothing since…..Thanks
Mark -
JasonY00
- Joined:
- Aug 30, 2012
- Messages:
- 123
- Likes Received:
- 27
- Location:
- Sydney
Hi Mark,
I may be able to help with the installation of CIRCA (and the drivers for the 5100HSCU) programming cable as I was tearing my hair out with a WIN 10 64bit machine that just would not load them. It requires a small amount of restarting and boot options to force Win 10 to install unsigned drivers.
1. Uninstall CIRCA
2. Hold down the SHIFT key while rebooting Windows via the START menu.
3. When the PC restarts choose TROUBLESHOOT
4. Choose ADVANCED OPTIONS
5. Choose SETTINGS
6. Choose RESTART
7. Choose F7 to disable the driver signing in Win 10Just google «install unsigned drivers win 10» if you want to follow the above steps with some pictures.
8. After a reboot install CIRCA. You should see the Driver warning in the CIRCA software telling you that you will have to select to install an unsigned driver. After this hopefully the actual option will come up to install an unsigned driver.
9. Go ahead and complete the CIRCA installation10. Plug in the 5100HSCU and Win10 should recognise it.
If that fails, don’t reboot yet!
The drivers for this device should be in the
C:windowssystem32DriverStoreFileRepositorynirt.infXXXXXX directory
Open your device manager and find the 5100HSCU cable (Unknown Device) that should be still plugged in that does not have the driver. Right click and choose the update or install drivers option. If you have to, choose to install a USB Device. Choose the Have Disk option and point the path to the …DriverStoreFileRepositorynirt… directory. It should then install for you.
If the directory is not there see *** below
In the nirt.inf directory there is a nirt.inf and nirt.pnf file and a x64 subdirectory with the silib.sys and siusbxp.sys drivers. The files are just a Silicon Laboratories USB Driver.
*** If you cant find the files, then let me know and I can send them to you in a zip file. I don’t know why Clipsal can’t just let you download the drivers only instead of mucking around reinstalling CIRCA to get them! Maybe they could put them in the Downloads section of the CIS site.
Hope this helps.
Cheers
Jason
-
MHeaton
- Joined:
- Apr 22, 2008
- Messages:
- 98
- Likes Received:
- 1
- Location:
- London
Jason,
Thanks — I had got the drivers installed as you describe (was summarising your described steps in my one bullet!).The problem is the step after that when I try and use them e.g. by testing an IR command at that point CIRCA just crashes. Have you actually got the application to function on Windows 10?
Thanks
Mark -
JasonY00
- Joined:
- Aug 30, 2012
- Messages:
- 123
- Likes Received:
- 27
- Location:
- Sydney
Hi Mark,
Yes, I can definitely confirm that it is operating on Windows 10 64bit. I can think of four things that may help a little.
1. My Win10 installation is the free upgrade from Win 7-Pro 64bit (is your machine a fresh Win 10 install? Perhaps there is a different DLL or other hangover from Win7 that is not in Win 10
2. You mentioned that you had tried various compatibility modes. I did not do this at any time. May I suggest that you run it natively.
3. Uninstall the drivers and CIRCA (you probably already have) reboot and install again.
I ran onto all sorts of problems with CIRCA after I upgraded to Win 10. I tried every type of driver I could find that was «compatible» with the HSCU cable. I was ready to kick it across the room as I had wasted hours with it!
I then installed CIRCA on my laptop (the same flavour of Win 10 upgraded from Win 7Pro 64) with the «install unsigned drivers» option and it worked first go! A point to note is that this Laptop had never had any previous CBus software on it.
This laptop also has no other physical COM ports or USB COM ports connected(This issue was referred to in another post http://www.cbusforums.com/forums/showthread.php?t=5678 by Newman as a anomaly with the CIRCA/NIRT/HSCU5100) and two of the authors were experiencing the exact error you are reporting on XP with CIRCA 2.5.1) Two possible fixes were to install a USB COM Port (Newman) or another possible fix was provided by Yelat (Win7 64) as the last post in that thread. (This is my 4th suggestion)
The only way I could get CIRCA/NIRT/HSCU5100 running on my original machine was to copy the drivers across from the laptop and manually install them as described in my earlier post.
I hope that maybe one of these options may assist. I am disappointed for you that you have such a problem. It seems to take longer to get the thing working that it does to program it…having said that I am madly using the IR Reader to read in every command from every remote I can get my hands on as it seems to good to be true.
I can only say that given that all of this CBus software only runs on Windows, Clipsal should be providing signed drivers that can be downloaded separately from Toolkit, CIRCA etc.
Kind regards and best of luck
Jason Young
-
MHeaton
- Joined:
- Apr 22, 2008
- Messages:
- 98
- Likes Received:
- 1
- Location:
- London
Thank you! That sorted it up to a point. I can confirm that CIRCA expects there to be a COMx device installed and if there isn’t you get the crash.
With Windows 10 the driver signining is a right pain as that setting only applies for that session and is lost a reboot time so each time you want to use it you have to restart the laptop twice…..
Thanks
Mark -
JasonY00
- Joined:
- Aug 30, 2012
- Messages:
- 123
- Likes Received:
- 27
- Location:
- Sydney
Hi Mark,
You should not have to restart windows each time you run CIRCA once you have installed the drivers. If, however, this is required for your setup (anything is possible with Windows), and you are happy with the slightly lower level of security (yes is probably the answer), you can permanently disable driver signing in Win 10.
Goggle it and choose the most reliable source (or sources).
Aside from this, is it working except for the driver signing annoyance?
Cheers
Jason
-
qun
- Joined:
- Sep 27, 2004
- Messages:
- 16
- Likes Received:
- 0
There is an Application Note of Installing CIRCA USB driver on Windows 10 available, please see the attachment.
Attached Files:
-
MHeaton
- Joined:
- Apr 22, 2008
- Messages:
- 98
- Likes Received:
- 1
- Location:
- London
Thanks all — looks like the Application Note has addressed both issues.
One small comment — downloading this file triggers the Microsoft Smartscreen that necessiates unblocking the zip. On my PC I was unable to unblock the zip file itself as it threw an error so I had to unblock each file in the zip file individually once I had uncompressed it. I think you can sign the Zip file too!
Regards
Mark -
JasonY00
- Joined:
- Aug 30, 2012
- Messages:
- 123
- Likes Received:
- 27
- Location:
- Sydney
Hi Gun,
thanks for your help (I wish I had these a few months ago as it would have saved me a significant amount of time). Would it be possible to put the link to the drivers as a sticky at the top of the NIRT/IR Reader/CIRCA forum with a useful title so that anyone looking can see the availability of compatible drivers without trolling through the forum.
Kind regards
Jason
-
Advertisements
- Ask a Question
Want to reply to this thread or ask your own question?
You’ll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
We seek to understand and document all radio transmissions, legal and otherwise, as part of the radio listening hobby. We do not encourage any radio operations contrary to regulations.
Always consult with the appropriate authorities if you have questions concerning what is permissable in your locale.
Topic: DIGTRX working on windows 10 (solution) (Read 5250 times)
if your computer does not have a physical serial COM port, DIGTRX will not function — serial COM port function was built into DIGTRX to enable PTT transceiver control.
in order for DIGTRX to work on windows 10 without the «error reading comcombobox1.comproperty: registry error» coming up, you will need to install a «virtual serial COM port».
if you plan to use a serial COM port from DIGTRX for PTT transceiver control, i would suggest purchasing a USB to serial COM port — a USB serial COM port will also enable DIGTRX to function without this error.
install «virtual serial driver» from > www.eltima.com/products/vspdxp/
this is trial/demo software that expires after 14 days but since we are not actually using the eltima program itself and the COM serial ports within DIGTRX, were only using it to get the DIGTRX to function — DIGTRX just needs to «see» a serial COM port.
after installation of the virtual serial driver, launch it and then press «continue demo», then press «add pair» and then close out the eltima software program.
then DIGTRX should be completely functional.
i do not know what the effects will be when the trial/demo expires after 14 days (probably cant use the ports but they will still be there enabling DIGTRX functionality) but there are other free options available to install a virtual serial COM port from a google search (use caution), i chose this one for its simplicity.
please let me know how this solution worked for you as it works flawlessly for me (windows 10 x64 pro)
if DIGTRX was coded to suppress exception errors, this issue would be non-existent. (it was coded using C++)
« Last Edit: February 19, 2017, 2046 UTC by TheRelayStation »
Logged
vhavrilko
Thanks! I just remembered that I have a serial port emulator from Eterlogic so I will try that first. If not, I saved the website just in case.
Logged
Thanks! I just remembered that I have a serial port emulator from Eterlogic so I will try that first. If not, I saved the website just in case.
no problem.
alot of the older programs compiled in C++ throw simple exception errors but prior to windows 10, the older operating system would simply dismiss those exceptions.
in this case, DIGTRX doesnt see a serial port in device manager and it throws an exception error and closes.
with windows 10, the serial port may exist in device manager but it will be «greyed out» when viewed under «hidden devices» because it is not actively being used, this is why DIGTRX throws the error.
i recognized the exception error from my days of compiling programs using C++
Logged