I imported the six sourcefiles into my MFC ActiveX Project. But when I want to connect, the socket couldn't be created(Class: CIrcSession, Function: Connect), he gives me an error and as a result, there is no connection. What's the matter? Do I have to do something before creating the socket? The Demo-project runs without any problem... Plese help me!
ReplyOriginally posted by: bill
has this been updated at all? im just wondering because im trying to implement an ssl connection but having a hard time.
Reply
Originally posted by: mega
Hi,
I want to logon to irc.nana.co.il
but I cannot succeed...
can any one help me?
rgrds mega
Originally posted by: dave
Problem Im running into is that on this line of code:
ASSERT(lpszCmdLine != NULL);
which comes out of:
void CIrcMessage::ParseIrcCommand(const char* lpszCmdLine)
{
const char* p1 = lpszCmdLine;
const char* p2 = lpszCmdLine;
ASSERT(lpszCmdLine != NULL);
ASSERT(lpszCmdLine);
// prefix exists ?
if( *p1 == ':' )
{ // break prefix into its components (nick!user@host)
p2 = ++p1;
while( *p2 && !strchr(" !", *p2) )
++p2;
prefix.sNick.assign(p1, p2 - p1);
gives this error:
e:\Documents and Settings\Administrator\Desktop\c++ program snippets\irc.cpp(60): error C2065: 'ASSERT' : undeclared identifier
it keeps complaining about there being an undeclared identifier ... any thoughts?
Dave
Originally posted by: Uno tursadi
How can i make my own irc server?
ReplyOriginally posted by: Lior
(like MOTD) is getting cut in the middle, between packets. We get into an infinite loop in CIrcSession::DoReceive(), over the while( *pStart )
No soultion yet - I'm not sure whther I should fix this or move to MFC socket mechanisms...
ReplyOriginally posted by: dragunsflame
I got kicked from DALnet for using this thing. Anyone else have the same prob?
ReplyOriginally posted by: Amir
I can compile the demo project with no errors,
but when I try to run it,
The mainframe is loaded OK,
But when I choose "File..Open.."
from the menu of the mainframe,
OR
when I press the "open" button
from the toolbar of the mainframe,
I get a messagebox:
"Failed to create empty document."
and nothing else happens.
Can someone help??
Amir
Reply
Originally posted by: Bon
hello,
I just downloaded this and tried to compile it and I got a whole bunch of problems... im not sure i have the right afxdtctl.h file, and i get a error...fatal error C1085: Cannot write precompiled header file: 'Debug/TryIRC2.pch': No space left on device....wht is that..if you could email me that would be great!
Bon
ReplyOriginally posted by: RADIA
On Win95/98/ME it is Unlikely you shall recieve any data until you fix up the last CreateThread() parameter.
In IRC.cpp make this change:
From:
m_hThread = CreateThread(NULL, 0, ThreadProc, this, 0, NULL); // CANNOT HAVE NULL AS LAST PARAMETER ON WINME
To:
m_hThread = CreateThread(NULL, 0, ThreadProc, this, 0, &dwThreadID);
You'll need to create a dwThreadID variable:
DWORD dwThreadID;
Thanks,
RADIA