Article View: borland.public.cppbuilder.internet.socket
Article #60Re: Upgrading C++Builder 2006 to Indy 10
From: JohnG
Date: Thu, 17 Apr 2008 20:29
Date: Thu, 17 Apr 2008 20:29
24 lines
1890 bytes
1890 bytes
>Where are you calling them exactly? And what exception is >being thrown? I opened a previously created project that was started with indy 9. The project opens correctly. Right-clicking on the component icon now reports a 10.x version of indy. I was trying port the code to indy 10. On a button onclick event I try to bind to an ip using the following code: IdUDPServer->Active = false; IdUDPServer->Bindings->Clear(); TIdSocketHandle *pBinding = IdUDPServer->Bindings->Add(); pBinding->IP = EditBindIP->Text; pBinding->Port = 40; IdUDPServer->Active = true; Even when running the code from the debugger, I get a dialog with the following message: Access violation at address 00409D2c in module "project1.exe" Read of address 0000008. JohnG
Technical Details
Message-ID:
<4807b32a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<4806055f$1@newsgroups.borland.com> <48062822@newsgroups.borland.com> <48064974$1@newsgroups.borland.com> <4806585f$1@newsgroups.borland.com> <48075a3c$1@newsgroups.borland.com> <48076ea3$1@newsgroups.borland.com> <48077cfc$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3017f854d555a8e5 X-Google-Attributes: gid11508e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "JohnG" <whatis@email.com> Sender: "JohnG" <whatis@email.com> Reply-To: "JohnG" <whatis@email.com> Subject: Re: Upgrading C++Builder 2006 to Indy 10 Newsgroups: borland.public.cppbuilder.internet.socket X-User-Info: 138.11.0.153 X-Forwarded-For: unknown References: <4806055f$1@newsgroups.borland.com> <48062822@newsgroups.borland.com> <48064974$1@newsgroups.borland.com> <4806585f$1@newsgroups.borland.com> <48075a3c$1@newsgroups.borland.com> <48076ea3$1@newsgroups.borland.com> <48077cfc$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <4807b32a$1@newsgroups.borland.com> Date: 17 Apr 2008 13:29:30 -0700 X-Trace: newsgroups.borland.com 1208464170 207.105.83.66 (17 Apr 2008 13:29:30 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!news.isoc.lu!newsgroups.borland.com!not-for-mail