Exporting classes from a DLL cannot really be done reliably because of binary compatibility issues (different compilers, compiler versions, and compilation options can produce (slightly) different binary foot-prints for the objects of a given class). The COM is (amongst other things) a strict specification of how the binary foot-print should look like for a given COM class. This solves the binary compatibility problem. Also, COM provides means to query an unknown class for its interface, so you can import classes that are not known. There are ways to achieve the same effect without using COM and simply using DLLs, but that can easily get to be fairly complicated.
When reading a book written by Microsoft it said that you should learn wu programing along with COM because if all you learns was COM there would be massive holes in your knowledge. Just wanted to put that out there.
I didn't realize that "Microsoft" could write a book, that puts "corporations are people" in a whole new perspective.
Certainly, you need to learn about programming in general, not just COM. I don't think you can use COM if you don't know how to program. Anyways, the question is about the advantages of using COM versus not doing so (with just a simple DLL).
It was a group of intelligent people from Microsoft on winprograming and the new surcurity and affects on programs in winvista... I got it from the libray. It was Windows via C/C+. I got sick of it after the first ten chapters.
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...