By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,190 Members | 833 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,190 IT Pros & Developers. It's quick & easy.

Pls. tell me what this is

P: n/a
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
Jul 22 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"arno" <sc********@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
Sl********@bls.gov
Jul 22 '05 #2

P: n/a
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
Jul 22 '05 #3

P: n/a

"arno" <sc********@azoppoth.at> wrote in message
news:3f***********************@newsreader02.highwa y.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.
Jul 22 '05 #4

P: n/a

"arno" <sc********@azoppoth.at> wrote in message
news:3f***********************@newsreader01.highwa y.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.
Jul 22 '05 #5

P: n/a

"arno" <sc********@azoppoth.at> wrote in message
news:3f***********************@newsreader01.highwa y.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
Jul 22 '05 #6

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

Best regards

arno
Jul 22 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.