Pls. tell me what this is

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • arno

    Pls. tell me what this is

    Hello,

    first of all let me tell you that I do not know anything about C++, so pls.
    be patient.

    I found some C++ source code that is supposed to be a program to generate a
    file called Passfilt.dll that can be used for Password filtering in Win2000
    (setting stronger password policies for W2k). Now, I would like know it
    these files look like a C++ Source? If yes how I run that program, do I need
    a compiler etc.?

    AccountPassword .cpp
    AccountPassword .def
    AccountPassword .dsp
    AccountPassword .dsw
    AccountPassword .h
    PasswordConfigu ration.cpp
    PasswordConfigu ration.h
    StdAfx.cpp
    StdAfx.h
    ValidatePasswor d.cpp
    ValidatePasswor d.h

    Found in


    Any hints would be greatly appreciated.

    Best regards

    arno


  • Tim Slattery

    #2
    Re: Pls. tell me what this is

    "arno" <schoblochr@azo ppoth.at> wrote:
    [color=blue]
    >Hello,
    >
    >first of all let me tell you that I do not know anything about C++, so pls.
    >be patient.
    >
    >I found some C++ source code that is supposed to be a program to generate a
    >file called Passfilt.dll that can be used for Password filtering in Win2000
    >(setting stronger password policies for W2k). Now, I would like know it
    >these files look like a C++ Source? If yes how I run that program, do I need
    >a compiler etc.?[/color]

    The *.dsp and *.dsw files define a project to Microsoft Visual C++.
    The *.cpp, *.def, and *.h files are the source for that project. Yes,
    of course you need a compiler. Ideally you'd have a copy of Visual
    C++, with which you'd read the *.dsp file and build the project. Of
    course, VC++ is expensive, there are workarounds but they takes LOTS
    of effort.

    --
    Tim Slattery
    Slattery_T@bls. gov

    Comment

    • arno

      #3
      Re: Pls. tell me what this is

      Hello Tim,

      thank you for your reply.

      [color=blue]
      > The *.dsp and *.dsw files define a project to Microsoft Visual C++.
      > The *.cpp, *.def, and *.h files are the source for that project. Yes,
      > of course you need a compiler. Ideally you'd have a copy of Visual
      > C++, with which you'd read the *.dsp file and build the project. Of
      > course, VC++ is expensive, there are workarounds but they takes LOTS
      > of effort.[/color]

      Hmm... I've tried the Borland Compiler (5.5, Command line tool) and it did
      not work :(
      because there where too many errors during compilation.

      Best regards

      arno


      Comment

      • jeffc

        #4
        Re: Pls. tell me what this is


        "arno" <schoblochr@azo ppoth.at> wrote in message
        news:3fbb6e76$0 $17456$91cee783 @newsreader02.h ighway.telekom. at...[color=blue]
        > Hello,
        >
        > first of all let me tell you that I do not know anything about C++, so[/color]
        pls.[color=blue]
        > be patient.
        >
        > I found some C++ source code that is supposed to be a program to generate[/color]
        a[color=blue]
        > file called Passfilt.dll that can be used for Password filtering in[/color]
        Win2000[color=blue]
        > (setting stronger password policies for W2k). Now, I would like know it
        > these files look like a C++ Source? If yes how I run that program, do I[/color]
        need[color=blue]
        > a compiler etc.?
        >
        > AccountPassword .cpp
        > AccountPassword .def
        > AccountPassword .dsp
        > AccountPassword .dsw
        > AccountPassword .h
        > PasswordConfigu ration.cpp
        > PasswordConfigu ration.h
        > StdAfx.cpp
        > StdAfx.h
        > ValidatePasswor d.cpp
        > ValidatePasswor d.h[/color]

        Those are Visual C++ files, specifically. You might be able to recreate the
        app using just the .cpp and .h files, but you'll need Visual C++ to build it
        with those files.


        Comment

        • jeffc

          #5
          Re: Pls. tell me what this is


          "arno" <schoblochr@azo ppoth.at> wrote in message
          news:3fbb8811$0 $17680$91cee783 @newsreader01.h ighway.telekom. at...[color=blue]
          > Hello Tim,
          >
          > thank you for your reply.
          >
          >[color=green]
          > > The *.dsp and *.dsw files define a project to Microsoft Visual C++.
          > > The *.cpp, *.def, and *.h files are the source for that project. Yes,
          > > of course you need a compiler. Ideally you'd have a copy of Visual
          > > C++, with which you'd read the *.dsp file and build the project. Of
          > > course, VC++ is expensive, there are workarounds but they takes LOTS
          > > of effort.[/color]
          >
          > Hmm... I've tried the Borland Compiler (5.5, Command line tool) and it did
          > not work :(
          > because there where too many errors during compilation.[/color]

          Those .dsw and .dsp files comprise a sort of make file, including the
          dependencies, so it's unlikely you'd be able to compile it without figuring
          that stuff out. If you really can't get access to Visual C++, and you
          really need to compile that code, then show the source on one of the
          microsoft.publi c.vc.* newsgroups for the .dsw and .dsp files and see if they
          can show you how to compile the project by creating Borland make file.


          Comment

          • Mike Wahler

            #6
            Re: Pls. tell me what this is


            "arno" <schoblochr@azo ppoth.at> wrote in message
            news:3fbb8811$0 $17680$91cee783 @newsreader01.h ighway.telekom. at...[color=blue]
            > Hello Tim,
            >
            > thank you for your reply.
            >
            >[color=green]
            > > The *.dsp and *.dsw files define a project to Microsoft Visual C++.
            > > The *.cpp, *.def, and *.h files are the source for that project. Yes,
            > > of course you need a compiler. Ideally you'd have a copy of Visual
            > > C++, with which you'd read the *.dsp file and build the project. Of
            > > course, VC++ is expensive, there are workarounds but they takes LOTS
            > > of effort.[/color]
            >
            > Hmm... I've tried the Borland Compiler (5.5, Command line tool) and it did
            > not work :(
            > because there where too many errors during compilation.[/color]

            As Tim already told you, those .dsp, .dsw, and. .def files
            are *specific* to the Microsoft Visual C++ product, that's
            the only compiler they'll work with. You *might* be able
            to create a 'project' with another compiler such as Borland
            and use those .cpp and .h files, but only if they don't depend
            upon any other VC++ specific features.

            Try asking about this in a Windows programming group.

            -Mike


            Comment

            • arno

              #7
              Re: Pls. tell me what this is

              Thank you all for answering my question, I will try to find a solution in
              some Windows NG!

              Best regards

              arno


              Comment

              Working...