Click here to Skip to main content
15,891,920 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Template and operator << Pin
Michael Dunn31-Jan-07 3:12
sitebuilderMichael Dunn31-Jan-07 3:12 
QuestionProblem with a Function Template Pin
manustone30-Jan-07 9:22
manustone30-Jan-07 9:22 
AnswerRe: Problem with a Function Template Pin
Michael Dunn30-Jan-07 10:15
sitebuilderMichael Dunn30-Jan-07 10:15 
AnswerRe: Problem with a Function Template Pin
Michael Bergman30-Jan-07 11:31
Michael Bergman30-Jan-07 11:31 
GeneralRe: Problem with a Function Template Pin
manustone30-Jan-07 23:01
manustone30-Jan-07 23:01 
QuestionDisappearing slider Pin
AghaKhan29-Jan-07 12:27
AghaKhan29-Jan-07 12:27 
QuestionWhen Servers Crash! Pin
Michael Bergman29-Jan-07 8:51
Michael Bergman29-Jan-07 8:51 
QuestionIWMSBufferAllocator Windows Media Server 9 Pin
Tili29-Jan-07 0:11
Tili29-Jan-07 0:11 
Hi
I am getting Access violation whenever I Query for IWMSBufferAllocator in my custom plugin.

Here is code
<br />
IWMSBufferAllocator *pBufAllocator = NULL;<br />
<br />
if(m_spClassFactory)<br />
{<br />
hr = m_spClassFactory->QueryInterface(IID_IWMSBufferAllocator,(void**)&pBufAllocator);<br />
if(FAILED(hr))<br />
return hr;<br />
}<br />

Debug output gives these lines


Access violation reading location 0xfffffffffffffff.
The thread 'Win64 Thread' (0x338) has exited with code 0 (0x0).
First-chance exception at 0x78d67d0d in WMServer.exe: 0x80010105: The server threw an exception.


m_spClassFactory seems good. Its not a null or invlaid pointer. I have also tried with code like MSDN where

hr = m_spClassFactory->QueryInterface(IID_IWMSBufferAllocator,(void**)&pBufAllocator);
is used as
hr = m_spClassFactory->QueryInterface(&pBufAllocator);


Can someone help? There is no other doc available.


-----------------------------
In my dream, I was dorwning my §orrow§
But my §orrow§, they learned to §wim

QuestionSTL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
Jeffrey Walton25-Jan-07 12:24
Jeffrey Walton25-Jan-07 12:24 
AnswerRe: STL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
prasad_som25-Jan-07 17:14
prasad_som25-Jan-07 17:14 
GeneralRe: STL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
Jeffrey Walton26-Jan-07 3:29
Jeffrey Walton26-Jan-07 3:29 
GeneralRe: STL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
prasad_som26-Jan-07 5:42
prasad_som26-Jan-07 5:42 
GeneralRe: STL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
Jeffrey Walton26-Jan-07 7:18
Jeffrey Walton26-Jan-07 7:18 
GeneralRe: STL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
Jeffrey Walton26-Jan-07 4:14
Jeffrey Walton26-Jan-07 4:14 
AnswerRe: STL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
Michael Dunn25-Jan-07 17:40
sitebuilderMichael Dunn25-Jan-07 17:40 
GeneralRe: STL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
Jeffrey Walton26-Jan-07 3:26
Jeffrey Walton26-Jan-07 3:26 
GeneralRe: STL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
Jeffrey Walton26-Jan-07 4:17
Jeffrey Walton26-Jan-07 4:17 
GeneralRe: STL: C2440: 'initializing' : cannot convert from 'char [12]' to 'SecureString' Pin
Joaquín M López Muñoz26-Jan-07 10:29
Joaquín M López Muñoz26-Jan-07 10:29 
QuestionProblem in Creating Activex in AtlComponent Pin
narayanagvs24-Jan-07 17:25
narayanagvs24-Jan-07 17:25 
QuestionATL Object having event Pin
godspeed12324-Jan-07 12:35
godspeed12324-Jan-07 12:35 
AnswerRe: ATL Object having event Pin
Roger Stoltz24-Jan-07 21:07
Roger Stoltz24-Jan-07 21:07 
QuestionI can't see ListView Control.what's the problem ? Pin
shuaicarr23-Jan-07 14:39
shuaicarr23-Jan-07 14:39 
AnswerRe: I can't see ListView Control.what's the problem ? Pin
Michael Dunn23-Jan-07 15:37
sitebuilderMichael Dunn23-Jan-07 15:37 
AnswerRe: I can't see ListView Control.what's the problem ? Pin
Alain Rist24-Jan-07 0:16
Alain Rist24-Jan-07 0:16 
Answeri called AtlInitCommonControls() .and set proper styles. Pin
shuaicarr24-Jan-07 1:24
shuaicarr24-Jan-07 1: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.