wxFileDialog shows no library no icons

110 views
Skip to first unread message

henniman

unread,
Oct 8, 2012, 11:16:56 AM10/8/12
to wx-u...@googlegroups.com
Hi all,

i am working with wx 2.9.4 using the x64 binaries under Windows 7 64 pro. All file/dir dialogs show no icons and no libraries. When using any other software on the system the file dialog looks normal. Anyone any clue where the problem may be?

Image:http://www5.picturepush.com/photo/a/10861558/640/10861558.png

Best regards
Wendy


Unbenannt.PNG

Vadim Zeitlin

unread,
Oct 8, 2012, 11:52:34 AM10/8/12
to wx-u...@googlegroups.com
On Mon, 8 Oct 2012 08:16:56 -0700 (PDT) henniman wrote:

h> i am working with wx 2.9.4 using the x64 binaries under Windows 7 64 pro.
h> All file/dir dialogs show no icons and no libraries. When using any other
h> software on the system the file dialog looks normal. Anyone any clue where
h> the problem may be?
h>
h> Image:http://www5.picturepush.com/photo/a/10861558/640/10861558.png

Not really. Some more questions in an attempt to find more about the
problem: Does the problem persist after reboot? Does the same program also
misbehave on the other machines? Does the dialogs sample show the same
problem?

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/

henniman

unread,
Oct 10, 2012, 6:22:01 AM10/10/12
to wx-u...@googlegroups.com


 Not really. Some more questions in an attempt to find more about the
problem: Does the problem persist after reboot? Does the same program also
misbehave on the other machines? Does the dialogs sample show the same
problem?


- a reboot does not help
- same program misbehaves on other machines reproducable
- dialog sample does not show the same problem
- when i copy the dialog sample code to the program, the problem reappears

So the problem is somewhere in the program configuration. But there is
no exception or similar when the dialog open in debug mode. Does ATL
have something to do with the file dialog under windows?


These are the system dlls loaded. Any usual suspects?

'Beta64Debug.exe': Loaded 'Z:\mysoft\Beta64Debug.exe', Symbols loaded.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\KernelBase.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msvcp100d.dll', Symbols loaded.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msvcr100d.dll', Symbols loaded.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wxbase294ud_vc100_x64.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\user32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\gdi32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\lpk.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\usp10.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msvcrt.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\shell32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\shlwapi.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\ole32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\rpcrt4.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\advapi32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\sechost.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wxbase294ud_net_vc100_x64.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wsock32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\ws2_32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\nsi.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wxmsw294ud_core_vc100_x64.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\comdlg32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\winsxs\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_fa62ad231704eab7\comctl32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\winspool.drv', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\oleaut32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wxmsw294ud_adv_vc100_x64.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\winmm.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wxmsw294ud_gl_vc100_x64.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\opengl32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\glu32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\ddraw.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\dciman32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\setupapi.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\cfgmgr32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\devobj.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\dwmapi.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\avifil32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msacm32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msvfw32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\quartz.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\atl100.dll', Symbols loaded.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\avutil-51.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\avformat-54.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\avcodec-54.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\swscale-2.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\glew32.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\FreeImage.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\portaudio_x64.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msvcr100.dll', Symbols loaded.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\portmidi.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\libartnet.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\lib3ds-2_0.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\js32-08.dll', Binary was not built with debug information.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\hid.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\imm32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msctf.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\cryptbase.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\uxtheme.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\sspicli.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\Rockey4ND.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wintrust.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\crypt32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msasn1.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\atig6pxx.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\atio6axx.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\version.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\atig6txx.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\aticfx64.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\atiadlxx.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\userenv.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\profapi.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wtsapi32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\psapi.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\cryptsp.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\rsaenh.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\RpcRtRemote.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\clbcatq.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\devenum.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\ntmarta.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\Wldap32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msdmo.dll', Cannot find or open the PDB file
The thread 'Win64 Thread' (0x17d4) has exited with code 0 (0x0).
'Beta64Debug.exe': Loaded 'C:\Windows\System32\srcfilter_x64.dll', Symbols loaded.
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wxbase294u_vc100_x64.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msvcp100.dll', Symbols loaded.
Beta64Debug.exe(tid 177c)  3528265 : Could not access module key
Beta64Debug.exe(tid 177c)  3528265 : Could not access GLOBAL module key
'Beta64Debug.exe': Loaded 'C:\Windows\System32\qcap.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\MMDevAPI.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\propsys.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\wdmaud.drv', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\ksuser.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\avrt.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\AudioSes.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msacm32.drv', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\midimap.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Program Files\Common Files\Microsoft Shared\ink\tiptsf.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\ExplorerFrame.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\duser.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\dui70.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\WindowsCodecs.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\xmllite.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msftedit.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\msls31.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\xmllite.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\StructuredQuery.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\secur32.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\actxprxy.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Program Files\Internet Explorer\ieproxy.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\thumbcache.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\SearchFolder.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\shdocvw.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\ieframe.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\oleacc.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\iertutil.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\ntshrui.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\srvcli.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\cscapi.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\slc.dll', Cannot find or open the PDB file
'Beta64Debug.exe': Loaded 'C:\Windows\System32\IconCodecService.dll', Cannot find or open the PDB file







 

Vadim Zeitlin

unread,
Oct 10, 2012, 7:55:19 AM10/10/12
to wx-u...@googlegroups.com
On Wed, 10 Oct 2012 03:22:01 -0700 (PDT) henniman wrote:

h> - a reboot does not help
h> - same program misbehaves on other machines reproducable
h> - dialog sample does not show the same problem
h> - when i copy the dialog sample code to the program, the problem reappears

Then it must be something in your application manifest or the build
options. Do you use the default manifest or do you have a custom one?

h> So the problem is somewhere in the program configuration. But there is
h> no exception or similar when the dialog open in debug mode. Does ATL
h> have something to do with the file dialog under windows?

Not AFAIK.

henniman

unread,
Nov 5, 2012, 9:13:59 AM11/5/12
to wx-u...@googlegroups.com
[SOLVED]

After testing another completely different problem, i regularly got an

"VFW_E_BAD_KEY - A registry entry is corrupt. - 0x800403F2 -
101"

error, so i found out that earlier in my app i used RegOverridePredefKey
to work around Windows 7 64 UAC issues in this manner:

// registers object, typelib and all interfaces in typelib for the current user
HKEY key;
if ( ERROR_SUCCESS != ::RegOpenKeyW(HKEY_CURRENT_USER, L"Software\\Classes", &key) )
{
return E_FAIL;
}
if ( ERROR_SUCCESS != ::RegOverridePredefKey(HKEY_CLASSES_ROOT, key) )
{
::RegCloseKey(key);
 return E_FAIL;
}
( my actions ... )

but i forgot to reset that redirection immediately using RegOverridePredefKey with NULL as second argument:

//
// after registering, reset
if ( ERROR_SUCCESS != ::RegOverridePredefKey(HKEY_CLASSES_ROOT, NULL) )
{
::RegCloseKey(key);
return E_FAIL;
}
::RegCloseKey(key);

The file dialog fails as well as long as the redirection is active.

Best & thank you,
Hendrik
Reply all
Reply to author
Forward
0 new messages