Visual Basic DLL Form Project

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Devolten

Newbie
Full Member
Dec 29, 2012
6
172
0
Dear Forum Member ;

How I Can Embed Form To DLL


Visual Basic .Net > New Project > CLASS Library ;

If DLL_PROCESS_ATTACH Then

Form1.Show

End If

How I Can Do It ?

Thanx In Advance ...

 

Devolten

Newbie
Full Member
Dec 29, 2012
6
172
0
Not Working ;

C++:
Option Explicit On
Public Class Class1

    Public Const DLL_PROCESS_DETACH = 0
    Public Const DLL_PROCESS_ATTACH = 1
    Public Const DLL_THREAD_ATTACH = 2
    Public Const DLL_THREAD_DETACH = 3

    Public Function DllMain(ByVal Handle As Long, ByVal Durum As Long, ByVal Yer As Long) As Boolean
        Select Case Durum
            Case DLL_PROCESS_DETACH

            Case DLL_PROCESS_ATTACH
                DllMain = True
                MsgBox("Injected")
            Case DLL_THREAD_ATTACH
                DllMain = True
                MsgBox("Injected")
            Case DLL_THREAD_DETACH

        End Select
        Return True
    End Function

    Private Sub Main()
        MsgBox("Injected")
    End Sub

    Protected Overrides Sub Finalize()
        MyBase.Finalize()
    End Sub
End Class
 

Devolten

Newbie
Full Member
Dec 29, 2012
6
172
0
I Wanna , If My DLL Injected ; Form1.Show

This Code Not Doing Any Thing ...
 

Styx

Coder
Dank Tier Donator
Nobleman
Aug 14, 2012
117
648
3
Not Working ;

C++:
Option Explicit On
Public Class Class1

    Public Const DLL_PROCESS_DETACH = 0
    Public Const DLL_PROCESS_ATTACH = 1
    Public Const DLL_THREAD_ATTACH = 2
    Public Const DLL_THREAD_DETACH = 3

    Public Function DllMain(ByVal Handle As Long, ByVal Durum As Long, ByVal Yer As Long) As Boolean
        Select Case Durum
            Case DLL_PROCESS_DETACH

            Case DLL_PROCESS_ATTACH
                DllMain = True
                MsgBox("Injected")
            Case DLL_THREAD_ATTACH
                DllMain = True
                MsgBox("Injected")
            Case DLL_THREAD_DETACH

        End Select
        Return True
    End Function

    Private Sub Main()
        MsgBox("Injected")
    End Sub

    Protected Overrides Sub Finalize()
        MyBase.Finalize()
    End Sub
End Class
You forgot to add 'Sub New' (Call 'DllMain' From There).
 

mambda

headass
Escobar Tier VIP
Trump Tier Donator
Jun 25, 2014
2,305
37,938
270
Shit guys, stop necroing a post from 2013 lol
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods