Go to the FreeLists Home Page Home Signup Help Login
 



Browse shell-coding: This Month's ArchiveMain Archive PageRelated postsPrevious by DateNext by Date

[shell-coding] COM help please?

  • From: "e-sushi" <e-sushi@xxxxxxx>
  • To: <shell-coding@xxxxxxxxxxxxx>
  • Date: Tue, 13 Aug 2002 14:36:06 +0200
ok, I allready posted something on the matter, so here's the
code-part that makes me cry.

What am I doing wrong here that the proggy does call the
findfiles under explorer, but as soon as I fire up a shell like
litestep, this function seems to do nothing?

//cut here

VOID RunFinder( VOID )
{
    HRESULT rc;
    IShellDispatch *pShellDisp = NULL;
    CoInitialize( NULL );

    rc = CoCreateInstance( CLSID_Shell, "shell32.dll",
CLSCTX_SERVER,
    IID_IShellDispatch, (LPVOID *) &pShellDisp );

    pShellDisp->FindFiles();
    pShellDisp->Release();
    CoUninitialize();
    return;
}

//cut here

The snippet is also attached, if your mail client should destroy
format.
Thanks for any feedback that may come.
//Mike, mailto:e-sushi@xxxxxxx

VOID RunFinder( VOID )
{
    HRESULT rc;
    IShellDispatch *pShellDisp = NULL;
    CoInitialize( NULL );

    rc = CoCreateInstance( CLSID_Shell, "shell32.dll", CLSCTX_SERVER,
    IID_IShellDispatch, (LPVOID *) &pShellDisp );

    pShellDisp->FindFiles();
    pShellDisp->Release();
    CoUninitialize();
    return;
}

Other related posts:

  • [shell-coding] COM help please?
  • [shell-coding] Re: COM help please?
  • [shell-coding] Re: COM help please?
  • [shell-coding] Re: COM help please?
  • [shell-coding] Re: COM help please?
  • [shell-coding] Re: COM help please
  • [shell-coding] Re: COM help please?
  • [shell-coding] Re: COM help please
  • [shell-coding] Re: COM help please?
  • [shell-coding] Re: COM help please?




  • [ Home | Signup | Help | Login | Archives | Lists ]

    All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
    Everything else ©2008 Avenir Technologies, LLC.