640 users online
223803 members
1305 active today
Advertise Here
Photos
|
Quizzes
|
LiveSecret
|
Memberlist
|
Dictionary
|
News
|
FAQ
Member Spotlight
whoisabs
Interests:
history, international affairs, nes...
Days Active:
1
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
3 online / 58 MPM
Fresh Topics
How many people that deny
hmmm, you really do get more bees with vinegar than you do with honey.
im tired...
Good days and bad ones
Friends with boundry issues aren't so nice.
homemade popcorn
I hate abs
Post ITT: if you have a debit card.
have you....
I got my debit card declined!
would u rather...
My puppy...
I'm still waiting.
my brother and the christmas tree
So Imagine This
so... Yeah... Overly Pathetic?
Moving Houses.
no fucking way
This is a public service announcement.
very unfair...
Just curious- scienceish question
More 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:
Verdana
Arial Black
Georgia
Comic Sans
Impact
Size:
Tiny
Normal
Big
Huge
Color:
Default
Dark Red
Red
Orange
Brown
Green
Olive
Cyan
Blue
Dark Blue
Indigo
Black
[
Check Spelling
] [
Post Preview
] [
LiveTags
]
Quote: from [m]shadowpool[/m] at 6:53 am on June 13, 2006[quote].[/quote]
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.
Tooltip