LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 628 users online 224905 members 747 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Four King Ace
Peeves: This is the way, step inside...
Mood: Carefree
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
4 online / 33 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Adding Reply

Quoting Post
Archived Topic: It will not be bumped to the top of the forum.
Topic Windows API question
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
shadowpool Posted at 6:53 am on June 13, 2006
.

Replies
PraveenScience Posted at 9:40 am on July 20, 2006
Actually what was the software you were using for these things?
shadowpool Posted at 4:32 pm on June 13, 2006
Got it!

Code:
GetProgramPath proc
invoke GetModuleFileName, NULL,addr Path,sizeof Path
std
mov edi,offset Path
add edi,sizeof Path-1
mov al,"\"
mov ecx,sizeof Path
repne scasb
cld
mov byte ptr [edi+2],0
ret
GetProgramPath endp

GetModuleFileName was what I needed  

All 2 previous replies displayed.