 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
torpin005 Master Cheater
Reputation: 0
Joined: 19 Nov 2007 Posts: 255
|
Posted: Thu Jan 03, 2008 10:51 am Post subject: Question [VB6] |
|
|
I have a question about vb6
When you open vb6 it has (for me) standard exe, activex exe, activex dll, and activex control.
What do the last three i listed do?>
_________________
Go check it out. Good Hacks |
|
| Back to top |
|
 |
Blader I post too much
Reputation: 2
Joined: 19 Jan 2007 Posts: 2049
|
Posted: Thu Jan 03, 2008 11:26 am Post subject: |
|
|
ActiveX dll creates a dll
ActiveX control creates your custom control
ActiveX exe creates an .exe made for activex stuff?
_________________
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Jan 04, 2008 5:30 am Post subject: |
|
|
ActiveX Overview:
http://en.wikipedia.org/wiki/ActiveX
| Quote: | | ActiveX is a technology created by Microsoft to create object oriented software components. You might have heard of OLE (Object Linking / Embedding) which is the same thing. |
ActiveX Dll:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconcreatinganinprocesscomponent.asp
| Quote: | Components provide reusable code in the form of objects. An application that uses a component’s code, by creating objects and calling their properties and methods, is referred to as a client.
Components can run either in-process or out-of-process with respect to the clients that use their objects. An in-process component, or ActiveX DLL, runs in another application’s process. The client may be the application itself, or another in-process component that the application is using. |
ActiveX Exe:
http://kandkconsulting.tripod.com/VB/Tutorials/activex_exe_tutorial.htm
| Quote: | An ActiveX EXE is a special type of COM component that is used in specific circumstances. Yes, it is an EXE file, meaning it is loaded into its own address space and given its own process and threads, but it is designed to be an OLE automation server, just like an ActiveX DLL. In other words, it has no forms, has no “starting” point like a sub Main() and exposes interfaces (classes) to be used by a client application, just like an ActiveX DLL.
An ActiveX EXE on the other hand creates a new thread for each new class that it creates! Each thread is independent of the client application. Hold on their Guru, are you talking about Multi-threading in a VB application??? Your damn straight, you can create a fully multi-threaded application by just creating classes from an ActiveX EXE. So, you can create an asynchronous call, meaning that the client application can continue processing while the ActiveX EXE is processing too. Just be sure to notify the client application that processing has either finished or has an error. The best way to do this is to create an event in the ActiveX EXE, then when creating the ActiveX EXE class, declare it with the “With Events” keyword. |
_________________
- Retired. |
|
| Back to top |
|
 |
|
|
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
|
|