Click here to Skip to main content
12,403,378 members (72,760 online)

C / C++ / MFC

 
AnswerRe: Video Capture using DirectShow only works for first time.? Pin
Vaclav_Sal14-Jan-13 16:10
memberVaclav_Sal14-Jan-13 16:10 
Questionhow to unsigned int64 to two unsigned int32 values Pin
vishalgpt9-Jan-13 22:22
membervishalgpt9-Jan-13 22:22 
AnswerRe: how to unsigned int64 to two unsigned int32 values Pin
Jochen Arndt9-Jan-13 23:06
memberJochen Arndt9-Jan-13 23:06 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
vishalgpt9-Jan-13 23:32
membervishalgpt9-Jan-13 23:32 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
Jochen Arndt9-Jan-13 23:58
memberJochen Arndt9-Jan-13 23:58 
GeneralRe: how to unsigned int64 to two unsigned int32 values Pin
vishalgpt10-Jan-13 0:08
membervishalgpt10-Jan-13 0:08 
AnswerRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
«_Superman_»10-Jan-13 18:39
member«_Superman_»10-Jan-13 18:39 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
vishalgpt14-Jan-13 15:25
membervishalgpt14-Jan-13 15:25 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
«_Superman_»14-Jan-13 17:55
member«_Superman_»14-Jan-13 17:55 
GeneralRe: [SOLVED] how to unsigned int64 to two unsigned int32 values Pin
vishalgpt14-Jan-13 19:01
membervishalgpt14-Jan-13 19:01 
QuestionHTTP server in C. How to implement Keep-Alive? Pin
johanm_29-Jan-13 20:02
memberjohanm_29-Jan-13 20:02 
SuggestionRe: HTTP server in C. How to implement Keep-Alive? Pin
Richard MacCutchan9-Jan-13 22:24
mvpRichard MacCutchan9-Jan-13 22:24 
GeneralRe: HTTP server in C. How to implement Keep-Alive? Pin
johanm_210-Jan-13 1:17
memberjohanm_210-Jan-13 1:17 
QuestionProblem loading non-default wab Pin
Member 8689269-Jan-13 2:31
memberMember 8689269-Jan-13 2:31 
Hi
I'm having trouble trying to load a non-default .wab file (I know it's old hat but need to keep it going for my XP users). I'm running it on Vista and although I'm supplying a filename it keeps loading my Vista Contacts instead instead of the specific wab addresses.
It must be going wrong around here (mostly stock code from the msdn sample code):

// (pszFileName is const char *)

if(m_hinstWAB)
{
// if we loaded the dll, get the entry point
//
m_lpfnWABOpen = (LPWABOPEN) GetProcAddress(m_hinstWAB, "WABOpen");

if(m_lpfnWABOpen)
{
HRESULT hr = E_FAIL;
WAB_PARAM wp = {0};
wp.cbSize = sizeof(WAB_PARAM);
wp.szFileName = (LPTSTR) (LPCTSTR) pszFileName;

// if we choose not to pass in a WAB_PARAM object,
// the default WAB file will be opened up
//

if(m_lpfnWABOpen(&m_lpAdrBook,&m_lpWABObject,&wp,0)==S_OK)
m_bInitialized = TRUE;

}
As usual, any help much appreciated.
Greg
AnswerRe: Problem loading non-default wab Pin
Code-o-mat10-Jan-13 2:06
memberCode-o-mat10-Jan-13 2:06 
GeneralRe: Problem loading non-default wab Pin
Member 86892611-Jan-13 6:05
memberMember 86892611-Jan-13 6:05 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat11-Jan-13 7:49
memberCode-o-mat11-Jan-13 7:49 
GeneralRe: Problem loading non-default wab Pin
Member 86892611-Jan-13 9:56
memberMember 86892611-Jan-13 9:56 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat11-Jan-13 10:07
memberCode-o-mat11-Jan-13 10:07 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat11-Jan-13 10:12
memberCode-o-mat11-Jan-13 10:12 
GeneralRe: Problem loading non-default wab Pin
Member 86892612-Jan-13 4:17
memberMember 86892612-Jan-13 4:17 
GeneralRe: Problem loading non-default wab Pin
Code-o-mat12-Jan-13 8:09
memberCode-o-mat12-Jan-13 8:09 
QuestionRe: Problem loading non-default wab Pin
Richard MacCutchan11-Jan-13 6:41
mvpRichard MacCutchan11-Jan-13 6:41 
AnswerRe: Problem loading non-default wab Pin
Member 86892611-Jan-13 9:53
memberMember 86892611-Jan-13 9:53 
GeneralRe: Problem loading non-default wab Pin
Richard MacCutchan11-Jan-13 23:17
mvpRichard MacCutchan11-Jan-13 23:17 
GeneralRe: Problem loading non-default wab Pin
Member 86892612-Jan-13 4:06
memberMember 86892612-Jan-13 4:06 
GeneralRe: Problem loading non-default wab Pin
Richard MacCutchan12-Jan-13 4:20
mvpRichard MacCutchan12-Jan-13 4:20 
QuestionHow do you get the file size for an open file? Pin
Member 41945938-Jan-13 3:29
memberMember 41945938-Jan-13 3:29 
AnswerRe: How do you get the file size for an open file? Pin
Jochen Arndt8-Jan-13 4:14
memberJochen Arndt8-Jan-13 4:14 
GeneralRe: How do you get the file size for an open file? Pin
Member 41945938-Jan-13 10:27
memberMember 41945938-Jan-13 10:27 
GeneralRe: How do you get the file size for an open file? Pin
Member 41945938-Jan-13 12:24
memberMember 41945938-Jan-13 12:24 
QuestionWhile launching a winapp as ole server some time OnFIleNew() failed Pin
vermaashish_mca8-Jan-13 1:36
membervermaashish_mca8-Jan-13 1:36 
AnswerRe: While launching a winapp as ole server some time OnFIleNew() failed Pin
Jochen Arndt8-Jan-13 2:51
memberJochen Arndt8-Jan-13 2:51 
QuestionIcon/Bitmap missing in 1st control (MFC dialog) Pin
_jg_7-Jan-13 22:52
member_jg_7-Jan-13 22:52 
QuestionThe task runtime question of RTOS. Pin
econy7-Jan-13 5:22
memberecony7-Jan-13 5:22 
AnswerRe: The task runtime question of RTOS. Pin
jeron17-Jan-13 5:35
memberjeron17-Jan-13 5:35 
AnswerRe: The task runtime question of RTOS. Pin
Joe Woodbury7-Jan-13 10:28
memberJoe Woodbury7-Jan-13 10:28 
GeneralTreeview After Select Event Pin
Varun Pandey7-Jan-13 2:49
memberVarun Pandey7-Jan-13 2:49 
GeneralRe: Treeview After Select Event Pin
jeron17-Jan-13 5:08
memberjeron17-Jan-13 5:08 
Questionhow to hide a column of a listctrl Pin
cherry7297-Jan-13 0:55
membercherry7297-Jan-13 0:55 
AnswerRe: how to hide a column of a listctrl Pin
Pete O'Hanlon7-Jan-13 1:16
protectorPete O'Hanlon7-Jan-13 1:16 
QuestionCreating Non-Rectangular Forms Pin
Luca D'Amico6-Jan-13 11:38
memberLuca D'Amico6-Jan-13 11:38 
SuggestionRe: Creating Non-Rectangular Forms Pin
DavidCrow6-Jan-13 17:25
memberDavidCrow6-Jan-13 17:25 
AnswerRe: Creating Non-Rectangular Forms Pin
«_Superman_»6-Jan-13 17:56
member«_Superman_»6-Jan-13 17:56 
AnswerRe: Creating Non-Rectangular Forms Pin
Richard MacCutchan6-Jan-13 22:13
mvpRichard MacCutchan6-Jan-13 22:13 
GeneralRe: Creating Non-Rectangular Forms Pin
Luca D'Amico7-Jan-13 13:05
memberLuca D'Amico7-Jan-13 13:05 
Questionstd::vector problem Pin
Super Lloyd6-Jan-13 1:21
memberSuper Lloyd6-Jan-13 1:21 
AnswerRe: std::vector problem Pin
CPallini6-Jan-13 7:14
mvpCPallini6-Jan-13 7:14 
GeneralRe: std::vector problem Pin
Super Lloyd6-Jan-13 11:53
memberSuper Lloyd6-Jan-13 11:53 
QuestionStatic link to ATL alwayas fail Pin
Falconapollo4-Jan-13 23:19
memberFalconapollo4-Jan-13 23:19 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 28 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid