| View previous topic :: View next topic |
| Author |
Message |
TheSorc3r3r I post too much
Reputation: 0
Joined: 06 Sep 2006 Posts: 2404
|
Posted: Thu Sep 13, 2007 8:40 am Post subject: |
|
|
| Programmer wrote: | | kittonkicker wrote: | | Can you even call APIs in VB? I've never tried XD |
Yeah, but its fucking stupid =P |
yeah lol, you have to use a million keywords to declare it. it's like
dim private sub export dll FunctionName with by arguments (something as long, somethingelse as long), blah blah blah
_________________
Don't laugh, I'm still learning photoshop! |
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Sat Sep 15, 2007 1:24 am Post subject: |
|
|
look up "dont point at me!" article on how to control memory pointers in VB6.
It's effing crazily long so I didn't read it.
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Sep 15, 2007 2:30 pm Post subject: |
|
|
Calling API in VB6 isn't hard. Yes, it's more work then other languages because it does not contain a centalized include system like C++ does but, it doesn't make it impossible or insanely hard like you guys make it seem lol.
An API such as OpenProcess which is used a lot in hacking would be declared like this in VB6:
| Code: | | Public Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long |
If you took the time to look at the header files in C++, it's just as long as this, the work is just done for you already.
|
|
| Back to top |
|
 |
Trow Grandmaster Cheater
Reputation: 2
Joined: 17 Aug 2006 Posts: 957
|
Posted: Sat Sep 15, 2007 8:13 pm Post subject: |
|
|
we actually have enough facility to make "header files" in VB6: make a module containing everything the C++ headers do.
but overhead.. yeah.
_________________
Get kidnapped often. |
|
| Back to top |
|
 |
|