Hi Friends,
i am using windows xp (sp2) operating system.
when i used spy++ for notepad and wordpad and when i select menu items it is showing WM_MENUSELECT msg and if i clicked menu item it showing WM_COMMAND.
but when i used spy++ for sql server 2005 and vs2005 and when i select menu items it is not showing any messages( i mean WM_M...
I have this confusion to develop this application in Win32 or WPF (.NET). This application primarily consists of a text editor (think of similar to the one in MS OneNote) with lot of customized requirements compared to a general text editor.
I was thinking to use VC to work on this as lots of custom drawing is required. What do you guys...
Quoting the instructions for building OpenSSL:
Then from the VC++ environment at a
prompt do:
nmake -f ms\ntdll.mak
When I do this, I get
cl /Fotmp32\cryptlib.obj -Iinc32 -Itmp32 /MT /Ox /O2 /Ob2 /W3 /WX /Gs0
/GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_W
IN32 -D_CRT_SECURE_NO...
Hi all!
I have a problem with Visual Studio 2008 concerning virtual inheritance.
Consider the following example:
#include<iostream>
class Print {
public:
Print (const char * name) {
std::cout << name << std::endl;
}
};
class Base : public virtual Print {
public:
Base () : Print("Base") {}
};
class A : ...
I want to load a pdf file on the click of a button.
In the OnClickButton() implementation I am writing the function which open the PDF file
ShellExecute(0,
"Open",
"%s\\HELP\\RiverCADPro_User_Manual.pdf",
NULL,
NULL,
SW_MAXIMIZE);
The above code is not working.What else ...
I am trying to learn more about list containers and how to iterate through them, but it seems that g++ has no problem with it, but Visual Studio C++ pukes all over the place!
#include <iostream>
#include <string>
#include <list>
using namespace std;
int main(){
list <string> data;
list <int>::iterator it;
data.push_back("fe...
following is the code which shows and hide a toolbar...the problem is that it does not displays the toolbar..and the showcontrolbar()does not work either.plz help...
Is there any other way round??? I am using visual studio 5.0...
#include<afxwin.h>
#include<afxext.h>
#include<stdafx.h>
#include"resource.h"
class myframe: public CFrameW...
Hey guys, I am a little new to the whole makefile concept so I have some questions regarding it.
I am creating a project using CodeBlocks in linux, I used a tool called cbp2mak to create a .make file out of the CodeBlocks project (if anyone knows a better tool please let me know).
Now i'm not sure what the difference is between .mak an...
I'm new to c++. I made a c++ program using VS 2008 Professional. I started with the Win32 template that created a window for me. I compiled it on Vista 32. I brought the compiled exe to my old XP sp2 computer, and it tells me the application configuration is incorrect. Is there something im doing wrong? How do I make it platform independ...
I'm working on a function to convert input files for my app to .ly files for use with LilyPond. What I would like to do in the conversion routine is go ahead and generate the PDF of the music. If I were to do this myself, I would double click the .ly file or I would right click the file and select "Generate PDF." I hoped that using Sh...
how to remove write protections of project and its files written in vc++/visual studio 2008.Or how to change attributes of files present in vc++ project
...
Dear Stackoverflow Readers,
I have started working with C++ recently and am not comfortable with Visual Studio Development Environment and also I do not have proper understanding of MFC, Win32, ATL, COM Terminologies.
From example point of view, I had taken a simple C++ program to see how it works with Visual Studio Environment and I ...
It would be very convenient to have "short enum" or "char enum" in VC++, as I have seen mentioned elsewhere for GCC etc. Is there some option in VC++ to allow this?
...
I am looking to do Qt development with Visual Studio 2005.
I have built the Qt libraries for Visual C++ and have downloaded the Qt plug-in using the steps outlined here.
I've set the QTDIR environment variable to point to the newly built Qt environment (C:\Qt\vc).
However, when I start Visual Studio, I get the following message:
Th...
I am trying to understand a DirectShow library implementation.
What is a IEEE1394-id in DirectShow terminology?
IEEE1394 is firewire.
Does it usually also describe ids for
USB devices?
it gets retrieved by IAMExtDevice::get_ExternalDeviceID()
...
I would like to have Visual Studio highlight the names of my own classes in the text editor.
I have selected a color under User Types in Options > Fonts & Colors -- but strangely, this only works for Visual C# but not Visual C++.
Any ideas what's going on?
EDIT: I received some great tips regarding 3rd party tools in response to my pr...
Hi,
i want to set the style of picturebox using sendmessage in win32.
i want a sample piece of code with enum values of setting style.. please please suggest me...
i will be thank full to u guys.. please help me.
...
From Visual Studio 2008 Command Prompt I run this command to generate .vcproj file:
>qmake -spec win32-msvc2008
And get a warning message:
WARNING: Generator: MSVC.NET: Found more than one version of Visual Studio
in your path! Fallback to lowest version (MSVC.NET 2008 (9.0),
MSVC.NET 2008 Express Edition (9.0), MSVC.NET 2005 (8.0), ...
Hi,
I just upgraded a C++/CLR projct that works as a wrapper around a native DLL (build with VC2005). Visual Studio upgraded and builds just fine - no errors at all.
When I run some test methods inside the wrapper accessing the native DLL, the native DLL seems to work correct (response from native DLL methods are as usual). But as soo...
Hello,
I learned via Wikipedia that Visual Studio C++ 2008 Express Edition does not ship with support for MFC projects. Does anyone know if the Visual Studio 2010 Beta 1 distribution ships with MFC support ? I imagine MFC versions for Win 7 are incomplete, but I only require basic/legacy MFC support for Win XP/Vista.
Thanks
...