Answer Questions
Erik van der Veen How do I distribute Visual Studio 2005 apps?
I'm using Visual Studio 2005 Professional to create a C++/MFC application. I just recently made the switch to VS2005 (from version 6.0!) so there's probably a lot of stuff I have yet to learn... Anyway, I recently tried to give a user a work-in-progress version of the executable for testing, and the user reported that the program failed with the following message: "This application has failed to start because the application config ...Show All
mahmut How to get SysListView32 of hiding object with IAccessible
Dear Sir, I try to get the objects under SysListView32 and Internet Explorer_Server but they are difference behavior. Like to double click to launch MyComputer icon of client is SysListView32 and I put in the url address in the Address. The client was changed to Internet Explorer_Server and show web page. I used the IAccessible of accSelect with para, SELFLAG_TAKESELECTION, try to reach hiding object, out of window view. I can reach the hidin ...Show All
reichard Chinese resources
Hi I have to create chinese resources for my application. To check a bit how all is working I created a chinese mfc application. If I run the application, all is shown correct in chinese. If I check the resources for example the menu in visualstudio I dont see chinese signes. Do I have to change any settings in visualstudio to see the correct chinese signes in the resource editor Thanks Peter I just Upgrade Be ...Show All
Erin MFC app with Windows Forms and User Control - what am I missing?
Background: We have a large legacy app written in native C++ (VC6) and MFC. We are doing some major enhancements that require a bunch of new and revamped UI's, and have decided to do the new UI work with Windows Forms. The app has been moved to VS2005 and updated to build with /clr - so far, so good. I have created a new Windows Forms dialog, and am able to launch it and interact with it just fine - looking real good. Here's the problem: ...Show All
Dennis Jelavic How can I solve below template partial specialization problems?
I want to specialize template when return type is void. ========================================== template <char const*& T, class U, class X> class CSpecialize { public: CSpecialize(X (U::*pfunc)()) : m_pFunc(pfunc) { } X (U::*m_pFunc)(); }; template <char const*&T, class U> class CSpecialize<T, U, void> { public: CSpecialize(void (U::*pfunc)()) : m_pFunc(pfunc) { } private: void (U::*m_pFunc)(); }; ...Show All
Andy Reeves Compiler error - HELP
Hi all So I just converted a huge project from MetroWerks CodeWarrior to Visual Studio 2005. The project converted fine and ran... ran I said, since now I cant run anymore. What did I change, well, I was changing some setting with 'struct member alignment' and trying some #pragma pack(1). After some tests I changed it back to default, and removed the pragma's. Now the code runs, but not very well, since some members of structs are not being read ...Show All
brizznady Calling Managed Code from Unmanaged Code ?????
I found this great example on this issue: http://www.codeproject.com/managedcpp/unmanaged_to_managed.asp unfortunatelly , it only works on v.s.net 2003 , and in order to compile it in v.s.net 2005 with the /clr option, you have to make a lot of changes in the code like replacing _gc with ref and alot of other things. I tried to do it, but after all the changes, it still didn't work can someone refer me to an example which is su ...Show All
J Tatta dialogs
hello, i just started programming using this software and i was wondering if anyone could help me. given i have 2 dialogs. how do i add the 2nd dialog class as a variable to the first dialog class thanks! Create an instance for the second dialog class. By doing what I said. If you didn't include it in the second dlg cpp class, that class would not compile at all. It ...Show All
Nilushan branch hints
Hello, In gcc I can send the compiler a hint about the expected flow of a branch #define NOT_LIKELY(expr) __builtin_expect((expr),(1==0)) #define LIKELY(expr) __builtin_expect((expr),(1==1)) I know the intel compilers do this, too. Is there a way to do this with the Visual Studio 2005 compiler Thanks. Hi! No, there is no hints like you mentioned in VC++. Still, if I remember correct, Inte ...Show All
CodeTool arrow, delete and number keys don't respond.....
Using VS2005 C++ beta 2 every now and then I can't use my delete, backspace, arrow keys or my side number pad while working in the VS enviornment. I thought that I might have lost focus but the carret is still blinking where I was last at, and if I type the numbers or letters on my main keyboard then I can do things... The worse is I can't delete. At first I thought this was just in debug mode but it now started happening whi ...Show All
Joni Memory Question
Okay you know like when you buy a game for pc. It gives you the system requirements and recommends this and that. 1. How can you determine on your application how much RAM is need and what not 2. How can you foced a program to make that user have that so much RAM Like how Vista forces users to have 512MB i think 1 - I would suspect that they do this at least partially via testing and profiling. I can't imagine ...Show All
PrasNuts Visual C++ Express 2005 Beta 2: how to add INCLUDE path?
I installed Visual C++ 2005, beta 2 and can not add INCLUDE path to SDK using Tool->Options->Projects and Solutions->VC++ Directories widget: I see "Platforms" and "Show directories for" and can choose "Include Files" using pulldown menu under "Shpw directories for" but that's it ! When I press OK, nothing shows up .. How to modify those settings Thanks, Vladimir See this thread: http://forums.micro ...Show All
InTheDark visualizing #include tree graph dependency
I put all those words in the title to facilitate people's future searches. My question is: does anyone know of a visualization tool that will show which files include which I found text-based ones (e.g. Includes by adonovan@lcs.mit.edu ), that parse one .cpp file at a time. Is there anything out there (free or commercial) that handles the whole project with its VS2005 setting so that it runs in the same environment as the ...Show All
BergSt error LNK2001!!!
Hi, I have a linking problem after attempting to build the file. The error is as follows: Cthread.obj : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > * Pcthread_stream" ( Pcthread_stream@@3PAV $basic_ostream@DU $char_traits@D@std@@@std@@A ) Could anyone tell me what is wrong and how to go about solving it Thanks. The ...Show All
Chrisjwood char* pointer in class member
Working in VC++ v.7(.NET 2003). Cannot work with char* pointer in class member. My example: class ABC { char *aP; public : ABC ( void ); ~ ABC ( void ); int myFunction( void ); }; Then when in my function int AB ...Show All
