![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2005
Posts: 4
Rep Power: 0
![]() |
Windows API overriding
Hi,
I'm looking for a way to make windows run my code rather than it's own? For example, say i wanted to write some code to copy files from one folder to another is there a way to get windows to run my code when i drag and drop a file into another folder instead of running it's own? Any help is appreciated |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
You could write your own version of Windows Explorer.
|
|
|
|
|
|
#3 |
|
Programmer
|
You could write your own version of Windows!
...I don't think it's possible to get Windows to run your code unless there already some sort of "interface" there to plug in your code( not unlike skinning ). But, if you wanted to go in there and tell Windows to use your dll instead of twain32.dll for example, I don't think this is possible because of the closed source nature of Windows. just my $0.02, Kevin Parkinson
__________________
public class MySignature extends Post implements JavaSyntax throws NuttinHoney{
MySignature()
{
Salutation();
Name();
}
public string Salutation()
{
Screen.printLn( "Sincerely,\n" );
}
public string Name()
{
Screen.printLn( "Kevin Parkinson" );
}
} |
|
|
|
|
|
#4 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
There is indeed! Although it is insanely obfuscated and complicated. Both Windows Explorer and Internet Explorer accept plugins called browser helper objects, but windows explorer has some more options. Read up on "Shell Extensions". That should point you in the right direction. However, in both cases I believe you must use COM. Nasty.
|
|
|
|
|
|
#5 |
|
Programmer
|
Obfuscated...COM...Ouch! - sounds like a whole lot of hard work...I like the idea of building your own Windows Explorer.
__________________
public class MySignature extends Post implements JavaSyntax throws NuttinHoney{
MySignature()
{
Salutation();
Name();
}
public string Salutation()
{
Screen.printLn( "Sincerely,\n" );
}
public string Name()
{
Screen.printLn( "Kevin Parkinson" );
}
} |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|