|
Are there any special requirements/dlls/etc. that your users computers need if you implement ATL / WTL / STL ? New to this area.
"Best file compression around: DEL *.* = 100% compression."
<><><><><><><><><><><><><>
Matthew R. Miller
mattrmiller@computersmarts.net
www.computersmarts.net
|
|
|
|
|
I can only answar for ATL.
When using ATL you can select either to do a static link, in which case the users don't need the dll's, or you can link dynamically, then the users gonna need the dll's.
It's up to you
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
Thank you
"Best file compression around: DEL *.* = 100% compression."
<><><><><><><><><><><><><>
Matthew R. Miller
mattrmiller@computersmarts.net
www.computersmarts.net
|
|
|
|
|
For WTL, there are no DLLs
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
I think that some STL bits will pull in MSVCP60.DLL, which implements part of the C++ runtime library.
For the life of me, I can't remember what bits...
Steve S
[This signature space available for rent]
|
|
|
|
|
I had the impression that all the STL is implemented in header files which you include. Since STL uses templates all the implementation is in class declaration. Therefore, everything is statically linked.
Also, if you go the Dinkumware page[^] of VC fixes all you have to do is download a new version of the patched header file and put it in the include directory.
Of course, I might be wrong....
Best regards,
Alexandru Savescu
|
|
|
|
|
Some classes are actually in a DLL. Things such as std::string and std::wstring are there.
Tim Smith
I'm going to patent thought. I have yet to see any prior art.
|
|
|
|
|
Thanks for clearing it out.
Best regards,
Alexandru Savescu
|
|
|
|
|
+ parts of the iostreams.
--
standing so tall, the ground behind
no trespassers, on every floor
a garden swing, and another door
she makes it clear, that everything is hers
A place of abode, not far from here, Ms. Van de Veer
|
|
|
|
|
Yes, put in IQ > 50 in User requirements below the System requirements on the box.
/Magnus
- I don't necessarily agree with everything I say
|
|
|
|
|
How can I decide whether the control is in design mode or not. I mean whether it's in an IDE such as VB and is being dragged and dropped, but not running as part of an application.
|
|
|
|
|
Not sure if this will work or not - give it a go - add the following to your control class:
BOOL IsUserMode()
{
BOOL bUserMode = TRUE;
HRESULT hRet = GetAmbientUserMode(bUserMode);
if (FAILED(hRet) || bUserMode)
{
return TRUE;
}
return FALSE;
}
If the control is in design mode, then the above returns FALSE ... I think ...
Faith. Believing in something you *know* isn't true.
|
|
|
|
|
|
I have a number of DLLs that use CAtlStrings in the public interfaces. At build times I recieve a large number of warnings of this nature:
SWServices\RuntimeDataPlugv1_0_0.h(102) : warning C4251: 'RuntimeDataPlugv1_0_0::m_strIconTip' : class 'ATL::CStringT<basetype,stringtraits>' needs to have dll-interface to be used by clients of class 'RuntimeDataPlugv1_0_0'
with
[
BaseType=char,
StringTraits=ATL::StrTraitATL<char,atl::chtraitscrt<char>>
]
At first I thought there was a real problem with the the use of using the template typedefs. However, everything works fine. Is there a way to get rid of these warnings? Is there something I'm missing that I should be worried about?
|
|
|
|
|
Returning CString/CAtlString from a dll is not really advisable. Simple return LPCTSTR.
Best regards,
Paul.
Jesus Christ is LOVE! Please tell somebody.
|
|
|
|
|
I was under the impression that VC 7 fixed all the problems they had with these sorts of issues. Is there something specifically that is dangerous in CATLString? Dealing in LPCTSTR is a performance hit I'd rather not deal with.
|
|
|
|
|
hi,
i have created certain math and engg utilities for myself using a lot of stl vector,valarray,string etc.is there any problem in using them in a dll?
-huus
|
|
|
|
|
None, I use STL quite a bit in ATL COM DLLs
"The greatest danger to humanity is humanity without an open mind." - Ian Mariano
http://www.ian-space.com/
|
|
|
|
|
There might be a problem if you are using VC 6.0 and you are declaring a std::map or std::set . That is because the STL implementation uses a static object in the XTREE header file. You need to update the XTREE header from the Dinkumware website. Details here[^]
Best regards,
Alexandru Savescu
|
|
|
|
|
how to include MFC in win32 Project?
hi there!
i needed to know how do i get to include MFC into a big and complex win32 application..i enabled mFC support but the linker throws a million lib files that are needed! where do i change the settings to include the lib files? I also included afxwin.h but then it said that an MFC application must not include windows.h so i removed it.. but then there are a million errors again..plz HELPPPP!
|
|
|
|
|
What exactly do you need from MFC to add to your App?
"The greatest danger to humanity is humanity without an open mind." - Ian Mariano
http://www.ian-space.com/
|
|
|
|
|
i want to include COleControl Class from MFC to replace a COleControl class from OLE 1.0..The thing is the files AfxCtrl.h , AfxWin.h cannot be included in the project..
hence BIGG probs..
plz do msg asap if u have a solution to this prob.
|
|
|
|
|
I suspect you are in hell. I don't see how you can easily do what you want. What you might try is create two console apps, and enable MFC in one ( I believe you can ). Do a diff of the two projects and see what has changed, and that might give you some ideas.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
welllll...
thanks a lot fellas!
ne better ideas????
|
|
|
|
|
Like I said, you are in hell.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|