Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. 43214007

    Can't make any TCP/IP connection from my ActiveX

    I have been able to find the problem myself by remaining to search using google. It seems when you create a standard MFC-Exe project with the Classwizzard it automatically adds this code to the function InitInstance: if (!AfxSocketInit()) { AfxMessageBox(IDP_SOCKETS_INIT_FAILED); return...
  2. 43214007

    Can't make any TCP/IP connection from my ActiveX

    I've tried to create the object in several ways. In my original ActiveX the CAsyncSocket object is a member variable of the COleControl and I create it on the heap. I can trace into the mfc to see what happens. This MFC function returns FALSE: BOOL CAsyncSocket::Create(UINT nSocketPort, int...
  3. 43214007

    Can't make any TCP/IP connection from my ActiveX

    This is puzzling my now for quite some time now. I can't seem to make any TCP/IP connection from my ActiveX component using the CAsyncSocket class. Somehow the CAsynSocket::Create() returns FALSE but I don't know why. Even when I create a fresh new ActiveX component and add this code I can't...

Part and Inventory Search

Back
Top