c++.beta - DM C/C++ 3.46 problem with shell32.lib
- Heinz-Peter Nüttgens (11/11) Jan 18 2006 After downloading and installing cd846.zip my code containing the follow...
- Walter Bright (1/1) Jan 22 2006 Try linking with the older uuid.lib.
After downloading and installing cd846.zip my code containing the following line: hres = CoCreateInstance( CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (LPVOID *)&psl); compiles well, but during runtime produces the result: hres == REGDB_E_CLASSNOTREG ( 0x80040154 ) Exactly the same code runs without problems with prior versions of DMC. The reason for this behaviour is the shell32.lib file. The older one is from 09.08.1996 with a file size of 212.480 Bytes. The new lib from 02.01.2006 has a lenght of 16.896 Bytes. Is there a workaround or a fix for this problem ??
Jan 18 2006
Try linking with the older uuid.lib.
Jan 22 2006