//CComPtr #include <ATLBase.h> //_bstr_t #include <ComDef.h> #include <ComUtil.h> //DirectShow8 #include <dshow.h> CComPtr<IGraphBuilder> m_spGraphBuilder; CComPtr<IMediaControl> m_spMediaControl; m_spGraphBuilder.CoCreateInstance(CLSID_FilterGraph); m_spGraphBuilder->QueryInterface(&m_spMediaControl); _bstr_t bstrFilename = szFilename; m_spGraphBuilder->RenderFile(bstrFilename, NULL) m_spMediaControl->Run(); |
🔒 Locked
Why does source garble #includes?
Advertisement
Original Post
Just curious if everyone else has trouble with them...
You you edit my post, it doesn''t look that same as what I orignally typed, nor what is displayed...
Magmai Kai Holmlor
- Not For Rent
Yeah, I''ve been wondering about the preprocessor mangling for a while...
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
The main thing I find annoying is that it seems to remove blank lines as well. It makes it difficult to post just a few snippits of code, since you usually use blank lines to separate the different blocks.
codeka.com - Just click it.
codeka.com - Just click it.
Oh, I have another error! It doesn't recognize when you close C-Style comments sometimes. Here, I'll try to reproduce it:
Hopefully one of those triggers it...
[EDIT: The culprit is the single line C-Style comments I guess]
[Resist Windows XP's Invasive Production Activation Technology!]
Edited by - Null and Void on October 9, 2001 9:26:48 PM
|
Hopefully one of those triggers it...
[EDIT: The culprit is the single line C-Style comments I guess]
[Resist Windows XP's Invasive Production Activation Technology!]
Edited by - Null and Void on October 9, 2001 9:26:48 PM
|
No! I'm complaining about the [ source] tag formatting on the board, not about the language itself. I suppose it really belong in the "GDNet Suggestions, Comments and Ideas" forum.
Magmai Kai Holmlor
- Not For Rent
ARghghh! and now I can't even move it! This is another thing that's been bother me, I can only moderate half the time (even in Software Engineering)
Edited by - Magmai Kai Holmlor on October 9, 2001 11:57:04 PM
Is there a FAQ for dumb moderators on how do thier job and how it works?
Magmai Kai Holmlor
- Not For Rent
Magmai Kai Holmlor
- Not For Rent
To do the [source][/source] tags without spaces do this: [source][/source]. For future reference
.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement