[ace-users] Windows Socket problem

Johnny Willemsen jwillemsen at remedy.nl
Fri Sep 28 01:24:47 CDT 2007


Hi,

No idea why this didn't work, we do it in all examples/tests and there it
works.

Johnny

"Jeffrey S. Blatt" <jeffrey at blatt.org> wrote in message
news:<1190920915.275706.104910 at o80g2000hse.googlegroups.com>...
> I found a workaround but I do not understand the cause of the problem.
> When I change
> 
> 
> int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
> {
> 
> to
> 
> int main ()
> {
>    ACE::init();
> 
> and
> 
>     return 0;
> 
> to
> 
>   ACE::fini();
>   return (0);
> 
> the problem goes away.
> 
> I thought ACE_TMAIN kept me from having to call init and fini.
> Obviously I did something wrong, can someone explain?
> 



More information about the Ace-users mailing list