LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

"Library not registered": spurious message?

Hi all, I just noticed an apparently spurious message when using FileSelectPopupEx() function (CVI 2017)
.

It appears in Debug Output panel: 

mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!74AC5072: (caller: 74ACFE4F) ReturnHr(1) tid(131c) 8002801D Library not registered.

Apart from this, the library function seems to work as expected.
I'm attaching a stripped down version of "popups" sample ready to compile.

Carlo A.
Megaris




0 Kudos
Message 1 of 6
(8,071 Views)

Hey Carlo,

 

I just ran that project on two different PCs and didn't see that message in the debug output. I'm using CVI 2017 and Windows 7 (x64). Is there anything else in particular I need to do to get this error?

 

Since this looks like a rather generic system error, you might want to check the Windows Event Viewer and see if there is any useful info in the application or system logs.

 

Thanks,

Trent

 

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 6
(7,962 Views)

I am having the same issue too, with additional error lines listed in the debug output windows. My scenario is CVI 2015SP1f1 on Win10 Pro (1703). It does not seem related to build options (or at least no to the debugging level). There does not seem to be any strange event registered in the system log.

 

mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!75C05072: (caller: 75C0FE4F) ReturnHr(1) tid(256c) 8002801D Libreria non registrata.
onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(285)\thumbcache.dll!5A6BFF91: (caller: 5A6C0121) ReturnHr(1) tid(256c) 80004005 Errore non specificato.
onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(159)\thumbcache.dll!5A6DC74E: (caller: 76C1136E) ReturnHr(2) tid(256c) 80004005 Errore non specificato.
onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(285)\thumbcache.dll!5A6BFF91: (caller: 5A6C0121) ReturnHr(3) tid(256c) 80004005 Errore non specificato.
onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(159)\thumbcache.dll!5A6DC74E: (caller: 76C1136E) ReturnHr(4) tid(256c) 80004005 Errore non specificato.
onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(285)\thumbcache.dll!5A6BFF91: (caller: 5A6C0121) ReturnHr(5) tid(256c) 80004005 Errore non specificato.
onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(159)\thumbcache.dll!5A6DC74E: (caller: 76C1136E) ReturnHr(6) tid(256c) 80004005 Errore non specificato.
onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(285)\thumbcache.dll!5A6BFF91: (caller: 5A6C0121) ReturnHr(7) tid(256c) 80004005 Errore non specificato.
onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(159)\thumbcache.dll!5A6DC74E: (caller: 76C1136E) ReturnHr(8) tid(256c) 80004005 Errore non specificato.

I have already observed this in the past but didn't pay attention to it.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 6
(7,951 Views)

Interesting - on Windows 10 I still don't see the "Library Not Registered Error"...but I do see a different unspecified error:

 

shell\comdlg32\fileopensave.cpp(6774)\comdlg32.dll!747CEBEB: (caller: 747A5A0B) ReturnHr(1) tid(1578) 80004005 Unspecified error

This particular one like a Windows 10 issue - I see the same error with this c++ example from MSDN. Additionally, I used DebugView and saw any use of the open file dialog caused this on Windows 10 (like notepad » File » Open). Note: you won't see the output messages in DebugView if they're caught by another debugger first (like CVI or VS).

 

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 4 of 6
(7,941 Views)

Trent, I agree it's a Windows 10 issue.
I did your test with notepad and DebugView, and I got the "Library not registered" error, when fired the open file dialog:

mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!00007FFD8ED716A1: (caller: 00007FFD8ED644B9) ReturnHr(1) tid(15b4) 8002801D Libreria non registrata. 

thread 15b4 is one of notepad's own threads, according to Process Explorer.

Notepad is 6.3.15063.0  (Language: Italian, as the rest of OS)
OLEAUT32.DLL is 10.0.15063.332 (Language: English (!))

Anyway, I will wait for MS remove all that junk from Debug output.

Carlo A.
Megaris




0 Kudos
Message 5 of 6
(7,930 Views)

I reported it on this MS connect page to give it some more visibility.

https://www.linkedin.com/in/trentweaver
Message 6 of 6
(7,917 Views)