Click to See Complete Forum and Search --> : ADOCE with C++


PaulG
03-12-2003, 02:12 AM
Hi,
I've just inherited some C++ code that I have to get compiling as of about about 2 days ago...

This code uses ADOCE, and #includes ADOCE31.h and ADOCEc31.h. From what I can tell I should be able to generate these header files, but I don't know how. I've seen people refer to some relevant docs on Microsoft's website, but they seem to have been removed.

Is anyone able to offer a suggestion on how I can find or create these header files?

TIA.

Paul

srouleau
03-12-2003, 06:34 PM
Paul,

I'm right in the middle of an ADOCE project myself. I'm using both 3.0 and 3.1 (whatever is available).

ADOCE 3.1 is a download from MS's website, which you need to install.

You can find it at this URL:

http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/922/msdncompositedoc.xml

When it installs, it does not go into your compiler's "include" directory, so you need to include the path in your project settings.

Oh, and I just verified - it also only installs the IDL, not the .h; so you'll need to run MIDL to get an header file.

Hope this helps,

PaulG
03-12-2003, 07:19 PM
Thanks for this.

I already had ADOCE, and hence the .idl files. I'm embarrassed to admit that I forgot about generating .h files from .idl source. It's been years since I last did COM or CORBA. :rolleyes:

Paul

srouleau
03-12-2003, 07:32 PM
No problem :)