umm did you allocate a hostPtr? Chris.
--------------------------------------------------------------------- Protected by: http://mail.spaminspector.com ----- Original Message ----- From: "Scott Erickson" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[email protected]> Sent: Tuesday, April 26, 2005 6:40 PM Subject: Problems with NetLibGetHostByName() > Hi, > I cant seem to get NetLibGetHostByName() working. Here is what I have, > and the error it gives me. > > NetHostInfoBufType* hostPtr; > .... > hostPtr->hostInfo = NetLibGetHostByName(libRefNum, "www.fb-4.com", > &hostPtr, -1, &error); > > .... > 2 *** [Debug/AppMain.o] Error 1 VirusGuard April 26, 2005 1:32:18 PM > 2 incompatible types in assignment AppMain.c VirusGuard/src line 608 April > 26, 2005 1:32:18 PM > 1 Invalid path:/VirusGuard [CDT_INCLUDE] > includePath:C:/PalmOSDeveloperSuite/sdk-5r4/include/Core/System VirusGuard > April 26, 2005 12:19:45 PM > > Anyone have any ideas to what im doing wrong??? > -- > > > Scott Erickson > Software Development Team, FB-4, Inc. > [EMAIL PROTECTED] > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
