

This is another demo of how to use a VB DLL from VC without having to use
full blown COM interfaces between teh two.

In this sample, we use COM to create an instance of our VB ActiveX Server.

This loads and initilizes the VB runtime for us and gives us a way to 
initially get execution over to VB. 

After that much is done, we can use a simplier mechanism the same
as VB uses to access Windows API calls to interact with each other.

In this case, the VC exe exports some functions which VB can utilize
using its Declare Function mechanism.

This setup is pretty much the same as I used for the OllyDbg plugin
project, I was just curious if it would also work between an exe and
dll instead of 2 dlls. 

I figured it should because I have seen some exes export functions
but wanted to try it for myself :P

Anyway kinda interesting...

-dz


ps exe and dll have to be in same directory
   dll has to be registered with regsvr32 as it is activeX dll