Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 17th, 2005, 12:37 PM   #1
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 3 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
Question Need Win32 C code.....

Greetings, oh great and wise programming gurus.

I need some sample code (in C) that I can use to:
Run an uninstaller quietly,
Delete files and folders,
Delete a registry key,
and clean out temporary internet files.

I'm attempting to write a program that removes a specific adware.

I thank you a thousand times for your help, programming gurus.
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote
Old Oct 17th, 2005, 1:26 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
So.....why aren't YOU writing it?? If you want to hire something done (even for free), there's an appropriate forum. This one is for getting help, as opposed for getting freebies. Your propensity for bullshit probably isn't going to help you much, either. Perhaps it's not bullshit -- perhaps you take us for idiots.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 17th, 2005, 1:32 PM   #3
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Prm, sure i'll code that for you -- $1000 please.










Yea, DaWei pretty much covered it -- we aren't exactly a preteen friendly place.
__________________

tempest is offline   Reply With Quote
Old Oct 17th, 2005, 1:38 PM   #4
jim mcnamara
Hobbyist Programmer
 
Join Date: Jun 2005
Location: New Mexico
Posts: 228
Rep Power: 4 jim mcnamara is on a distinguished road
Download Spybot S&D http://www.safer-networking.org/en/download/
Download Adaware http://www.lavasoftusa.com/software/adaware/
jim mcnamara is offline   Reply With Quote
Old Oct 17th, 2005, 2:02 PM   #5
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,623
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
I recommend if you want to learn how to do that kind of stuff to go to MSDN and/or somewhere that you can find out about the Win32 API's, Im guessing that is how you would go about doing what you want to do.


http://www.winprog.org/tutorial/

here is a basic win32 api tutorial
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote
Old Oct 17th, 2005, 2:10 PM   #6
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 3 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
Maybe, DaWei, I'm trying to LEARN here, and sample code would be good for me to look at and learn from that. Did you ever think of that? No, I don't take you for an idiot, but I'm sitting here trying to learn and if someone would freaking show me how to do it instead of running their mouths about something a noob said, that would be great. And I didn't ask you to code it for me. And why the crap you think I am full of bullshit is beyond me because all I did was ask a simple question.
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote
Old Oct 17th, 2005, 2:28 PM   #7
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Listen up Prm, stop your bitching. The best way for you to learn, is by going to get a book on C and the Win32 Api... if you'd like we can suggest books you can get and learn from. Honestly, you're a selfish little prick who needs to have more respect if you want help from anybody.

Look at your post again, there's no question to why we can't tell what you think you're trying to do from a script kiddy trying to be malicious...
__________________

tempest is offline   Reply With Quote
Old Oct 17th, 2005, 2:31 PM   #8
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Reread your own post with but a mere modicum of common sense. When you're through barfing on your shoes, you might want to apply some rational thought to your wants and needs. Meanwhile, you've been given links. Follow them. You might also put on your to-do list the reading of the forum's rules/FAQ and a "How to Post...." thread.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Oct 17th, 2005, 2:47 PM   #9
Prm753
Professional Programmer
 
Prm753's Avatar
 
Join Date: Oct 2005
Location: United States
Posts: 447
Rep Power: 3 Prm753 is on a distinguished road
Send a message via AIM to Prm753 Send a message via MSN to Prm753
Hold up a minute. First off, I have gotten books on C and the Win32 API, and I have read them. Secondly, I am not trying to do anything malicius to anyones pc. If you want my Win32 shell code I will gladly post it here. I have respect for all of the people (especially DaWei, who has been working with PC's for a very long time) What I was asking was for some code that would help my program do something, and I could learn from this. I have browsed MSDN (and am doing it now) without much success. I didn't mean to start an argument. I just saw that yall had much more experiance with programming and I thought you could give a noob some help. That's all. And I apoligise for my previous post for bitc*ing so much but being called full of bulls**t kinda pissed me off.
__________________
The world's first athletic computer geek!
The home of PrProgramsStudios
How not to post a question: <-- Please don't reply
Prm753 is offline   Reply With Quote
Old Oct 17th, 2005, 2:55 PM   #10
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
check into the unlink() function for file deletion, follow the links to the Win32 API for other solutions. I'd steer clear of an OS specific API and try to make your code more streamlined for other operating systems as well... particularly linux.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:58 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC