Marty001 0 Posted June 26 I am upgrading a VCL application and have a problem using the following code which has worked in the past, I now have Delphi 12.2 and keep getting CreateOleObject is undeclared even though ComObj is in the uses clause, Has this changed in the new versions of Delphi? or am i missing something procedure MinimizeAll; var Shell: OleVariant; BEGIN Shell := CreateleOleObject('Shell.Application'); Shell.MinimizeAll; END; Share this post Link to post
Remy Lebeau 1421 Posted June 26 (edited) 1 hour ago, Nigel Thomas said: Check your spelling? Indeed: CreateleOleObject -> CreateOleObject Edited June 26 by Remy Lebeau Share this post Link to post
Marty001 0 Posted June 26 Thanks Guys, Dont know where the 'le' came from 😛 # Share this post Link to post