Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
ActiveX, DLLs, VB, and VC++ - Oh, my!!
I'm in the very early stages of a project and need some guidance regarding VC++ and VB mixing. Essentially, I have a number of computation engines which I want to package as DLLs which will be called from VB. I would most like to write the DLLs in VC++. They will be used to due intensive compuations but won't be responsible for any graphical output.
What are the requirements to develop components in VC++ such that VB can call them?
What about classes? Can I have class objects passed to and from VB into/out of the DLLs? (Class objects would most appropriately contain my data.)
What variable types are compatible between the two languages employed in this manner?
Are there any really good books out there which show you how to do these things? Most of the books I've seen deal with strictly visual components rather than computation engines such as these.
Any help is appreciated.
0 · ·