CoShellWindowsの使い方を教えてください。
delphiで下記のコードをBuilderに移したいのですがうまくいきません。
sw : IShellWindows;
Count : Integer;
途中省略
sw := CoShellWindows.Create;
Count := sw.Get_Count;

CoShellWindows* sw=new CoShellWindows();
Shdocvw::IShellWindows* is=sw->Create(NULL);
int Count=sw->Count;
とすると、コンパイラは通るのですが、3行目でEAccessViolationが発生します。