Type: Posts; User: emarusso
Search took 0.01 seconds.
My sample is UNICODE, I tried to compile it multi-byte but the problem's still there.
I don't know wether the ActiveX is UNICODE, and I don't know how to check it.
thanks for re-attaching it, I didn't know how to attach it to the thread.
When I wrote hardcoded I meant that I wrote it in the visual studio resource editor, in the property window.
What you said was to hardcode the string in the function call.
Sounds like heap corruption to me too.
In fact, when you try to open the dialog again,
after having ignored the assertions, Visual Studio throws an error saying that heap corruption occurred.
Nothing changes, the error's still there.
I think the problem is somewhere else, because the assert is thrown by the destructor of
COleControlSite, namely the method
No, the prototype is
void put_FileName(LPCTSTR newValue).
As written in QTControl.h, that I attached.
The code is here
as I wrote in my first post.
Here's the point where I set the URL:
here's what I didn't explain in my last post. Every experiment has been done with the debugger attached.
1. In Visual studio, I hardcoded into the URL property of my QuickTime ActiveX...
I need to write a piece of code that opens a QuickTime VR image into an MFC Dialog.
I drew a Dialog and put an "Apple QuickTime Control 2.0" into it.
Then I created a Control...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!