Click here to Skip to main content
16,013,548 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVisual C++ .NET bug? Pin
Davide Pizzolato9-Mar-03 20:21
Davide Pizzolato9-Mar-03 20:21 
AnswerRe: Visual C++ .NET bug? Pin
Hesham Amin9-Mar-03 21:14
Hesham Amin9-Mar-03 21:14 
GeneralRe: Visual C++ .NET bug? Pin
Davide Pizzolato10-Mar-03 1:52
Davide Pizzolato10-Mar-03 1:52 
QuestionVSS API Interface ? Pin
vikramj9-Mar-03 20:21
vikramj9-Mar-03 20:21 
AnswerRe: VSS API Interface ? Pin
Baris Kurtlutepe10-Mar-03 0:43
Baris Kurtlutepe10-Mar-03 0:43 
GeneralString Table used in DLL Pin
stevenson9-Mar-03 20:01
stevenson9-Mar-03 20:01 
GeneralRe: String Table used in DLL Pin
Hans Ruck9-Mar-03 21:39
Hans Ruck9-Mar-03 21:39 
GeneralWindows Media Format SDK Problem Pin
RaajaOfSelf9-Mar-03 19:01
RaajaOfSelf9-Mar-03 19:01 
I have a problem with windows Medai Format SDK API .Iam trying to find if a ASF file is valis file or not .

IWMReader *m_pReader;
WCHAR wszFullUrl[ MAX_PATH ];
/*..create reader*******
.............
........*/

Here this represents a callback object
hr = m_pReader->Open(wszFullUrl , this, NULL );
if ( SUCCEEDED( hr ) )
{
//WaitForSingleObject( m_hOpenEvent, INFINITE );
_tprintf( _T( "successfull to open (hr=0x%08x)\n"), hr );
hr = m_hrOpen;
}
if ( NS_E_NO_STREAM == hr )
{
_tprintf( _T( "Waiting for transmission to begin...\n") );
//WaitForSingleObject( m_hOpenEvent, INFINITE );
hr = m_hrOpen;
}
if ( FAILED( hr ) )
{
_tprintf( _T( "failed to open (hr=0x%08x)\n"), hr );
return( hr );
}

When a give a invalid file name ,it gives the following output

successfull to open (hr=0x00000000)
failed to open (hr=0x80070002)



WHy does it give both the error messages ??Can somebody help me on this ??
GeneralGradientProgressCtrl Pin
sunsam9-Mar-03 17:22
sunsam9-Mar-03 17:22 
GeneralVisual SafeSource Pin
Anonymous9-Mar-03 12:49
Anonymous9-Mar-03 12:49 
GeneralRe: Visual SafeSource Pin
Anders Molin9-Mar-03 13:20
professionalAnders Molin9-Mar-03 13:20 
QuestionHow to add shell32.lib to project... Pin
JoeSox9-Mar-03 12:17
JoeSox9-Mar-03 12:17 
AnswerRe: How to add shell32.lib to project... Pin
Anders Molin9-Mar-03 12:24
professionalAnders Molin9-Mar-03 12:24 
QuestionHandle error??? Pin
cemlouis9-Mar-03 10:49
cemlouis9-Mar-03 10:49 
GeneralMDI Views... Pin
Anonymous9-Mar-03 9:36
Anonymous9-Mar-03 9:36 
GeneralRe: MDI Views... Pin
Brian Shifrin10-Mar-03 2:33
Brian Shifrin10-Mar-03 2:33 
GeneralLines Pin
cerb-dk9-Mar-03 9:31
cerb-dk9-Mar-03 9:31 
GeneralRe: Lines Pin
Dave Bryant9-Mar-03 15:53
Dave Bryant9-Mar-03 15:53 
GeneralWriting to a file with CInternetSession Pin
Gilfrog9-Mar-03 9:23
Gilfrog9-Mar-03 9:23 
GeneralRe: Writing to a file with CInternetSession Pin
Big Art9-Mar-03 12:21
Big Art9-Mar-03 12:21 
QuestionHow to suck up CPU time? Pin
Jim A. Johnson9-Mar-03 9:05
Jim A. Johnson9-Mar-03 9:05 
AnswerRe: How to suck up CPU time? Pin
Chris Losinger9-Mar-03 9:21
professionalChris Losinger9-Mar-03 9:21 
AnswerRe: How to suck up CPU time? Pin
Anders Molin9-Mar-03 9:57
professionalAnders Molin9-Mar-03 9:57 
GeneralRe: How to suck up CPU time? Pin
Jim A. Johnson9-Mar-03 10:25
Jim A. Johnson9-Mar-03 10:25 
GeneralVar/Fn tracking in Studio Pin
john john mackey9-Mar-03 8:08
john john mackey9-Mar-03 8:08 

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.