f



[ace-users] I've published two short ACE related articles on Codeproject

This is a multi-part message in MIME format.

------=_NextPart_000_0001_01CBAE53.3B379C90
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

This is hopefully of interest to ACE developers needing to integrate
existing software with ATL (ActiveX,COM) or Microsoft .Net.

 

The first one is a short recipe for integrating ACE and ATL

http://www.codeproject.com/KB/atl/ace_atl_integration.aspx

 

The second one is .Net related and illustrates how to use Microsoft Visual
C++ CLI mixed mode to leverage ACE with .Net

http://www.codeproject.com/KB/mcpp/ACEDotNetDemo.aspx

 

Regards

Espen Harlinn


------=_NextPart_000_0001_01CBAE53.3B379C90
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 12 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
..MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DNO-BOK link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
lang=3DEN-US>This is hopefully of interest to ACE developers needing to =
integrate existing software with ATL (ActiveX,COM) or Microsoft =
..Net.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>The first one is a short recipe for integrating ACE and =
ATL<o:p></o:p></span></p><p class=3DMsoNormal><a =
href=3D"http://www.codeproject.com/KB/atl/ace_atl_integration.aspx">http:=
//www.codeproject.com/KB/atl/ace_atl_integration.aspx</a><o:p></o:p></p><=
p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
lang=3DEN-US>The second one is .Net related and illustrates how to use =
Microsoft Visual C++ CLI mixed mode to leverage ACE with =
..Net<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US><a =
href=3D"http://www.codeproject.com/KB/mcpp/ACEDotNetDemo.aspx">http://www=
..codeproject.com/KB/mcpp/ACEDotNetDemo.aspx</a><o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Regards<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>Espen =
Harlinn<o:p></o:p></span></p></div></body></html>
------=_NextPart_000_0001_01CBAE53.3B379C90--


0
Espen
1/7/2011 9:11:20 AM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

0 Replies
396 Views

Similar Articles

[PageSpeed] 16

Reply:

Similar Artilces:

[ace-bugs] Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO
Hi, To ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness. > I know we can set except...

[ace-bugs] Re: [ace-users] ACE
Hi, Thanks for using the PRF. >> ACE VERSION: 5.4.1 >> >> HP Server and HP-UX 11.1 >> >> aCC: HP ANSI C++ B3910B A.03.37 >> >> CONTENTS OF $ACE_ROOT/ace/config.h : config-hpux-11.00.h >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU : >> platorm_hpux_aCC.GNU >> >> AREA/CLASS/EXAMPLE AFFECTED: >> >> $ACE_ROOT/ace - Compiled successfully but >> >> $ACE_ROOT/ - failed to compile as shown below >> >> Installing gperf -> /home/umit...

Re: [ace-users] [ace-bugs] ACE don't link
Hi, According to MSDN you should link Advapi32.lib, can you add that to the linker flags? Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl *** Next ACE Training May 7-10, see http://www.theaceorb.nl *** *** Integrated compile and test statistics see http://remedy.nl *** *** Commercial service and support for ACE/TAO/CIAO *** *** See http://www.theaceorb.nl/en/support.html *** "Roman Bober" <roman300178@gmail.com> wrote in message news:<mailm...

[ace-users] Re: [ace-bugs] ACE Licensing Issue: ace/CLASSIX
Hi Michael, Thanks for using the PRF. >> ACE VERSION: 5.4 >> >> HOST MACHINE and OPERATING SYSTEM: >> HP rp8400 HP-UX 11iv1 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> aCC >> >> CONTENTS OF $ACE_ROOT/ace/config.h: >> >> CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU >> (unless >> this isn't used in this case, e.g., with Microsoft Visual C++): >...

[tao-users] Re: [ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO
Hi, >> My only guess is that all of the libs you are linking in your >> builds were not compiled with a consistent set of options. Right, my recommendation would be to completely blow away your existing ACE+TAO x.5 directory, download a fresh version, and start from a clean slate. It sounds like you may have things lying around from previous build attempts. Thanks, Doug -- Dr. Douglas C. Schmidt Professor and Associate Chair Electrical Engineering and Computer Science TEL: (615) 343-8197 Institute for Software Integrated Systems...

[ace-bugs] Re: [ace-users] HPUX11.00 defines token 'undo' as __undo in sys/sem.h
Hi Lance, Just to clarify, this isn't really an ACE bug/issue, right? You're just asking for suggestions on how to work around an HPUX issue? Thanks, Doug >> ACE VERSION: 5.4 >> >> HOST MACHINE and OPERATING SYSTEM: >> HPUX 11.00 >> >> TARGET MACHINE and OPERATING SYSTEM, if different from HOST: >> COMPILER NAME AND VERSION (AND PATCHLEVEL): >> gcc -v >> Reading specs from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/specs >> Configured with: ./configu...

[ace-users] ACE
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C45E75.853D7B00 Content-Type: text/plain ACE VERSION: 5.4.1 HP Server and HP-UX 11.1 aCC: HP ANSI C++ B3910B A.03.37 CONTENTS OF $ACE_ROOT/ace/config.h : config-hpux-11.00.h CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU : platorm_hpux_aCC.GNU AREA/CLASS/EXAMPLE AFFECTED: $ACE_ROOT/ace - Compiled successfully but $ACE_ROOT/ - failed to compile as shown below Installing gperf -> /home/u...

[ace-users] [ace-user] problem on building ACE+TAO+CAIO
Dear, all. I have a problem on buliding ACE+TAO+CAIO. ACE VERSION: 5.5 HOST MACHINE and OPERATING SYSTEM: HOST Machine: Intel Pentium D 3.0 1GB OS: Windows XP Professional SP2 TARGET MACHINE and OPERATING SYSTEM Same with the HOST machine and OS THE $ACE_ROOT/ace/config.h FILE #define ACE_HAS_MFC 1 #define ACE_NO_INLINE #define ACE_HAS_STANDARD_CPP_LIBRARY 1 #include "ace/config-win32.h" DOES THE PROBLEM AFFECT: ACE+TAO+CAIO building SYNOPSIS: occurrance of ...

[ace-bugs] Re: [ace-users] RE: HPUX11.00 defines token 'undo' as __undo in sys/sem.h
Hi Lance, >> It seems I failed to express myself clearly. Here I go again. :-) >> I understand the need for the ACE_OS::last_error() function. What I don't >> understand is the reason for its particular windows implementation. >> Specifically, why does it favour returning errno, rather than >> GetLastError()? As I said earlier, the intent was to replace the direct use of errno in the ACE code, particularly for the ACE C++ socket wrapper facades. These wrapper facades typically check errno since that is common across both Windows and UNIX for socke...

Re: [ace-users] ACE Programmer's Guide Simple1, ACE_DEBUG, ACE _TRACE
Steve > Thank you for the PROBLEM-REPORT-FORM. You're welcome. > If you built ACE with ACE_NTRACE 0 that would explain why ACE's > tracing output is showing up. In the book output examples, ACE was > built without tracing and the examples were built with tracing. Thanks for that. However, when I build ACE without tracing, no trace information is displayed in this sample *unless* I add #define ACE_NTRACE 0 before the #include <ace/Log_Msg.h>. I think now that I understand what is happening, and appreciate your help. However, it strikes me that, u...

Re: [ace-users] ACE Programmer's Guide Simple1, ACE_DEBUG, ACE _TRACE
> Right, it can be a bit confusing... The way we did this was: > - Set up config.h without ACE_NTRACE > - Build ACE > - Add ACE_NTRACE to config.h > - Build the example Aha - fantastic. That seems to work. Much appreciated. I was getting a bit confused with it all! Thanks again. John > > -----Original Message----- > > From: ace-users-bounces@cse.wustl.edu > > [mailto:ace-users-bounces@cse.wustl.edu] On Behalf Of McCabe John G > > Sent: Wednesday, March 28, 2007 12:32 PM > > To: 'ace-users@mail.cse.wustl.edu' > >...

[ace-bugs] Re: [ace-users] Moving to ACE?
Hi Marcelo, Thanks for your email. BTW, to ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness...

[ace-bugs] Re: [ace-users] ACE Site Down !!!!!!!!
Hi Folks, >> Could you please post the URL's that you think are down? If you are >> takling of the intro online tutorials from Dr. Schmidt's website, >> then I may know the answer. Those tutorials were removed from the >> repository a few days back. BTW, the tutorials were removed for two reasons: .. No one was maintaining them. If you or anyone else would like to volunteer to maintain them we can add them back. .. They have been superceeded by the material from C++NPv[12] and APG, which are described at http://www.cs.wustl.edu/~schm...

[ace-bugs] Re: [ace-users] Contribution to ACE
Hi Ishay, >> I will submit it soon. Great, thanks. >> The solution is implemented as part of my company internal framework. It is >> not written with the coding style of ace. >> >> Should I do some kind of adjustment before submitting it to the group? Yes - please see http://www.cs.wustl.edu/~schmidt/ACE_wrappers/docs/ACE-guidelines.html for instructions on how to conform to the ACE programming guidelines. >> Should I rewrite it so it will compile with the ace library? Yes, please try to get things working "out of the box&quo...

[ace-bugs] Re: [ace-users] ACE
Hi Srujan, >> I am using ACE 5.1 on Solaris. How can I find out that IPv6 is >> enabled in my build. I couldnt use the ACE::ipv6_enabled() >> function. Also, in ACE5.1 how can I detertmine at run time that >> IPv6 has been enabled on the machine. ACE 5.1 is ANCIENT. Please upgrade to a more recent version of ACE, e.g., ACE 5.4.4 <deuce.doc.wustl.edu/Download.html> or one of the commercially supported versions, as discussed at http://www.cs.wustl.edu/~schmidt/commercial-support.html Thanks, Doug -- Dr. Douglas C. Schmidt ...

[ace-bugs] Re: [ace-users] DCLP and ACE
Hi Yongwei, >> Has anyone here read the DDJ article "C++ and the Perils of >> Double-Checked Locking"? It is available at this URL: >> >> http://www.ddj.com/documents/ddj0408l/ >> >> Regretfully registration is needed to read it. >> >> In brief, Scott Meyers and Andrei Alexandrescu talked about why DCLP is >> unsafe, esp. on multiprocessor environments. The most difficult part >> seems to be the Alpha Reordering problem, described at >> >> http://www.cs.umd.edu/~pugh/java/memoryModel/AlphaReorde...

[ace-bugs] Re: [ace-users] ACE-warnings
Hi, Thanks for using the PRF form. It seems you are using compiler options we are not using in our builds. What I have done is setup a small ACE build with some extra warnings enabled, see http://www.dre.vanderbilt.edu/scoreboard/integrated.html for the SuSE_92_GCC3.3.4_x86_64_extended_warnings build. It seems some work can be done, if you have patches to improve things, send them to the mailing list (make then bases on 5.4.2, 5.4 is almost a year old) and we can see if we can apply them. Regards, Johnny Willemsen Remedy IT Leeghwaterstraat 25 2811 DT Reeuwijk The Netherlan...

Re: [ace-users] ACE Programmer's Guide Simple1, ACE_DEBUG, ACE _TRACE #2
> > But wouldn't changing the MPC file affect the build of ACE? I.e. if I > > put it in there, won't it be used when I build ACE in which case I'd > > be back to where I started? > No, because you're changing the MPC file of the example only. But you'd > have to regenerate the makefiles/projects using MPC and recompile the > example for this to take effect. Ok - I see what you mean. Thanks for the suggestion, but I was only using the example to try to track down why my app wasn't doing what I expected it to, so Steve's suggesti...

Re: [ace-users] ACE Programmer's Guide Simple1, ACE_DEBUG, ACE _TRACE #2
> > Right, it can be a bit confusing... The way we did this was: > > > > - Set up config.h without ACE_NTRACE > > - Build ACE > > - Add ACE_NTRACE to config.h > > - Build the example > > Or, he can change the MPC file to define ACE_NTRACE macro there. But wouldn't changing the MPC file affect the build of ACE? I.e. if I put it in there, won't it be used when I build ACE in which case I'd be back to where I started? John > > > -----Original Message----- > > > From: ace-users-bounces@cse.wustl.edu &g...

[ace-users] ace-5.6.1
I am trying to build ace-5.6.1 on a Redhat linux 7.3 machine. ./configure;make results in the following error: .../../ace/OS_NS_sys_resource.inl: In function 'int ACE_OS::getrlimit(int, rlimit*)': .../../ace/OS_NS_sys_resource.inl:24: error: invalid conversion from 'int' to '__rlimit_resource_t' .../../ace/OS_NS_sys_resource.inl:24: error: initializing argument 1 of 'int getrlimit(__rlimit_resource_t, rlimit*)' .../../ace/OS_NS_sys_resource.inl: In function 'int ACE_OS::getrusage(int, rusage*)': .../../ace/OS_NS_sys_resource.inl:56: error: inval...

[ace-users] How to use c++ native exception handling instead of ACE's while building ACE+TAO
------=_Part_4200_19123378.1142842734852 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I know we can set exceptions =3D 1 or 0 in platform_macros.GNU to use ACE's exception handling or C++'s native exception handling. But I am still not clear on which value should I set exceptions to if I want to use only the C++'s native exception handling support. Thanks, -- Best regards, MyCORBA ------=_Part_4200_19123378.1142842734852 Content-Type: text/html; charset=ISO-8859-1 Content-Transf...

[ace-bugs] Re: [ace-users] What is reason that ACE::sock_error isn't called from strerr for WIN32?
Hi Boris, >> I meant why ACE_OS::strerror doesn't looks like: >> >> const char *ACE_OS::strerror(int error) { >> #ifdef WIN32 >> if (error >= WSAEINTR && error <= WSASYSCALLFAILURE) { >> const char *errorText=ACE:sock_error(error); >> if (ACE_OS::strstr(errorText, "unknown") != errorText) >> return errorText; >> } >> #endif >> >> .... >> >> } >> >> Then we'll need to call single function to get error text in all cases. Ok, I&...

[ace-bugs] Re: [ace-users] Why ACE memory pool couldn't work well in linux??
Hi Wubailiu, To ensure that we have proper version/platform/compiler information, please make sure you fill out the appropriate problem report form (PRF), which is in $ACE_ROOT/PROBLEM-REPORT-FORM $TAO_ROOT/PROBLEM-REPORT-FORM or in $ACE_ROOT/BUG-REPORT-FORM $TAO_ROOT/BUG-REPORT-FORM in older versions of ACE+TAO. Make sure to include this information when asking any questions about ACE+TAO since otherwise we have to "guess" what version/platform/compiler/options you've using, which is error-prone and slows down our responsiveness. >> I want to use ACE_Malloc class to provide a memory pool. When user ask for a >> new block of memory but there is no block in memory pool that big enough to >> return to the user, the ACE_Shared_Memory_Pool should acquire a new segment >> from OS and add it to the free-list of memory pool. >> It could work well in windows. >> but in linux, in that condition ACE give me the error info : address out of >> range , segment error! In other word, now the max size of memory pool is >> the size of one segment. So it couldn't be named a 'pool'. >> >> Anybody know how to resole this problem? Is it a bug of ACE? I recommend using the ACE_MMAP_Memory_Pool rather than ACE_Shared_Memory_Pool and see ifthis works better. Thanks Doug -- Dr. Douglas C. Schmidt, Professor TEL: (615) 343-8197 Electrical Engine...

Re: [ace-users] Compile time error: "error: 'write_n' is not a member of 'ACE'"
Hi, You lack an include, include "ace/ACE.h" in your program Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl "Paresh" <pareshspednekar@gmail.com> wrote in message news:<1173985162.346951.209100@y66g2000hsf.googlegroups.com>... > Hi All, > > ACE VERSION: 5.5.6 > HOST MACHINE and OPERATING SYSTEM: LINUX, Kernel 2.6.19-1.2288.fc5, > i686 > > I tried to compile the program given below, but was giving following > compilation error: &g...

Web resources about - [ace-users] I've published two short ACE related articles on Codeproject - comp.soft-sys.ace

Resources last updated: 3/4/2016 2:13:06 PM