Hi whosrDaddy
I'm just trying to achieve a personal fireall that works on XP and Windows 7.
The problem is that code only works on XP, and I hope you have the idea how it will work.
I've already done checking the api, and as I noticed there are lot of additional functions, but still the...
http://delphi.wikia.com/wiki/Good_Quality_Applications_Built_With_Delphi#Hi-Profile_Delphi_Applications_List
Add your application
Delphi Vampire Rocks
Any comment?
//OK, sorry
//Whats the problem in this with windows 7?
unit fltdefs;
////////////////////////////////////////////////////////////////////////////////
//
// Delphi conversion of fltdefs.h for use with the IPHLPAPI.DLL
//...
//This is a lite firewall code
//Doesn't run on windows7, but good on winXP
//We Need to run this program in windows7
//Thank you
unit fltdefs;
////////////////////////////////////////////////////////////////////////////////
//
// Delphi conversion of fltdefs.h for use with the IPHLPAPI.DLL...
Ok,
The first code was from whosrdaddy?
But,it's not complete, it only gets the filename during a click. I need the path and filename. So I explored the second code to do so if possible.
The second code was from other delphi masters/geeks.
I just got an idea to mix up the [dragacceptfiles]...
Thank you, but, I don't understand, that you repost the code again with the same code originally posted that never work to get the path and file name with just a click, what do you mean that your showing another link about TGML, I think this has nothing to do with the codes I post. Please let...
//I don't know if this is easier or not, but the code is not complete also. (getting the path and filename with dropacceptfiles then automate a dragdrop in listbox.
unit Unit1;
interface
uses
ShellApi,
clipbrd,
shlobj,
psapi,
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls...
Hello
There is no problem with the code, the code gets the filename of the selected file anywhere in windows, but it would be better to get the path also with the filename
eq:
image1.jpg = (present code only shows)
c:\windows\images\image1.jpg = has the path and filename (which is better)...
I'm making a file viewer by clicking the file anywhere in windows explorer (not mouse over by others), and I need that code to work, the code was originaly written by someone's name (whosrdaddy's)? I'm not sure of it, but I know that one of the member of tek-tips contributed that code.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.