OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Arunkumar (akumarOMNESYSINDIA.COM)
Date: Sun Mar 17 2002 - 22:39:25 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    GetLogicalDrives
    ----- Original Message -----
    From: "diaconu ionut" <diaconuMARCONI.UNITBV.RO>
    To: <DCOMDISCUSS.MICROSOFT.COM>
    Sent: Saturday, March 16, 2002 8:17 PM
    Subject: Re: (OT)File manager in Visual C++

    > Hi,
    >
    > Does anyone knows a drive letter retriving function or api?
    >
    > ----- Original Message -----
    > From: "diaconu ionut" <diaconuMARCONI.UNITBV.RO>
    > To: <DCOMDISCUSS.MICROSOFT.COM>
    > Sent: Saturday, March 16, 2002 2:38 PM
    > Subject: Re: (OT)File manager in Visual C++
    >
    >
    > > Hi,
    > > Can u show me an example using FindFirstFile and FindNextFile pls!?
    > >
    > > Johnny
    > > ----- Original Message -----
    > > From: "Weiss, Mike" <Mike.WeissPRICESYSTEMS.COM>
    > > To: <DCOMDISCUSS.MICROSOFT.COM>
    > > Sent: Saturday, March 16, 2002 12:03 AM
    > > Subject: Re: (OT)File manager in Visual C++
    > >
    > >
    > > > You may want to look at the FileFind API or even better the windows
    > > > namespace api...
    > > > http://www.clipcode.net/shell/index.htm
    > > >
    > >
    >
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/pla
    > > > tform/shell/programmersguide/shell_basics/shell_basics.asp
    > > >
    > > > (watch for wrapping urls above!)
    > > >
    > > >
    > > >
    > > > -----Original Message-----
    > > > From: Phil Fuhlman [mailto:pfuhlmanDEXMA.COM]
    > > > Sent: Friday, March 15, 2002 4:23 PM
    > > > To: DCOMDISCUSS.MICROSOFT.COM
    > > > Subject: Re: (OT)File manager in Visual C++
    > > >
    > > >
    > > > 1) Install the http:\\www.cygwin.com toolkit.
    > > > 2) That'll give you the "ls" command so it'll be easy with code like
    > > > this:
    > > >
    > > > char szcmd[256];
    > > > if ( m_bDetailedView )
    > > > strcpy ( "ls -l > t1" );
    > > > else
    > > > strcpy ( "ls > t1" );
    > > > HANDLE h = ::CreateProcess ( scmd );
    > > > ::WaitForSingleObject ( h );
    > > > ::CloseHandle ( h );
    > > > FILE *pf = fopen ( "t1", "rb" );
    > > > char szbuf[256+2];
    > > > memset(szbuf,0,sizeof(szbuf));
    > > > int x = 0, y = 0;
    > > > while ( fread(szbuf,256,pf) )
    > > > {
    > > > ::TextOut(hdc,szbuf,strlen(szbuf),x,y);
    > > > y+=10;
    > > > }
    > > > fclose(pf);
    > > > remove ( "t1 );
    > > >
    > > > -----Original Message-----
    > > > From: diaconu ionut [mailto:diaconuMARCONI.UNITBV.RO]
    > > > Sent: Friday, March 15, 2002 2:40 PM
    > > > To: DCOMDISCUSS.MICROSOFT.COM
    > > > Subject: (OT)File manager in Visual C++
    > > >
    > > >
    > > > Hi list,
    > > >
    > > >
    > > > I wanna make an file manager (just like Windows commander)in Visual
    C++.
    > > > Can anyone help me?What functions is best indicated for retriving
    files?
    > > >
    > > > Johnny
    > > >
    > > > ----------------------------------------------------------------
    > > > Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    > > > contains important info. Save time, search the archives at
    > > > http://discuss.microsoft.com/archives/index.html .
    > > > To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM
    > > >
    > > > ----------------------------------------------------------------
    > > > Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    > > > contains important info. Save time, search the archives at
    > > > http://discuss.microsoft.com/archives/index.html .
    > > > To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM
    > > >
    > > > ----------------------------------------------------------------
    > > > Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    > > > contains important info. Save time, search the archives at
    > > > http://discuss.microsoft.com/archives/index.html .
    > > > To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM
    > > >
    > >
    > > ----------------------------------------------------------------
    > > Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    > > contains important info. Save time, search the archives at
    > > http://discuss.microsoft.com/archives/index.html .
    > > To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM
    > >
    >
    > ----------------------------------------------------------------
    > Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    > contains important info. Save time, search the archives at
    > http://discuss.microsoft.com/archives/index.html .
    > To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

    ----------------------------------------------------------------
    Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM