Register for your free account! | Forgot your password?

You last visited: Today at 02:38

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


VB6 Proxy - Vb.Net comparision

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 303
Received Thanks: 155
VB6 Proxy - Vb.Net comparision

hi again, another problem but much farther ive got now, Im converting to VB.Net and have fixed all the Syntex errors but I have a problem with the following line:
Code:
Public Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As [COLOR="red"]Any[/COLOR], ByVal lpBuffer As [COLOR="Red"]Any[/COLOR], ByVal nSize As Long, ByVal lpNumberOfBytesWritten As Long) As Long
Obviously 'as any' isnt supported in delcare funtions in vb.net, would anyone know the vb.net version of the any value? thanks again.




ok i found my problem
Quote:
As Any not allowed in VB.NET. As Any will not be allowed in API declarations. Get prepared by adding a separate API declaration for all parameter types you may need. Can be fixed before or after upgrade.
what it mean by declaraion for parameter types?
Quote:
VB.NET does not support the Any keyword. You must specifically declare the data type of every argument and of the return.
any ideas?



NovaCygni is offline  
Old 01/10/2008, 04:26   #2
 
elite*gold: 20
Join Date: Mar 2006
Posts: 1,492
Received Thanks: 535
They both would be char/string. They'd be an array of type char if other languages. Convert that to VB =)


bone-you is offline  
Thanks
1 User
Old 01/10/2008, 05:39   #3
 
elite*gold: 0
Join Date: Jan 2008
Posts: 303
Received Thanks: 155
Quote:
Originally Posted by bone-you View Post
They both would be char/string. They'd be an array of type char if other languages. Convert that to VB =)
array of type char is c++ so if i find the VB value for that I have my value? thankyou
NovaCygni is offline  
Old 01/10/2008, 07:02   #4
 
elite*gold: 0
Join Date: Aug 2005
Posts: 359
Received Thanks: 14
Change as any to as object

~Chris
ChrisR872 is offline  
Reply



« Where arch spawn in lab 2 & lab3 & lab4 | Price Cheak »

Similar Threads
[How To] Proxy use/ Proxy Lists (~10k)!!!
08/26/2010 - Tutorials - 3 Replies
hey Com, ich wurde letztens gefragt ob ich ein paar proxys habe und wie er sie benutzen kann. Ok, dachte ich mir machs public: Was braucht ihr? -Proxifier -Proxies
Proxy geht nicht/Proxy doesn´t work
08/10/2010 - Metin2 PServer - Discussions / Questions - 0 Replies
Folgendes Problem: Squid ist installiert. Startet anscheinend nicht richtig, funktioniert einfach nicht. Die Meldung welche kommt, wenn man startet: 2010/08/10 17:02:26| Starting Squid Cache version 2.7.STABLE9 for i386-portbld-freebsd7.1... 2010/08/10 17:02:26| Process ID 1952 2010/08/10 17:02:26| With 11095 file descriptors available 2010/08/10 17:02:26| Using kqueue for the IO loop
Wer will ne Proxy ? Ja genau du willst ne Proxy xD !
07/23/2010 - Metin2 PServer - Discussions / Questions - 11 Replies
Moin, Wer hat einen Root-Server und will eine Proxy ? Proxy: Proxy ermöglicht dir deine IP zu ändern die dan auch die selbe bleibt. Dadurch hast du auf einem DynDNS oder Root-Server 24/7 GM-Rechte..... Ich hab nen Install script das ich den auch Pub machen werde Aber davor testen möchte.
4326 PROXY FIX Post All Proxy Fixes Here
11/26/2006 - CO2 Exploits, Hacks & Tools - 22 Replies
post only the fixes for proxy here plz dont post original file. NO QUESTIONS PLZ. DONT ASK FOR ORIGINAL QOPROXY. just search and hope u dont get the keylogged version :P Fix for patch4326 (not really an intentional patch for proxy. required little editing ;)) replace old ini in qoproxy folder with this one



All times are GMT +1. The time now is 02:38.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.