ace

Why cannot show debug by ACE_DEBUG?

ACE_DEBUG declare #include< ace/Task.h > in source header file.I trace debug define by ACE_DEBUG((LM_ERROR, "Reader pathSetOpen : %s ",pathSetOpen); The string variable name "pathSetOpen" for show value still execute programs.But I cannot compile code. About ACE_DEBUG,It's macro for printing debug message. Compile error code. ...

ACE (C++): Not calling cancel_timer == MLK?

If a one-shot timer was scheduled via schedule_timer(timer,0,ACE_Time_Value(delay),ACE_Time_Value::zero) is cancel_timer required in order to avoid a memory leak? ...

midl error 2025 when compiling idl file on win32 (midl doesn't like string<40>)

The idl files I have compile fine with linux tools, but when I try to compile using midl I get an error error MIDL2025 : syntax error : expecting a declarator or * near "<" the line is: typedef string<40> somestring; Is this non-standard idl, or am I missing something? Is there a switch for midl to allow this? I wish I coul...

ACE vs Boost vs Poco vs wxWidgets

I have a considerable amount of experience with ACE, Boost and wxWidgets. I have recently found the POCO libraries. Does anyone have any experience with them and how they compare to ACE, Boost and wxWidgets with regard to performance and reliability? I am particularly interested in replacing ACE with POCO. I have been unable to get A...

ACE vs Boost vs POCO

I have been working with the Boost libraries for quite some time. I absolutely love boost asio library for network programming. However I was introduced to two other libraries: POCO and ACE framework. I would like to know the good and bad of each. ...

Vignette V8 Upgrade

Vignette upgrades are usually not straightforward. You basically have to do a new installation and migrate over all of your customizations etc. Does anyone know if the upcoming V8 version is easier to upgrade or if its easier to upgrade from a certain previous version compared to earlier version. So I can upgrade to an earlier version (s...

How can I set the size of an Ace activation Queue?

That is, how can i limit the number of tokens/elements the Queue can hold? Example: I have a low level driver that can only process one request at a time. I am using the Ace activation Queue to limit the request (there could be up to 10 pending), but only one is allowed to go on the bus. The rest have to wait until the first request ...

How to print ACE_thread_t using printf()

ACE_OS::thr_self() returns ACE_thread_t. ACE logger has a switch "\t" to print it. How can I do it if I want to print thread id by using printf()? ...

Selection between ACE & Boost for learning

Hi everyone, I am an intermediate c++ programmer and done some work using ACE, now I want to learn one of those Libraries thoroughly to progress in to my career. That why I need your kind help to make a decision, that what should I learn first. And also please consider my destinations are to be an expert network programmer and Protocol d...

Is ACE reactor timer managment thread safe?

I have a module that manages timers in my aplication. This class has basibly three functions: Instance of ACE_Reactor is used internally by the module to manage the timers. schedule timer - calls ACE_Reactor::schedule_timer(). One of the arguments is a callback, called upon timer experation. cancel timer - calls ACE_Reactor::cancel_t...

Compile ACE in Ubuntu 9.10

How do I compile ACE on Ubuntu 9.10. What environment variables do I need to set? ...

Inherit Access Control Entries or complet Access Control Lists (ACL)?

I wonder if complete ACLs or only their Access Control Entries (ACE) should be inherited. It would be simple if the children replace the whole ACL, but it would be limitting if only an additional ACE should be added. If ACEs can be inherited, I think I would need negative rights, because otherwise all rights beginning from the root ACL...

Is there a cross-platform network library for the iPhone?

Is there a cross-platform network library for the iPhone? Is ACE available for the iPhone? I would like the networking library to be available for iPhoneOS, OS X, Windows (XP, Vista, and Win7 would be nice but at least XP), Android, and Blackberry. ...

Using ACE_Service_Object

I'm trying to use the ACE_Service_Object or the ACE_Shared_Object. I'm not sure which one is applicable. I'm trying to encapsulate some functionality in a DLL so a consumer of the DLL would open the library, create an instance of the exported class, call some functions on the class, and then destroy the class. A basic plug-in architec...

Is there a way to use thread local variables when using ACE?

I am using ACE threads and need each thread to have its own int member. Is that possible? ...

Terminate threads Gracefully in ACE

I have a question similar to This one . But I want to implement this in Linux, using ACE framework. What is the way to do this ...

Errors while building ACE program

Hi i am new to ACE. i just started ACE with a "HELLO WORLD" program. It compiled successfully but while building it produces some of the errors.Can anyone help me. CODE: include include "ace/Log_Msg.h" include "ace/OS_main.h" int ACE_TMAIN(int argc, ACE_TCHAR *argv[]) { ACE_DEBUG((LM_DEBUG, "Hello World\n")); return ...

ACE TAO Corba Ubuntu 10.4 undefined reference to CORBA::Object::_refcount_value()

Hi, I am having a few problems getting the example programs that come with the libTao provided in the package manager. I have used ace tao in the past with windows so have some experience with it already. So far I have all the environment variables set, created a new projects for the "Simple Client" example. I can compile the .idl fine...

Any open source server based on ACE framework?

Hi, anyone aware on open source project that uses ACE as the framework? Thanks, I. ...

Microsoft ACE OLEDB provider throws could not find installable ISAM exception

Hi, I'm trying to read Excel spreadsheets with a 64bit Process. Therefore I use the 64 bit Version of Micorosft Access Database Engine 2010. The following code var cs = @"Provider=Microsoft.ACE.OLEDB.12.0;" + @"Data Source=C:\test.xls;" + @"Extended Properties=""Excel 14.0;"""); con = new OleDbConnection(cs); con.Op...