617 users online
223843 members
746 active today
Advertise Here
Photos
|
Quizzes
|
LiveSecret
|
Memberlist
|
Dictionary
|
News
|
FAQ
Member Spotlight
Darraaagh
Le monde entier dépend de tes yeux purs Et tout mon s...
Mood:
Lonely
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
6 online / 22 MPM
Fresh Topics
My dick went up in flames
My dad is black
So I realized my boyfriend and brother look similar
I don't masturbate because i'm bored
Your favorite food?
They need to stop interfering
NOOOO...
I'm thinking of going over the state border to get a tattoo.
I'm 16! Why should I still have to suck my dads dick?
Does anyone else constantly move their feet in bed?
I really hate the whiny bitches on this site sometimes...
Indian Cab Driver Goes Everywhere Backwards
I want the world to be a bit more like this one day.
Holy fuck
to swallow or not to swallow...
FTW: last nite I
Kings of Medicine
how many people logged on now are serial killers?
I've had unprotected sex with strangers
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 4:32 pm on June 13, 2006[quote]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[/code] GetModuleFileName was what I needed :rolleyes: [/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