Results 1 to 8 of 8
  1. #1
    spartacchio's Avatar
    Join Date
    Aug 2007
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    1

    Question [PLEASE HELP ME] Dll+Popup dialog box

    I create 5 new dialog box and also create a dll with my warrock functions (supejump,nfd....).
    i declared that dll in xxxDlg.cpp main(correctly),BUT when i call those (dll) functions in other popup NewDialog visual c++ say to me that those functions are undeclared(but i've decvlared it correctly in main xxxDlg.cpp file,i'm sure).
    How can i call/declared those functions in other NewDialog Popup?
    When(in the code) i need to declared those functions?Can u post an example or just say to me..??!!

    PLZ PLZ PLZ i try to fix those errors but i get More ERRORS and i don't know how to declare/call those dll functions..

    PS:sry for my bad eng

    Thx a lot to people who answer to my question..thx too much!

  2. #2
    castaway's Avatar
    Join Date
    Mar 2007
    Location
    In a BIG Box.
    Posts
    1,636
    Reputation
    14
    Thanks
    97
    Please provide source...
    Without we can't help...

  3. #3
    spartacchio's Avatar
    Join Date
    Aug 2007
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by thimo View Post
    Please provide source...
    Without we can't help...
    Thx for help

    MEGAUPLOAD - The leading online storage and file delivery service
    Last edited by spartacchio; 03-14-2008 at 01:45 PM.

  4. #4
    spartacchio's Avatar
    Join Date
    Aug 2007
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    1
    Sry for the reply BUT someone can REALLY help me?
    i need only to know if and where i shoul declare my dll functions(i've just declared it in xxxDlg.cpp main file)..

    PLZPLZPLZ

  5. #5
    GG2GG's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    United Kingdom
    Posts
    3,382
    Reputation
    21
    Thanks
    4,294,967,295
    My Mood
    Blah
    Quote Originally Posted by spartacchio View Post

    2 posts and you said "thanks for help" and u still need help

  6. #6
    spartacchio's Avatar
    Join Date
    Aug 2007
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by gg2gg View Post
    2 posts and you said "thanks for help" and u still need help
    thx if u want to help me...
    nobody know how to resolve my problem??

  7. #7
    Alen's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Location
    Liquid Generator
    Posts
    27,920
    Reputation
    2548
    Thanks
    4,224
    My Mood
    Fine
    Quote Originally Posted by spartacchio View Post
    thx if u want to help me...
    nobody know how to resolve my problem??
    Some of us can't even download form megauploud, takes around 8 hours of waiting time.

  8. #8
    spartacchio's Avatar
    Join Date
    Aug 2007
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by mastasnip3 View Post
    Some of us can't even download form megauploud, takes around 8 hours of waiting time.
    ok,but i try to upload my source here but i can't.
    i've declared my dll functions on the top of xxxDlg.cpp (i talk NOW about the main dialog box)

    HINSTANCE hDLL = NULL;


    // 1) Teleport
    typedef void (*STAMINA)();
    STAMINA Stamina;


    // 2) Teleport
    typedef void (*TELEPORT)(float x, float y, float z);
    TELEPORT Teleport;


    and in the middle of file:[ OnInitDialog() ]

    hDLL = AfxLoadLibrary("LH1337DLL");

    if( hDLL == NULL )
    {
    MessageBox("Could not load LH1337DLL.dll");
    }
    else
    {
    Stamina = (STAMINA)GetProcAddress(hDLL, "Stamina");
    Teleport = (TELEPORT)GetProcAddress(hDLL, "Teleport");
    }

    i need to declare in the same mode my dll functions also in my new Dialog boxes??


    here's 1 of my dialog boxes

    // vip.cpp : implementation file
    //

    #include "stdafx.h"
    #include "0o0PrivateViP0o0.h"
    #include "vip.h"


    #ifdef _DEBUG
    #define new DEBUG_NEW
    #undef THIS_FILE
    static char THIS_FILE[] = __FILE__;
    #endif










    /////////////////////////////////////////////////////////////////////////////
    // Cvip dialog


    Cvip::Cvip(CWnd* pParent /*=NULL*/)
    : CDialog(Cvip::IDD, pParent)
    {
    //{{AFX_DATA_INIT(Cvip)
    m_1 = FALSE;
    m_2 = FALSE;
    m_3 = FALSE;
    m_4 = FALSE;
    m_5 = FALSE;

    //}}AFX_DATA_INIT
    }


    void Cvip:oDataExchange(CDataExchange* pDX)
    {
    CDialog:oDataExchange(pDX);
    //{{AFX_DATA_MAP(Cvip)
    DDX_Check(pDX, IDC_CHECK1, m_1);
    DDX_Check(pDX, IDC_CHECK2, m_2);
    DDX_Check(pDX, IDC_CHECK3, m_3);
    DDX_Check(pDX, IDC_CHECK4, m_4);
    DDX_Check(pDX, IDC_CHECK5, m_5);
    //}}AFX_DATA_MAP
    }


    BEGIN_MESSAGE_MAP(Cvip, CDialog)
    //{{AFX_MSG_MAP(Cvip)
    ON_BN_CLICKED(IDC_CHECK1, OnUnlammo)
    ON_BN_CLICKED(IDC_CHECK2, OnKick)
    ON_BN_CLICKED(IDC_CHECK3, OnNobonda)
    ON_BN_CLICKED(IDC_CHECK4, OnVgps)
    ON_BN_CLICKED(IDC_CHECK5, OnBoxes)
    //}}AFX_MSG_MAP
    END_MESSAGE_MAP()

    /////////////////////////////////////////////////////////////////////////////
    // Cvip message handlers



    void Cvip::OnUnlammo()
    {
    int NAME;

    CButton* pCheck = (CButton*)GetDlgItem(IDC_CHECK1);

    NAME = pCheck->GetCheck(), 1;


    if (NAME)
    Ammo();
    else
    Ammooff();// TODO: Add your control notification handler code here

    }

    void Cvip::OnKick()
    {
    int NAME;

    CButton* pCheck = (CButton*)GetDlgItem(IDC_CHECK2);

    NAME = pCheck->GetCheck(), 1;


    if (NAME)
    Kik();
    else
    Kikoff(); // TODO: Add your control notification handler code here

    }

    void Cvip::OnNobonda()
    {
    int NAME;

    CButton* pCheck = (CButton*)GetDlgItem(IDC_CHECK3);

    NAME = pCheck->GetCheck(), 1;


    if (NAME)
    SetTimer(DODICITIMER, 1, NULL);
    else
    KillTimer(DODICITIMER);
    }

    void Cvip::OnVgps()
    {
    int NAME;

    CButton* pCheck = (CButton*)GetDlgItem(IDC_CHECK4);

    NAME = pCheck->GetCheck(), 1;


    if (NAME)
    Vgps();
    else
    Vgpsoff();

    }

    void Cvip::OnBoxes()
    {
    int NAME;

    CButton* pCheck = (CButton*)GetDlgItem(IDC_CHECK5);

    NAME = pCheck->GetCheck(), 1;


    if (NAME)
    Boxes();
    else
    Boxesoff();

    }
    where i should put the dll call functions?

Similar Threads

  1. [Help Request] Qmo please help .
    By SnowBlitz in forum Piercing Blow Help
    Replies: 6
    Last Post: 11-26-2011, 04:16 AM
  2. My entire desktop is GONE :S... please help
    By Beer_Hunter in forum Suggestions, Requests & General Help
    Replies: 12
    Last Post: 02-08-2007, 04:51 PM
  3. Please Help!
    By Evangelyon in forum WarRock - International Hacks
    Replies: 13
    Last Post: 05-29-2006, 12:48 PM
  4. Please Help Me!!!
    By Jackal in forum General
    Replies: 4
    Last Post: 05-17-2006, 02:55 PM
  5. please help
    By jeehad in forum General Game Hacking
    Replies: 2
    Last Post: 02-07-2006, 04:04 PM

Tags for this Thread