| Topic: |
DEVELOP > c-Plus-Plus |
| User: |
"arno" |
| Date: |
19 Nov 2003 07:21:57 AM |
| Object: |
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
PasswordConfiguration.cpp
PasswordConfiguration.h
StdAfx.cpp
StdAfx.h
ValidatePassword.cpp
ValidatePassword.h
Found in
http://www.opencoe.com/AccountPassword.htm
Any hints would be greatly appreciated.
Best regards
arno
.
|
|
| User: "jeffc" |
|
| Title: Re: Pls. tell me what this is |
19 Nov 2003 10:22:57 AM |
|
|
"arno" <schoblochr@azoppoth.at> wrote in message
news:3fbb6e76$0$17456$91cee783@newsreader02.highway.telekom.at...
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
PasswordConfiguration.cpp
PasswordConfiguration.h
StdAfx.cpp
StdAfx.h
ValidatePassword.cpp
ValidatePassword.h
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.
.
|
|
|
|
| User: "Tim Slattery" |
|
| Title: Re: Pls. tell me what this is |
19 Nov 2003 08:17:28 AM |
|
|
"arno" <schoblochr@azoppoth.at> wrote:
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.?
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
.
|
|
|
| User: "arno" |
|
| Title: Re: Pls. tell me what this is |
19 Nov 2003 09:11:12 AM |
|
|
Hello Tim,
thank you for your reply.
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.
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
.
|
|
|
| User: "Mike Wahler" |
|
| Title: Re: Pls. tell me what this is |
19 Nov 2003 12:26:47 PM |
|
|
"arno" <schoblochr@azoppoth.at> wrote in message
news:3fbb8811$0$17680$91cee783@newsreader01.highway.telekom.at...
Hello Tim,
thank you for your reply.
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.
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.
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
.
|
|
|
|
| User: "jeffc" |
|
| Title: Re: Pls. tell me what this is |
19 Nov 2003 10:25:23 AM |
|
|
"arno" <schoblochr@azoppoth.at> wrote in message
news:3fbb8811$0$17680$91cee783@newsreader01.highway.telekom.at...
Hello Tim,
thank you for your reply.
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.
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.
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.public.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.
.
|
|
|
|
|
|
| User: "arno" |
|
| Title: Re: Pls. tell me what this is |
20 Nov 2003 01:43:21 AM |
|
|
Thank you all for answering my question, I will try to find a solution in
some Windows NG!
Best regards
arno
.
|
|
|
|

|
Related Articles |
|
|