e109350
February 4, 2004, 14:30:59
Hello,
I think my problem is related with more basic concepts. I have only following two lines in my application. I did not do anything else to use the put_IFormatResolution(...) method.
IDVEnc *mypointer;
mypointer->put_IFormatResolution(...);
No compilation error. But when I run the application, the program terminates itself at the second line. When I run the debugger, i get the warning dialog box at the second line saying "Unhandle exception in myApplication.exe 0xC000000005: Access Violation". I think the problem is that mypointer should be initialized. I tried "IDVEnc *mypointer=NULL;" and "IDVEnc *mypointer=0;" but nothing has changed. Could you help me? Thank you in advance.
I think my problem is related with more basic concepts. I have only following two lines in my application. I did not do anything else to use the put_IFormatResolution(...) method.
IDVEnc *mypointer;
mypointer->put_IFormatResolution(...);
No compilation error. But when I run the application, the program terminates itself at the second line. When I run the debugger, i get the warning dialog box at the second line saying "Unhandle exception in myApplication.exe 0xC000000005: Access Violation". I think the problem is that mypointer should be initialized. I tried "IDVEnc *mypointer=NULL;" and "IDVEnc *mypointer=0;" but nothing has changed. Could you help me? Thank you in advance.