Hi Ishay,
>> Sorry, we are using DevStudio 7.1 (2003)
We use this too. Please see
ACE_ROOT/tests/Time_Value_Test.cpp
for lots of examples that use ACE_Time_Value with integers. Please
see if this works on your OS/compiler platform.
Thanks,
Doug
>> ~ Ishay
>>
>> Software Architect
>> Onigma Ltd.
>> Tel: +972-3-6877315
>> Fax: +972-3-6877128
>> Mobile: +972-54-2325090
>> Email: ishay@onigma.com
>>
>> -----Original Message-----
>> From: Johnny Willemsen [mailto:jwillemsen@remedy.nl]
>> Sent: Tuesday, March 07, 2006 2:42 PM
>> To: 'Ishay Green'; ace-users@cs.wustl.edu
>> Subject: RE: [ace-users] [ACE 5.5] Upgrade from ACE 5.4.7 to ACE 5.5
>>
>> Hi,
>>
>> > ACE VERSION: 5.5
>>
>> Thanks for using the PRF form.
>>
>> > HOST MACHINE and OPERATING SYSTEM:
>> >
>> > Intel, WindowsXp, Windows 2003
>>
>> An important bit information is missing, which compiler did you use.
>>
>> > AREA/CLASS/EXAMPLE AFFECTED:
>> > The only problem we encountered was a compilation error
>> > when construction ACE_Time_Value.
>> >
>> > The ACE_Time_Value cannot be constructed anymore from an integer.
>> >
>> > For example: ACE_Time_Value( 5 ) --> Compile error
>>
>> Great to hear things work without problems. This errors sounds strange, we
>> do have test cases like this in tests/Time_Value_Test.cpp. We do have made
>> all constructors of ACE_Time_Value explicit. As a result if you have a
>> method that expects a ACE_Time_Value&, you just can't pass for example 5,
>> you have to pass an ACE_Time_Value(5).
>>
>> Regards,
>>
>> Johnny Willemsen
>> Remedy IT
>> Postbus 101
>> 2650 AC Berkel en Rodenrijs
>> The Netherlands
>> www.theaceorb.nl / www.remedy.nl
>>
>>
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Institute for Software Integrated Systems WEB: www.dre.vanderbilt.edu/~schmidt
Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@vanderbilt.edu