|
Anybody knows how can I dynamically insert memory images into HTML document through mshtml interface?
|
|
|
|
|
Don't know about inserting "memory images" directly into the HTML, but you could take the following approach:
1. Get instance of the DOMDocument
2. create temp files of your "memory images" to disk
3. Insert image tags into DOMDocument pointing to said images
when you're done, clean-up your temp files; you could just maintain a 'list' of the temp images files created, so you can easily clean them off the disk when done.
:..::. Douglas H. Troy ::..
Bad Astronomy |Development Blogging|Viksoe.dk's Site
|
|
|
|
|
This is not a simple question. There are a number of way you can do it that I know of:
- Use an ActiveX control.
- Use a Rendering Behavior.
I have done both and they both work. You have to be at home with COM and do a little reading.
Steve
|
|
|
|
|
It's sounds interesting. May I have some examples or more detailed idea?
|
|
|
|
|
Hello, friends. I develope COM Add-in for MS Outlook. Anyone know how to get all accounts information in Outlook? Are necessary e-mail all accounts.
|
|
|
|
|
|
Thanks, I have already made.
|
|
|
|
|
Hi,
I have a class template that I want to derrive another class template from - could anyone help with the syntax?
My base class is declared as:
template <class type, long size> class xyz
{
};
What would I need to derrive a templace class abc from the above?
TIA
-- modified at 8:31 Thursday 2nd February, 2006
|
|
|
|
|
please come back to your post, click on the little [Modify] link at the bottom right, and there, check the "Ignore HTML tags in this message (good for code snippets)" check Box to let use see the whole template declaration.
note that i ask you to modify your post, not to repost it !
now i imagine you have this :
template<class T>
class xyz {
};
then you can do this (i think) :
template<class T>
class child : public xyz<T> {
};
thanks in advance...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
-- modified at 8:22 Thursday 2nd February, 2006
|
|
|
|
|
Thanks for this. That is pretty much how I have it but the compliler is unhappy. I will have to double check.
Ta
|
|
|
|
|
softwaremonkey wrote: That is pretty much how I have it but the compliler is unhappy
what do you doi exactly, and what does the compiler say ?
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
My base class (which is OK) is declared as:
template <class type, long size> class xyz
{
};
My derrived class is declared as:
template <class type, long size> class abc : public xyz<class type, long size>
{
};
The compiler throws out a lot of errors, the first being:
Error C2146 syntax error : missing ',' before identifier 'size'
The next error is
Error C2977 : 'xyz' too many template arguments - see declaration of 'xyz'
TIA
-- modified at 8:49 Thursday 2nd February, 2006
|
|
|
|
|
softwaremonkey wrote: template <class type,="" long="" size=""> class abc : public xyz<class type, long size>
{
};
change it into :
template <class type, long size>
class abc : public xyz<type, size> {
};
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
-- modified at 9:17 Thursday 2nd February, 2006
|
|
|
|
|
Hi,
Fantastic, it now compiles. I just couldnt see the wood for the trees.
Thanks a million
|
|
|
|
|
Hi,
i've included various projects(60) in my workspace and
i've used objectspace-STL within these, since now. I don't know if i have installed
software that damaged this old good state or i done something else, but from now i have to set the linker switch "ignore all standard lib.", that it would work - compile and link.
I get following fault, if I don't set it:
: error LNK2001: Nichtaufgeloestes externes Symbol "__declspec(dllimport) public: __thiscall std::_Winit::~_Winit(void)" (__imp_??1_Winit@std@@QAE@XZ)
So I looked for _Winit and find out that my DLL needs msvcp60.dll to work. I know this dll, it's for
MS C++ Runtime Library. But the question is:
How can i use objectspace-stl again and how can i ban this dll ?
Is there a switch within VS, with that i can get my old good state ?
Anyone who has experience how could i solve the problem ?
Thanks in advance
Eddy
|
|
|
|
|
please help me:
i have to create an extension for thunderbird not for firefox so i want tutorial for how to create extension and use this.
reply me ASAP.
Bankey Khandelwal
Software Engineer
bankey.khandelwal@solversa.com
|
|
|
|
|
Why not try the Mozilla groups for this information? If you have a specific ATL question, that's different, but your asking a generalized question that pertains to Thunderbird ... this is NOT a Mozilla nor Thunderbird discussion group.
:..::. Douglas H. Troy ::..
Bad Astronomy |Development Blogging|Viksoe.dk's Site
|
|
|
|
|
Changes something in the project settings, and this error keeps coming up. It's driving me crazy! Anyone know what this is...? I've checked all the project settings and no luck....
1>------ Build started: Project: Ms2000TT, Configuration: Debug Win32 ------
1>Compiling...
1>Ms2000TTBeamScopeModel.cpp
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(83) : error C2976: 'StrTraitMFC_DLL' : too few template arguments
1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL'
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(83) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(85) : error C2976: 'StrTraitMFC_DLL' : too few template arguments
1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL'
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(85) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(93) : error C2976: 'StrTraitMFC_DLL' : too few template arguments
1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL'
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(93) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(94) : error C2976: 'StrTraitMFC_DLL' : too few template arguments
1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL'
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(94) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(95) : error C2976: 'StrTraitMFC_DLL' : too few template arguments
1> c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(65) : see declaration of 'StrTraitMFC_DLL'
1>c:\program files\visualstudio8\vc\atlmfc\include\afxstr.h(95) : error C3203: 'StrTraitMFC_DLL' : unspecialized class template can't be used as a template argument for template parameter 'StringTraits', expected a real type
1>c:\svnprojects\branches\winson\pcsonar\ms2000tt\ms2000ttbeamscopemodel.h(4) : fatal error C1083: Cannot open include file: 'BeamScopeModel.h': No such file or directory
1>Build Time 0:02
1>Build log was saved at "file://C:\SvnProjects\branches\Winson\PcSonar\Ms2000TT\Debug\Ms2000TTDebug-BuildLog.htm"
1>Ms2000TT - 11 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[b]yte your digital photos with [ae]phid [p]hotokeeper - www.aephid.com.
|
|
|
|
|
hi ,project settings "mimize CRT use in ATL" make it no, this is under configuration properties in general tab.
|
|
|
|
|
Hi folks,
I need my application to act in a different way when the workstation is locked, but I can't find any windows API to check this. I´ve found the following comment under the "LockWorkstation" function at MSDN:
"There is no function you can call to determine whether the workstation is locked. To verify whether it is worth attempting to update your user interface, you can test whether or not your window is visible. This also has the advantage of identifying when the user cannot see your user interface because it is obscured by another window, minimized, or offscreen."
Unfortunately, it doesn't work : I tried this calling the IsWindowVisible() method of CWindow (WTL) but it always return TRUE (window visible) even when workstation is locked .
I'll appreciate comments and suggestions.
Thanks in advace.
"When I look into your eyes, there´s nothing there to see, nothing but my own mistakes staring back at me"
|
|
|
|
|
Instead of checking to see if the workstation is locked, why not check for keyboard inactivity and change the how your application "works" by that means?
Just a thought ...
:..::. Douglas H. Troy ::..
Bad Astronomy |Development Blogging|Viksoe.dk's Site
|
|
|
|
|
And more a question. In add-in for Outlook it is possible to fill in field To in the new mail?
|
|
|
|
|
|
" this site " I know. He has not helped me, though I have understood.
|
|
|
|
|
Yes it is definetly possible to modify the subject line in the new mail. But somewhere you would have to place a string value to be displayed in the subject line using :
put_Subject(_com_util::ConvertStringToBSTR(stringtobedisplayed));
Does this solve your problem
p.s : You need to convert a string to bstr before doing this. So I have used _com_util::ConvertStringToBSTR()
Wishes.
Anshuman Dandekar
Dare to Dream,
Care to Achieve.............
|
|
|
|