473,803 Members | 3,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
http://www.opencoe.com/AccountPassword.htm

Any hints would be greatly appreciated.

Best regards

arno
Jul 22 '05 #1
6 2917
"arno" <sc********@azo ppoth.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
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

"arno" <sc********@azo ppoth.at> wrote in message
news:3f******** *************** @newsreader02.h ighway.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
PasswordConfigu ration.cpp
PasswordConfigu ration.h
StdAfx.cpp
StdAfx.h
ValidatePasswor d.cpp
ValidatePasswor d.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

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

"arno" <sc********@azo ppoth.at> wrote in message
news:3f******** *************** @newsreader01.h ighway.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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
3750
by: lawrence | last post by:
How do I get PHP to tell the server that when I echo text to the screen, I need for the text to be sent as UTF-8? How does Apache know the right encoding when all the text is being generated by PHP? If I build a content management system (I have) and I make sure that all input is encoded as UTF-8, how will the server know that the text in the MySql database is UTF-8? I'm taking all user input and using this function on the input: ...
3
1628
by: Jonathan | last post by:
Rather than me explain the problem, read this exchange of emails between my web host and myself, then tell me what I can tell them! I had a problem with their admin site all day, and after me saying "can't log in", and them saying "nothing wrong", I sent the following: ------------------------------------------------------ > Found it! Tried it with 3 browsers now (IE, Opera, Firefox), and the > result is that I've just discovered a...
303
17797
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b. Yahoo store was originally written in Lisp. c. Emacs The issues with these will probably come up, so I might as well mention them myself (which will also make this a more balanced
2
630
by: j.b.messina | last post by:
This has not yet been published by Microsoft. It will be published within the next few weeks, mainly because I asked them to. I felt this was information badly needed, and I think this is the best group to share this information. A co-worker and I were able to determine how to tell exactly what version of .NET Framework is installed. We had to do this because we had to manually deploy the MS05-004 Security Bulletin to thousands of...
354
15932
by: Montrose... | last post by:
After working in c# for a year, the only conclusion I can come to is that I wish I knew c. All I need is Linux, the gnu c compiler and I can do anything. Web services are just open sockets hooked up to interfaces. The Gtk is more than enough gui.
18
3070
by: jrhoads23 | last post by:
Hello, I am trying to find a way to tell if an .NET windows forms Button (System.Windows.Forms.Button) is "depressed" (pushed down). For my application, I can not use a check box control set to button style, I must use a System.Windows.Forms.Button. I can not find a way to tell when it is momentaraly pressed. I tried calling the API SendMessage with the button handle and BM_GETSTATE to get the state of the button. This will only return...
29
2269
by: Roy Gourgi | last post by:
Hi, I am new to C#. I have the same time scheduling program written in C++ and it is 5 times faster than my version in C#. Why is it so slow as I thought that C# was only a little slower than C++? What am I doing wrong? Here is my code: using System;
1
1641
by: jazzMan007 | last post by:
Hi All - I'm using the new UrlMappings feature in an ASP.NET 2.0 application. I'm using the unique urls, mapped to shared files, in the site map. So for example, I have pages A, B, & C...all of which direct to a subpage, D. The sitemap requires URLs to be unique, so to make sure the navigation works, I've mapped AD, BD, & CD to D using the urlMappings section in the web.config file. So that all works fine an dandy. Now I'm working on...
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9566
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10317
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10300
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7607
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.