elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Los 10 CVE más críticos (peligrosos) de 2020


  Mostrar Temas
Páginas: [1]
1  Programación / Programación Visual Basic / [HELP] How to use & invoke API function "MulDiv" en: 29 Abril 2012, 15:47 pm
Hello..
The Win32 API function MulDiv can be used to get the address of a variable.
It can be used as an alternative for StrPtr/VarPtr/ObjPtr..
I've already managed to use it as a replacement for VarPtr but I couldn't find out how
to use it as StrPtr/ObjPtr!!

example: "Credit's to karcrack"
Código:
Private Declare Function var2ptr Lib "KERNEL32" Alias "MulDiv" (ByRef a As Any, Optional ByVal b As Long = 1, Optional ByVal c As Long = 1) as Long
            Dim x   As Long
 
            x = 1337
            MsgBox "Is it working? " & Format$(var2ptr(x) = VarPtr(x), "Yes/No")

I need help to:
1. Use it as replacement for StrPtr/ObjPtr.
2. know how to invoke this API.
2  Programación / Programación Visual Basic / [Help] Add Data To Resource As (MENU\Dialog\..) ? en: 30 Marzo 2011, 15:24 pm
Hello..

How to add data to file resource as DIALOG or MENU or ...
using reshacker or UpdateResource API ??

Any help ??
3  Programación / Programación Visual Basic / [HELP] Align Text ! en: 21 Marzo 2011, 11:54 am
hello..

I just wonder how to Align Text to left direction ...

example :

Código:
     Name : XXXX XXXX
       Age : 23
   Skills : XXXX, XXXX , XXXX
            Address : XXXXX XXXX ( XXXX )

I want to align it to be like this :
Código:

 Name : XXXX XXXX
 Age : 23
 Skills : XXXX, XXXX , XXXX
 Address : XXXXX XXXX ( XXXX )

with no space before words or with specific number of spaces ..

any idea .. ??!!?!
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines