Click here to Skip to main content
15,891,743 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionReceive UDP packet from multiple default gateway Pin
Shanky426-Mar-14 5:18
Shanky426-Mar-14 5:18 
QuestionRe: Receive UDP packet from multiple default gateway Pin
Richard MacCutchan26-Mar-14 5:32
mveRichard MacCutchan26-Mar-14 5:32 
AnswerRe: Receive UDP packet from multiple default gateway Pin
Shanky426-Mar-14 6:55
Shanky426-Mar-14 6:55 
GeneralRe: Receive UDP packet from multiple default gateway Pin
Shanky426-Mar-14 7:05
Shanky426-Mar-14 7:05 
GeneralRe: Receive UDP packet from multiple default gateway Pin
Richard MacCutchan26-Mar-14 7:14
mveRichard MacCutchan26-Mar-14 7:14 
AnswerRe: Receive UDP packet from multiple default gateway Pin
Jochen Arndt26-Mar-14 7:17
professionalJochen Arndt26-Mar-14 7:17 
GeneralRe: Receive UDP packet from multiple default gateway Pin
Shanky426-Mar-14 7:29
Shanky426-Mar-14 7:29 
QuestionADO Connection ptr under Windows 7 fails in Windowx XP Pin
aaandrei26-Mar-14 4:55
aaandrei26-Mar-14 4:55 
Hello everybody,

Currently all my C++ project are on a Windows XP machine. For database connections I’m using ado. In stdafx.h I have lines:

#import "c:\Program Files\Common Files\system\ado\msado15.dll" rename_namespace( "ado" ) rename("EOF", "ADOEOF")

#import "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\Resources\1033\sqldmo.rll" no_namespace

And when it’s required I call

ado::_ConnectionPtr pConn = NULL;
hr = pConn.CreateInstance( __uuidof( ado::Connection ) );

Everything has been working fine.

But now I’m moving all my projects to Windows 7 machine. And it appears, that created .exe files are working fine on Windows 7 machine but on Windows XP ado pointer could not be created.

hr = pConn.CreateInstance( __uuidof( ado::Connection ) );

doesn’t create valid connection object.

Thank you in advance, any suggestions will be appreciated
AnswerRe: ADO Connection ptr under Windows 7 fails in Windowx XP Pin
Jochen Arndt26-Mar-14 5:07
professionalJochen Arndt26-Mar-14 5:07 
QuestionHow to use global hook with WH_GETMESSAGE Pin
cedricvictor26-Mar-14 2:44
cedricvictor26-Mar-14 2:44 
AnswerRe: How to use global hook with WH_GETMESSAGE Pin
Richard MacCutchan26-Mar-14 5:26
mveRichard MacCutchan26-Mar-14 5:26 
GeneralRe: How to use global hook with WH_GETMESSAGE Pin
cedricvictor26-Mar-14 16:57
cedricvictor26-Mar-14 16:57 
GeneralRe: How to use global hook with WH_GETMESSAGE Pin
Richard MacCutchan26-Mar-14 22:52
mveRichard MacCutchan26-Mar-14 22:52 
Questionstd::wcout can't print out Arabic chars and some mathmatical symbols Pin
Falconapollo25-Mar-14 23:59
Falconapollo25-Mar-14 23:59 
QuestionWhich among following statements c/c++ code is faster? Pin
shaktikanta24-Mar-14 22:59
shaktikanta24-Mar-14 22:59 
AnswerRe: Which among following statements c/c++ code is faster? Pin
Jochen Arndt25-Mar-14 0:20
professionalJochen Arndt25-Mar-14 0:20 
GeneralRe: Which among following statements c/c++ code is faster? Pin
Heng Xiangzhong10-Apr-14 1:19
Heng Xiangzhong10-Apr-14 1:19 
AnswerRe: Which among following statements c/c++ code is faster? Pin
Maximilien25-Mar-14 1:01
Maximilien25-Mar-14 1:01 
GeneralRe: Which among following statements c/c++ code is faster? Pin
shaktikanta25-Mar-14 3:18
shaktikanta25-Mar-14 3:18 
GeneralRe: Which among following statements c/c++ code is faster? Pin
Maximilien25-Mar-14 3:32
Maximilien25-Mar-14 3:32 
GeneralRe: Which among following statements c/c++ code is faster? Pin
jschell25-Mar-14 13:26
jschell25-Mar-14 13:26 
JokeRe: Which among following statements c/c++ code is faster? Pin
Rage25-Mar-14 2:20
professionalRage25-Mar-14 2:20 
AnswerRe: Which among following statements c/c++ code is faster? Pin
Albert Holguin25-Mar-14 4:42
professionalAlbert Holguin25-Mar-14 4:42 
AnswerRe: Which among following statements c/c++ code is faster? Pin
ptse26-Mar-14 3:34
ptse26-Mar-14 3:34 
GeneralRe: Which among following statements c/c++ code is faster? Pin
Richard MacCutchan26-Mar-14 5:24
mveRichard MacCutchan26-Mar-14 5:24 

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.