Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 06:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Gui + dll

Discussion on Gui + dll within the Nostale forum part of the MMORPGs category.

Reply
 
Old   #1
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Smile Gui + dll

Hello dear community, i have the next problem, i would like to use a gui for my dll to display information and interact with the dll but i can't find a way of doing it. I know you can create a gui very easy with Qt but i dont know how to implement that to my dll. Does anyone know how to do it? I'd very thankful
Hatz~ is offline  
Old 10/01/2020, 15:19   #2

 
FI0w's Avatar
 
elite*gold: 50
Join Date: Jul 2014
Posts: 1,700
Received Thanks: 1,165
Quote:
Originally Posted by Hatz~ View Post
Hello dear community, i have the next problem, i would like to use a gui for my dll to display information and interact with the dll but i can't find a way of doing it. I know you can create a gui very easy with Qt but i dont know how to implement that to my dll. Does anyone know how to do it? I'd very thankful
You could use CLI its outdated but yea you can still implement a QT GUI inside a dll just use google first few links should have the answer.
FI0w is offline  
Old 10/01/2020, 15:46   #3
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Quote:
Originally Posted by FI0w View Post
You could use CLI its outdated but yea you can still implement a QT GUI inside a dll just use google first few links should have the answer.
Would you mind sharing that? I already searched but everything i found doens't solve my question. I'd very thankful
Hatz~ is offline  
Old 10/01/2020, 17:07   #4
 
elite*gold: 0
Join Date: Oct 2018
Posts: 257
Received Thanks: 207
You can also hook direct3d9 to make an "internal gui" lot of interisting stuff on google by searching "hook direct3d9 imgui" for example
Apourtartt is offline  
Thanks
1 User
Old 10/01/2020, 17:33   #5
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Quote:
Originally Posted by Apourtartt View Post
You can also hook direct3d9 to make an "internal gui" lot of interisting stuff on google by searching "hook direct3d9 imgui" for example
Ty for the answer, but i'd like to make it external gui
Hatz~ is offline  
Old 10/01/2020, 18:01   #6
 
WalrossGreat's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 871
Received Thanks: 1,229
This project uses Qt for external GUI in DLL that you can inject into game
WalrossGreat is offline  
Thanks
1 User
Old 10/01/2020, 18:15   #7
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
I was just looking at that project when i saw your answer lol. Im trying to make a simple program dll with a gui but im getting a lot of errors. This is the code i want to work:
Code:
#include "mainwindow.h"
#include <windows.h>
#include <QApplication>

DWORD WINAPI DLLStart(LPVOID param)
{
    int argc = 0;
    QApplication app(argc, NULL);
    MainWindow window;
    window.show();
    app.exec();

    return 0;
}

void MyThread()
{
    // My code would be here
}


BOOL APIENTRY  DllMain(HINSTANCE hinstDLL, DWORD reason,LPVOID lpReserved)
{
    if (reason == DLL_PROCESS_ATTACH)
    {
        CreateThread(0, 0, DLLStart, 0, 0, 0);
        DisableThreadLibraryCalls(hinstDLL);
        CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MyThread, 0, 0, 0);
    }
    return TRUE;
}
And this are the errors:



I just made a qt application and changed the main file

Hatz~ is offline  
Old 10/01/2020, 18:31   #8

 
FI0w's Avatar
 
elite*gold: 50
Join Date: Jul 2014
Posts: 1,700
Received Thanks: 1,165
Quote:
Originally Posted by Hatz~ View Post
I was just looking at that project when i saw your answer lol. Im trying to make a simple program dll with a gui but im getting a lot of errors. This is the code i want to work:
Code:
#include "mainwindow.h"
#include <windows.h>
#include <QApplication>

DWORD WINAPI DLLStart(LPVOID param)
{
    int argc = 0;
    QApplication app(argc, NULL);
    MainWindow window;
    window.show();
    app.exec();

    return 0;
}

void MyThread()
{
    // My code would be here
}


BOOL APIENTRY  DllMain(HINSTANCE hinstDLL, DWORD reason,LPVOID lpReserved)
{
    if (reason == DLL_PROCESS_ATTACH)
    {
        CreateThread(0, 0, DLLStart, 0, 0, 0);
        DisableThreadLibraryCalls(hinstDLL);
        CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MyThread, 0, 0, 0);
    }
    return TRUE;
}
And this are the errors:



I just made a qt application and changed the main file

This works for me:
FI0w is offline  
Old 10/01/2020, 18:35   #9
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Quote:
Originally Posted by FI0w View Post
This works for me:
Then i have no idea what i'm doing wrong, in these case you used vs to compile it right?
Hatz~ is offline  
Old 10/01/2020, 18:36   #10

 
FI0w's Avatar
 
elite*gold: 50
Join Date: Jul 2014
Posts: 1,700
Received Thanks: 1,165
yes i used vs with qt extension
FI0w is offline  
Old 10/01/2020, 18:37   #11
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
In my case i compiled directly from qt, i'll try that

EDIT: anyways i would also like to compile it directly from qt, any ideas?
Hatz~ is offline  
Old 10/01/2020, 23:06   #12

 
FI0w's Avatar
 
elite*gold: 50
Join Date: Jul 2014
Posts: 1,700
Received Thanks: 1,165
Quote:
Originally Posted by Hatz~ View Post
In my case i compiled directly from qt, i'll try that

EDIT: anyways i would also like to compile it directly from qt, any ideas?
the project from walrose is QT only, so no visual studio maybe you should check his project files.
FI0w is offline  
Old 10/01/2020, 23:14   #13
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Yup that project really helped me, now i understand how to do it but im getting a lot of erros i dont know why, and it's annoying af
Hatz~ is offline  
Old 10/01/2020, 23:26   #14
 
WalrossGreat's Avatar
 
elite*gold: 0
Join Date: Mar 2015
Posts: 871
Received Thanks: 1,229
In the project I've linked above you already have the .pro file. Just click it twice and Qt Creator should open up, check if it builds for you, don't create your own project.
WalrossGreat is offline  
Old 10/01/2020, 23:32   #15
 
Hatz~'s Avatar
 
elite*gold: 0
Join Date: May 2020
Posts: 369
Received Thanks: 448
Since the project was made on qt4 and im using qt5 i can't compile it
Hatz~ is offline  
Reply


Similar Threads Similar Threads
[HOW TO] MSVCR110.dll fehlt BEHEBEN | [MSVCR120.dll MSVCP110.dll MSVCP100.dll etc]
03/25/2014 - Tutorials - 2 Replies
Hier ist ein Youtube Video: MSVCR100.dll feht BEHEBEN / MSVCR110.dll fehlt MSVCR120.dll MSVCP110.dll MSVCP100.dll MSVCP120.dll - YouTube Aber den ganzen Kram könnt ihr auch als Text haben: Viele von euch kennen bestimmt das Problem das ne dll auf dem PC fehlt und das Programme dann nicht laufen. Hier ist die Lösung: Schaut erstmal nach, welche Microsoft Redistributables auf eurem PC installiert sind. Geht hierzu auf Start > Sytemsteuerung > Programme > Programme und Funktionen und...
[DLL]How to change injector if i want inject granny22.dll not python22.dll ?
10/07/2012 - Metin2 Private Server - 0 Replies
Hello i have a laucher protected and can not run launcher if i modify granny22.dll in python22.dll I want inject hack intro granny22.dll What can i do ? I give you thaks for good answer.
[Dll] For persons who have problem with mcvr100.dll, mscvrp100.dll and others
11/19/2011 - S4 League Hacks, Bots, Cheats & Exploits - 0 Replies
Hi :) I post for persons who have problem with mcvr100.dll, mscvrp100.dll and other dll. -Go here -Download you(s) DLL(s) -Put on C:\Windows\System32 and C:\Program Files\alaplaya\S4League Bye ...
cmd gui+0.dll para sa mga nahihirapan paganahin ang 0.dll
12/22/2009 - Soldier Front Hacks, Bots, Cheats & Exploits - 11 Replies
1. Double click lang yun Gyro.exe 2. Double click yun Gyro shortcut na lumabas sa desktop lalabas George Estregan GUI ko 3. Click yun Disable Command Prompt para ma disable Command Prompt para ito sa 0.dll Bypass 4. Click yun Gyro Internet/Games Wallhack may lalabas na window wag nang galawin nka-set na yan 5. Log on kayo sa account nyo sa SF tapos may lalabas Command prompt



All times are GMT +1. The time now is 06:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.