Register for your free account! | Forgot your password?

You last visited: Today at 04:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Problem Vb 6

Discussion on Problem Vb 6 within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
Chegga's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 16
Received Thanks: 0
Problem Vb 6

Immer wenn ich ein Warrock-Modul hinzufügen will kommt 4mal die Meldung:
"As Any" wird in Declare-Anweisungen nicht unterstützt
und:
Der Name "hProcess" wurde nicht deklariert. Kann mir hier jemand helfen?
Ich benutze Visual Basic 2008 Express Edition.
Ich hoffe jemand kann mir helfen.

Hier noch das Modul:

Quote:
Public Const WWWWWFFWM = &H1F0FFF
Dim f1holder As Integer
Dim timer_pos As Long

'API Declaration
Public Declare Function WHTMSULFJ Lib "user32" Alias "GetWindowThreadProcessId" (ByVal hWnd As Long, lpdwProcessId As Long) As Long
Public Declare Function HTMSULFJW Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Public Declare Function TMSULFJWH Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
Public Declare Function MSULFJWHT Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Long) As Long
Public Declare Function SULFJWHTM Lib "user32" Alias "FindWindowA" (ByVal Classname As String, ByVal WindowName As String) As Long
Public Declare Function ULFJWHTMS Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer
Public Declare Function LFJWHTMSU Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, ByRef lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long

Public Function WHTMSLUJF(WWWWWULJF As String, HHHMSULJF As Long, TTTMSULJF As Long) 'WriteALong
Dim FJWHTMSUL As Long
Dim WHTMSULJF As Long
Dim WHTMSUFJL As Long
FJWHTMSUL = SULFJWHTM(vbNullString, WWWWWULJF)
If (FJWHTMSUL = 0) Then
End
Exit Function
End If
WHTMSULFJ FJWHTMSUL, WHTMSULJF
WHTMSUFJL = HTMSULFJW(WWWWWFFWM, False, WHTMSULJF)
If (WHTMSUFJL = 0) Then
Exit Function
End If
TMSULFJWH WHTMSUFJL, HHHMSULJF, TTTMSULJF, 4, 0&
MSULFJWHT SSSSWSUSM
End Function

Public Function WHTMUSLJF(WWWWWULJF As String, HHHMSULJF As Long, MMMMSULJF As Long) 'ReadALong
Dim FJWHTMSUL As Long
Dim WHTMSULJF As Long
Dim WHTMSUFJL As Long
FJWHTMSUL = SULFJWHTM(vbNullString, WWWWWULJF)
If (FJWHTMSUL = 0) Then
End
Exit Function
End If
WHTMSULFJ FJWHTMSUL, WHTMSULJF
WHTMSUFJL = HTMSULFJW(WWWWWFFWM, False, WHTMSULJF)
If (WHTMSUFJL = 0) Then
Exit Function
End If
LFJWHTMSU WHTMSUFJL, HHHMSULJF, MMMMSULJF, 4, 0&
MSULFJWHT SSSSWSUSM
End Function

Public Function WHMTSULJF(WWWWWULJF As String, HHHMSULJF As Long, MMMMSULJF As Single) 'ReadAFloat
Dim FJWHTMSUL As Long
Dim WHTMSULJF As Long
Dim WHTMSUFJL As Long
FJWHTMSUL = SULFJWHTM(vbNullString, WWWWWULJF)
If (FJWHTMSUL = 0) Then
End
Exit Function
End If
WHTMSULFJ FJWHTMSUL, WHTMSULJF
WHTMSUFJL = HTMSULFJW(WWWWWFFWM, False, WHTMSULJF)
If (WHTMSUFJL = 0) Then
Exit Function
End If
LFJWHTMSU WHTMSUFJL, HHHMSULJF, MMMMSULJF, 4, 0&
MSULFJWHT SSSSWSUSM
End Function

Public Function HWTMSULJF(WWWWWULJF As String, HHHMSULJF As Long, TTTMSULJF As Single) 'WriteAFloat
Dim FJWHTMSUL As Long
Dim WHTMSULJF As Long
Dim WHTMSUFJL As Long
FJWHTMSUL = SULFJWHTM(vbNullString, WWWWWULJF)
If (FJWHTMSUL = 0) Then
End
Exit Function
End If
WHTMSULFJ FJWHTMSUL, WHTMSULJF
WHTMSUFJL = HTMSULFJW(WWWWWFFWM, False, WHTMSULJF)
If (WHTMSUFJL = 0) Then
Exit Function
End If
TMSULFJWH WHTMSUFJL, HHHMSULJF, TTTMSULJF, 4, 0&
MSULFJWHT SSSSWSUSM
End Function

Public Function MHWMSULJF(WWWWWULJF As String, HHHMSULJF As Long, TTTMSULJF As Byte) 'WriteAByte
Dim FJWHTMSUL As Long
Dim WHTMSULJF As Long
Dim WHTMSUFJL As Long
FJWHTMSUL = SULFJWHTM(vbNullString, WWWWWULJF)
If (FJWHTMSUL = 0) Then
End
Exit Function
End If
WHTMSULFJ FJWHTMSUL, WHTMSULJF
WHTMSUFJL = HTMSULFJW(WWWWWFFWM, False, WHTMSULJF)
If (WHTMSUFJL = 0) Then
Exit Function
End If
TMSULFJWH WHTMSUFJL, HHHMSULJF, TTTMSULJF, 1, 0&
MSULFJWHT SSSSWSUSM
End Function

Public Function JHTMSULFW(WWWWWULJF As String, HHHMSULJF As Long, MMMMSULJF As Byte) 'ReadAByte
Dim FJWHTMSUL As Long
Dim WHTMSULJF As Long
Dim WHTMSUFJL As Long
FJWHTMSUL = SULFJWHTM(vbNullString, WWWWWULJF)
If (FJWHTMSUL = 0) Then
End
Exit Function
End If
WHTMSULFJ FJWHTMSUL, WHTMSULJF
WHTMSUFJL = HTMSULFJW(WWWWWFFWM, False, WHTMSULJF)
If (WHTMSUFJL = 0) Then
Exit Function
End If
LFJWHTMSU WHTMSUFJL, HHHMSULJF, MMMMSULJF, 1, 0&
MSULFJWHT SSSSWSUSM
End Function
Chegga is offline  
Old 12/24/2008, 16:12   #2
 
Atheuz's Avatar
 
elite*gold: 81
Join Date: Jul 2005
Posts: 1,921
Received Thanks: 2,239
Ohne dich anzugreifen, aber wie wärs mal mit Syntax lernen? :|
Atheuz is offline  
Thanks
1 User
Old 12/24/2008, 16:25   #3
 
Chegga's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 16
Received Thanks: 0
Quote:
Originally Posted by Atheuz View Post
Ohne dich anzugreifen, aber wie wärs mal mit Syntax lernen? :|
Alles klar ich informier mich mal drüber. Danke dir.
Chegga is offline  
Reply


Similar Threads Similar Threads
Metin 2 Pserver Problem/ Lösung für das Matrix Kartennummer Problem
01/04/2010 - Metin2 Private Server - 3 Replies
Hy Leute Wie in der Überschrift genannt, hab ich gerade ein Problem mit meinem Metin 2Server. Ich lasse ihn via Loopbackadapter laufen, funktioniert auch ganz gut. Ich hab aber jetzt das Poblem, das in meinem Account nur noch Krieger mit Level null stehen. Wie kann ich das Beheben??, das is auch manchmal da, wenn ich via Navicat n neuen Account mach. Hoffe einer hatt ne Lösung Hab n Screenshot im Anhang Aber ich hab ja auch ne Lösung für n anderes Problem. Gestern hatte ich beim...
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +1. The time now is 04:27.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.