confused with declaration section .. help

Here you will find tutorials that will help you with programming.

confused with declaration section .. help

Postby steven » Fri Feb 08, 2008 8:58 am


i dont know how locohacer declare the functions .. on the declaration section but i think there's a way to do that easly but i dont know how .. :roll:
steven
imFiles Newbie
imFiles Newbie
 
Posts: 14
Joined: Thu Feb 07, 2008 11:55 am

Re: confused with declaration section .. help

Postby Ghost » Fri Feb 08, 2008 9:06 am

Dim penis AsString?
(10:37 AM) NME: the color of shit is awsome

"Return the sword to its scabbard.
In the place where you were created,
in the land of your ancestry,
I will judge you."

Ezekiel 21:30
User avatar
Ghost
imFiles God
imFiles God
 
Posts: 2130
Joined: Tue Aug 01, 2006 1:52 am

Re: confused with declaration section .. help

Postby steven » Fri Feb 08, 2008 9:17 am

Public Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hWnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
Public Declare Function GetParent& Lib "user32" (ByVal hWnd As Long)
Public Declare Function IsWindowVisible& Lib "user32" (ByVal hWnd As Long)
Public Declare Function EnumWindows& Lib "user32" (ByVal lpEnumFunc As Long, ByVal lParam As Long)
Public Declare Function SendMessageByString Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long
Public Declare Function SendMessageLong& Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long)
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Public Declare Function GetWindow Lib "user32" (ByVal hWnd As Long, ByVal wCmd As Long) As Long
steven
imFiles Newbie
imFiles Newbie
 
Posts: 14
Joined: Thu Feb 07, 2008 11:55 am

Re: confused with declaration section .. help

Postby Ghost » Fri Feb 08, 2008 12:54 pm

Wait, so what's your question?
(10:37 AM) NME: the color of shit is awsome

"Return the sword to its scabbard.
In the place where you were created,
in the land of your ancestry,
I will judge you."

Ezekiel 21:30
User avatar
Ghost
imFiles God
imFiles God
 
Posts: 2130
Joined: Tue Aug 01, 2006 1:52 am


Return to Programming Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests