Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


(Help Please) Make DLL in Visual Basic 6 (VB6)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
fransiscusbunaren
How do I cheat?
Reputation: 0

Joined: 21 Dec 2014
Posts: 7
Location: Indonesia

PostPosted: Sun Dec 21, 2014 8:46 am    Post subject: (Help Please) Make DLL in Visual Basic 6 (VB6) Reply with quote

I want to create a dll file in VB6
I want the file works as follows:
1. When the program has been injected into a process, then it will automatically display a message box

Sorry if my english is bad,

Please help me , Embarassed
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Dec 21, 2014 3:43 pm    Post subject: Reply with quote

In order to do this with Visual Basic 6 you need to get a different linker to have VB6 create a valid Win32 DLL.

Here is an explanation of why this does not work with VB6 by default:
http://www.windowsdevcenter.com/pub/a/windows/2005/04/26/create_dll.html

Here is an example of automating the process to build true Win32 DLLs:
http://www.planet-source-code.com/vb/scripts/ShowZip.asp?lngWId=1&lngCodeId=54190&strZipAccessCode=tp%2FC541903986

And another linker to do this too:
http://vb.mvps.org/tools/vbAdvance/

TLDR; VB6 compiles its DLLs, by default, into ActiveX DLLs which contain no entry point. You need to build the DLL to have an entry point.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
fransiscusbunaren
How do I cheat?
Reputation: 0

Joined: 21 Dec 2014
Posts: 7
Location: Indonesia

PostPosted: Sun Dec 21, 2014 8:59 pm    Post subject: Not Working Reply with quote

atom0s : Thank you for your tutorial, but it is not work when it injected to an executable (EXE) .
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Dec 22, 2014 12:31 am    Post subject: Re: Not Working Reply with quote

fransiscusbunaren wrote:
atom0s : Thank you for your tutorial, but it is not work when it injected to an executable (EXE) .


You need to make sure the dll is created properly before you can inject it.

And from the look of it you should learn what you are doing first before trying to get into things like this..

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites