Some questions regarding DLL's

This is a discussion on Some questions regarding DLL's within the Windows Programming forums, part of the Platform Specific Boards category; Basically, I have to make a GUI that interacts with the user and based on things like the coordinates of ...

Some questions regarding DLL's

Basically, I have to make a GUI that interacts with the user and based on things like the coordinates of the points where the user clicks, stores certain values in a set of data types defined by me. The datatypes have been defined in a seperate file in c++ style, ie, using classes. However I really dont want to implement the GUI using C++. Agree or not, C++ sucks at making GUI's. I prefer using VB. So what I thought was, to make a DLL of the user defined data types and then use the dll in VB. Unfortunately I am a novice at making dll's too. I did some research on the net. But I still dont have a clue about what to do when the dll contains things like classes. So please tell me some place where I can read about dll's.
Alternatively,
I am posting my code where I have defined the data types. Someone please tell me what differences will I have to make in the code to make it build-able as a dll...