www.digitalmars.com         C & C++   DMDScript  

c++.beta - DM C/C++ 3.46 problem with shell32.lib

reply "Heinz-Peter Nüttgens" <heinmueck58 gmx.de> writes:
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
parent "Walter Bright" <newshound digitalmars.com> writes:
Try linking with the older uuid.lib. 
Jan 22 2006