Page 1 of 3 123 LastLast
Results 1 to 15 of 32
  1. #1
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed

    help with code(something wrong with it)

    hey, im working on d3d and i was going of a tut https://www.mpgh.net/forum/33-visual-...ic-2008-a.html

    and somthing goes wrong it says it cant find the lala.dll

    Code:
    Imports System.Drawing
    
    Public Class Form1
        Private Declare Function GPSL_SetTextLineData Lib "lala.dll" (ByVal wTextPosX As Short, ByVal wTextPosY As Short, ByVal LPCTSTR As String, ByVal dwTextColor As Integer, _
    ByVal bBlackBackground As Boolean, ByVal cSize As Byte, ByVal bTextBold As Boolean, ByVal cFontFamily As Byte) As Boolean
        Private Declare Function GPSL_ShowText Lib "lala.dll" (ByVal bShowIt As Boolean)
        Dim Text1 As String = Nothing
    
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Timer1.Enabled = True
        End Sub
    
        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    
            Dim Text1 As String = Nothing
            Text1 = "[Mpgh.net]Ownz you!"
            GPSL_SetTextLineData(1064, 5, Text1, Color.FromArgb(255, 255, 0, 0).ToArgb, True, 20, True, 0)
            GPSL_ShowText(True)
    
        End Sub
    End Class

  2. #2
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    lala.dll is included with the tutorial.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  3. #3
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed
    I know but i put it in vb program files still not working

    Unable to load DLL 'lala.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

    okay now i fixed lala.dll i have a diff error

    PInvoke restriction: cannot return variants
    Last edited by tremaster; 11-09-2010 at 05:17 PM.

  4. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Exception from HRESULT: 0x8007007E is a general error, usually associated with a dll not being in the appropriate path.

    Make sure you put the dll into your bin folder and debug folder. Check again.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  5. #5
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed
    okay new error

    PInvoke restriction: cannot return variants

  6. #6
    Joshcarr2006's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    ☠☆★☆★☆☠
    Posts
    11,015
    Reputation
    917
    Thanks
    2,901
    My Mood
    Lurking
    A lot of stuff on mpgh is outdated so it may not work.
    [IMG]https://i30.photobucke*****m/albums/c335/Joshcarr2006/tumblr_lz1nrntuZf1qdxcglo1_500_zps0388a33f.gif[/IMG]

  7. #7
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed
    plz help .

  8. #8
    Hawk_'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    NGEForums.net
    Posts
    265
    Reputation
    15
    Thanks
    10
    My Mood
    Paranoid
    Quote Originally Posted by joshcarr2006 View Post
    A lot of stuff on mpgh is outdated so it may not work.
    well it was written for vb.net, why wouldn't it still work for vb.net? the ide doesn't change /

  9. #9
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Because the hacking tutorials are usually pretty old.

    On topic, now.

  10. #10
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed
    well,PInvoke restriction: cannot return variants help

  11. #11
    Kallisti's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    深い碧の果てに
    Posts
    4,019
    Reputation
    52
    Thanks
    376
    My Mood
    In Love
    Quote Originally Posted by tremaster View Post
    well,PInvoke restriction: cannot return variants help
    Thanks for telling us 4 times I couldn't catch the first few.

    未来が見えなくて怖いから
    未来が見えてしまって悲しいから
    目を閉じて優しい思い出に浸ってしまう




  12. The Following User Says Thank You to Kallisti For This Useful Post:

    Void (11-09-2010)

  13. #12
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed
    well can i have sum help?

  14. #13
    Void's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Inline.
    Posts
    3,198
    Reputation
    205
    Thanks
    1,445
    My Mood
    Mellow
    For 'ShowText' you didn't declare the return type.

    Try:
    [php]
    Private Declare Function GPSL_ShowText Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
    [/php]

  15. #14
    tremaster's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    523
    Reputation
    10
    Thanks
    95
    My Mood
    Amazed
    now nothing is showing up

  16. #15
    Hawk_'s Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    NGEForums.net
    Posts
    265
    Reputation
    15
    Thanks
    10
    My Mood
    Paranoid
    Same here..

Page 1 of 3 123 LastLast

Similar Threads

  1. [Help Request] need help with injecting code/using it
    By 0xx-kyle-xx0 in forum Combat Arms Help
    Replies: 1
    Last Post: 06-17-2018, 12:02 PM
  2. [HELP] Something wrong with profile .
    By Beatboxin Dawg in forum Suggestions, Requests & General Help
    Replies: 1
    Last Post: 07-19-2011, 12:33 PM
  3. [Help] DBased, Help Me, Something Wrong With The Code
    By Proyiehong in forum Mission Against Terror Discussions
    Replies: 0
    Last Post: 03-10-2011, 10:10 PM
  4. [HELP] Something Wrong with Modding tools.
    By Sphearow412 in forum Combat Arms Mod Discussion
    Replies: 6
    Last Post: 01-21-2010, 12:54 PM
  5. NEED help with verification code when registering!
    By vinogradov in forum WarRock Korea Hacks
    Replies: 2
    Last Post: 05-30-2007, 07:20 PM