Pls. tell me what this is

A

arno

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
 
T

Tim Slattery

arno said:
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.
 
A

arno

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
 
J

jeffc

arno said:
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.
 
J

jeffc

arno said:
Hello Tim,

thank you for your reply.



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.
 
M

Mike Wahler

arno said:
Hello Tim,

thank you for your reply.



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
 
A

arno

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

Best regards

arno
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,148
Messages
2,570,834
Members
47,380
Latest member
AlinaBlevi

Latest Threads

Top