Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Temas - msdl

#1
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"

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
Hello..

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

Any help ??
#3
hello..

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

example :


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


I want to align it to be like this :


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 .. ??!!?!