Click here to Skip to main content
15,920,629 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to access remote database server from windows service Pin
Magnus Westin11-Jul-05 4:09
Magnus Westin11-Jul-05 4:09 
GeneralRe: How to access remote database server from windows service Pin
zhaopi11-Jul-05 15:06
zhaopi11-Jul-05 15:06 
GeneralRe: How to access remote database server from windows service Pin
zhaopi11-Jul-05 15:15
zhaopi11-Jul-05 15:15 
AnswerRe: How to access remote database server from windows service Pin
BambooMoon11-Jul-05 5:21
BambooMoon11-Jul-05 5:21 
GeneralRe: How to access remote database server from windows service Pin
zhaopi11-Jul-05 15:12
zhaopi11-Jul-05 15:12 
GeneralPass structure to C# Pin
Member 12566510-Jul-05 23:44
Member 12566510-Jul-05 23:44 
GeneralRe: Pass structure to C# Pin
Andy Moore12-Jul-05 7:21
Andy Moore12-Jul-05 7:21 
GeneralWSASocket problem in XP Pro Pin
Anonymous10-Jul-05 23:32
Anonymous10-Jul-05 23:32 
Hoping someone can direct me to a solution on this. I have developed a pretty basic Client/Server system using Winsock2 using TCP (aka SOCK_STREAM)and when the client application of our system is installed and run on XP Pro, the application fails to open the socket when calling WSASocket. This has happened on two different machines. This problem does not occur on XP Home nor on Win2K Pro. Both of the problem machines have been upgraded to SP2.

Here is the code:

Socket = WSASocket (AF_INET,
SOCK_STREAM,
IPPROTO_TCP,
NULL, // LPWSAPROTOCOL_INFO lpProtocolInfo
0, // GROUP (reserved)
0); // DWORD dwFlags

This call in XP Pro returns INVALID_SOCKET and a subsequent call to WSAGetLastError() returns 0 which means it was successful. Hogwash. Need help on this.

Thanks,

Mike


QuestionHow to print to virtual printer from Window Service (in not login state) Pin
Anonymous10-Jul-05 23:29
Anonymous10-Jul-05 23:29 
GeneralButton activation Pin
antoine_david10-Jul-05 22:07
antoine_david10-Jul-05 22:07 
GeneralRe: Button activation Pin
Cedric Moonen10-Jul-05 22:17
Cedric Moonen10-Jul-05 22:17 
GeneralRe: Button activation Pin
antoine_david10-Jul-05 22:22
antoine_david10-Jul-05 22:22 
GeneralRectangle Selection Pin
javi_jmc10-Jul-05 21:33
javi_jmc10-Jul-05 21:33 
GeneralRe: Rectangle Selection Pin
Jose Lamas Rios11-Jul-05 2:40
Jose Lamas Rios11-Jul-05 2:40 
GeneralRe: Rectangle Selection Pin
Blake Miller11-Jul-05 4:57
Blake Miller11-Jul-05 4:57 
GeneralMFC Calling .NET Pin
quesansii10-Jul-05 20:31
quesansii10-Jul-05 20:31 
GeneralMaking a dialog over everything - even games Pin
awah10-Jul-05 20:30
awah10-Jul-05 20:30 
GeneralRe: Making a dialog over everything - even games Pin
David Crow11-Jul-05 3:11
David Crow11-Jul-05 3:11 
GeneralRe: Making a dialog over everything - even games Pin
awah12-Jul-05 17:20
awah12-Jul-05 17:20 
Questiona paradox in mfc head file? Pin
wrb30210-Jul-05 20:29
wrb30210-Jul-05 20:29 
AnswerRe: a paradox in mfc head file? Pin
David Crow11-Jul-05 3:44
David Crow11-Jul-05 3:44 
GeneralQuestion about displaying a property page Pin
PrashantJ10-Jul-05 20:14
PrashantJ10-Jul-05 20:14 
GeneralAbout building a Windows service Pin
zhaopi10-Jul-05 20:04
zhaopi10-Jul-05 20:04 
GeneralRe: About building a Windows service Pin
zhaopi10-Jul-05 20:07
zhaopi10-Jul-05 20:07 
GeneralRe: About building a Windows service Pin
Blake Miller11-Jul-05 5:02
Blake Miller11-Jul-05 5:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.