|
I always thought you had to get at least the Standard version of VC++ to be able to program WTL apps due to the fact you need ATL. Because of this I was planning on getting Visual Studio Standard 2005 soon.
Now I've just found an article on CP with instructions of how to program WTL apps with VC++ Express 2005 since you can get ATL from the Server 2003 SP1 PSDK.
Can someone who's tried it clarify for me that it is indeed possible to develop fully fledged WTL apps with VC++ Express 2005 ?
What are the drawbacks (if any) of using VC++ Express 2005 to develop WTL apps ?
|
|
|
|
|
I haven't looked at that particular build of the PSDK, but in the earlier builds, any MFC and ATL files that came with it were pre-releases and/or 64-bit versions. Not suitable for production code. (This may have changed, but double-check the SDK to be sure before you start using those files.)
--Mike--
Visual C++ MVP
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
Hi,
I am creating a plugin for Outlook. i have created commandbarbutton on Explorer window. Now i have to create those commandbarbuttons on inspetor window.
how can i resolve this .
Thanks in advance
regards,
RamakoteswaraRao
spend every minute for success
|
|
|
|
|
Can anybody help me how to convert MFC DLL to ATL DLL?
Srinu
|
|
|
|
|
|
I have 3 MFC DLLs(YSUTIL.DLL, YSWEB.DLL and YSCOMMON.DLL) which we cannot change and one more DLL YSWEB_STCNTY.DLL this we need to convert into ATL. YSWEB_STCNY uses some classes of above mentioned MFC DLLs.
Srinu
|
|
|
|
|
If it's an MFC extension DLL, then you can't - that type of DLL only works with an MFC app.
Otherwise, you'll need to change the global CWinApp object to a CComModule and initialize it appropriately. You can create a dummy ATL DLL project and copy the init code into your DLL's code.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
We are using STLPort 4.62 in previous version of our program.
All was work perfectly (set, map).
In the stl_user_config.h uncommented
# define _STLP_NO_OWN_IOSTREAMS 1
In a next version I try to use vector.
And...
#include <vector>
cause several errors:
c:\program files\microsoft visual studio\vc98\stl\stlport\ios.h(41) : error C2874: using-declaration causes a multiple declaration of 'ios'
c:\program files\microsoft visual studio\vc98\include\ios.h(106) : see declaration of 'ios'
etc.
Help to me, please, resolve this problem.
Victor_jv
|
|
|
|
|
Victor_jv wrote: c:\program files\microsoft visual studio\vc98\stl\stlport\ios.h(41) : error C2874: using-declaration causes a multiple declaration of 'ios'
c:\program files\microsoft visual studio\vc98\include\ios.h(106) : see declaration of 'ios' etc.
You #include iostreams from both, VC++ and STLPort. Probably a configuration problem. You need to study the STLPort documentation or ask in a STLPort forum.
|
|
|
|
|
Roland is correct. I use MSVC6 - I would check "Tools->Options..." then select the "Directories" tab. Make sure the path to STL port is higher in the list then the path to MSVCs STL implementation.
Steve
|
|
|
|
|
Since you didn't post your code, I'm not sure if you're using the standard C++ headers.
Try to avoid using non-standard headers, like <iostream.h> and <vector.h>.
Use the standard extensionless headers that are part of the C++ standard, like <iostream> and <vector>
The *.h versions are not portable, and not part of the official C++ standard.
Top ten member of C++ Expert Exchange.
http://www.experts-exchange.com/Cplusplus
|
|
|
|
|
Hi There
Im having problems replacing an ATL DLL in a project at the moment, lets call this DLL_A. I need to replace a DLL with a DLL_A to get info needed for a bug. The application installs and the DLLs are registered and the program runs fine. If I close down the APP, unregister the DLL and then change the DLL with DLL_A, register that with DLL_A and then Run the program, a sort of undefined behaviour happens. The DLL seems to load but It just crashes. The DLL definatly works but The application doesnt like me altering the DLL for some reason.
Even If I try and unregister DLL_A replace it with the original DLL and register that, the program still doesnt like it and I have to do a build or install all over again.
the CLSID is be the same for both and Im registering and unregistering correctly.
Is there something Im missing or extra that I need to do.
All help appreciated.
Karl
|
|
|
|
|
If all the GUIDS are the same and you've registered it all should be fine (assuming the replacment isn't cactus). Have you got details on the crash? Perhaps this will give someone a clue.
Steve
|
|
|
|
|
Hi all
What sort of control is YPagerMyStatus in Yahoo Messenger. I want to find the user's yahoo id. how can I do it. I didnt know what sort of control is it so i used WM_GETTEXT with no success
Any Suggestions?
Thanx
|
|
|
|
|
_Sanjay_ wrote: t sort of control is YPagerMyStatus in Yahoo Messenger. I want to find the user's yahoo id
its seems it Owner Created Control, where might be WM_GETTEXT message has been blocked!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Folks,
I have been able to create a Windows Service (aka NT Service) using C# with the help of an article posted by Mahesh Chand on c-sharpcorner.
I need to create an NT Service using C++ in Visual Studio .Net. Use of ATL and MFC is OK for my application. I did not find any article/ book chapter that addresses this. I know doing so in Visual C++ Studio 6 is fairly straight forward. Unfortunately, going back to Studio 6 is a not a desirable option.
In .Net Studio, I have created both kinds of Windows Service C++ ATL Projects: (a) Attributed (default) and (b) non-attributed. Fom these projects, I am not able to figure out: (1) how to install/ uninstall the created service and (2) where to put in the business code of the Windows Service.
If any body has done it and can share tips/ code/ steps to accomplish this, I will appreciate it. You may write to me at rgoyal@esri.com.
Thanks,
Roop Goyal
|
|
|
|
|
hello,
i write a atl com,and use the popup menu,and the menu can show rightly,and i add the menu command function,but when i click one menu item,the function does not run ,what is the matter?
i add the menu in the oncontextmenu,who can help me?
where can i upload my code?
thanks.
|
|
|
|
|
|
Obviously, it's a .com
--
Pictures[^] from my Japan trip.
|
|
|
|
|
|
Hi,
I am have some problems calling a DLL in embedded Pocket PC. The CoCreateInstance reply a error "Class not registered."
I have already register the DLL in the Pocket PC device and even in the emulator but I still keep getting the same error.
I have a running version for desktop but the same is having problems on embedded. In debug mode, I found that the DLLMain's parameter dwReason is = DLL_PROCESS_DETACH.
Can someone please help me?
Thanks in advance.
|
|
|
|
|
|
|
Separate compilation of templates has only recently been added to the standard. I haven't looked to see if this feature is present in VC>6 but I doubt it. If it did it would look like this:
<br />
template <class T> void foo(T);<br />
<br />
export template <class T> void foo(T t) { foobar(t); }<br />
Steve
|
|
|
|
|
export has turned out to be a failure.
And MS doesn't plan on supporting it anytime soon.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
You cannot truly appreciate Dilbert unless you've read it in the original Klingon.
|
|
|
|