Hello,
I inherited an very old application that I am in the process of updating it (I know, we should have rewrote it in VS 2008, but we purchased a company, which is how I was stuck with the relic). Using UpdateData(TRUE) to retrieve the changes made in the dialog controls, nothing is being updated. I have an edit control, with an integ...
What are the pluses and minuses to using the vcredist.exe versus the msm files to install the Visual C++ 8.0 runtime libraries?
...
Hello previously i was using VC++ 6.0 and MFC where i used Microsoft Communication Control 6.0 for serial communication its fine.But now i am using vc++.net 2003 and MFC, i added Microsoft Communication Control (MSComm1) but in class view there is no CMSComm class will creating . But in VC++ 6.0 if i add the this ActiveX Control.The CM...
Hi All,
By using CMFCPropertyGridProperty::GetValue I'm able to get the contents of the property grid.
I have one property though that gets the font, where when you click on it, shows a dialog box to select the font, size and style.
Using this code:
CMFCPropertyGridProperty* pCurSel = m_wndPropList.GetCurSel();
CString test = pCurSe...
Currently I am using the statement:
#import "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\test.tlb" named_guids
But I am getting the folder path programatically. i.e., "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
I have to load test.tlb from this path which resides in a variable say, folderpath. I have to import the tlb programa...
Hi,
(I'm re-posting this message since I signed up as a user now)
I just installed Visual Studio 6 (SP5) on a Vista Enterprise machine. Had some problems but I think it’s set up alright.
The problem is my VC++ 6 application fails when trying to host an ActiveX. I was able to compile it ok, though got a warning message from Vista about ...
Hi
My intension is to find the "Microsoft.SqlServer.Management.Sdk.Sfc.dll" is present in the system or not. And generally this will be came up with sqlserver2008 installation usually it is available in
C:\Program Files\Microsoft SQL Server\100\SDK\Assemblies
or can u provide me atleast a way to find whther SQLSERVER2008 installed or...
Hi all!
I'm working on an windows application that requires separate events for the push and release of a button. While the button is pushed I have to rotate an opengl scene that is on a child window.
I'd like to do that way in order so user doesn't have to make multiple button clicks each time he wants to rotate the scene.
I've seen...
I'm trying to make my child dialog box to be created as a member of the main application class as follows:
class ParentWindow : public CWinApp
{
public:
// Other MFC and user-implemented classes before this line
MiscSettings activeMiscSettings;
public:
ParentWindow();
~ParentWindow();
// Overrides
virtual BOOL Init...
Hi
Can any ne Help converting string to LPWSTR
string command=obj.getInstallationPath()+""
Now i wat to pass it as parameter for CreateProcessW(xx,command,x.......)
But cretaeProcessW() accepts only LPWSTR so i need to cast string to LPWSTR
Thanks in Advance
...
Hi
Ineed to open this key" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\"
and get the "VerSpecificRootDir" value using c++ ....How can i do this
I have no knowledge abt it can any one help me in this regard..
After Getting All The Support I did it as
unsigned long type=REG_SZ, size=1024;
char res[1024]="";
HKEY...
We use Native COM support in our code havily. Everything's fine except that we don't like the fact that on error _com_raise_error() is called which throws a _com_error exception. Since we have our own hierarchy of exceptions catching this _com_error is inconvenient - it's not in our hierarchy and even doesn't inherit from std::exception....
Hello,
I'm new in OpenGL.
I know C# has OpenGl Framework.And we can use it like this:
using CsGL.OpenGL;
Is there a framework for using OpenGL in VC++.net too ?
Best Regards...
...
I am trying to build a Visual C++ 2008 DLL using SDL_Mixer 1.2:
http://www.libsdl.org/projects/SDL_mixer/
This is supposedly from a build made for Visual C++, but when I include SDL_mixer.h I get error C2143: "syntax error : missing ';' before '['".
The problem line is:
const char[] MIX_EFFECTSMAXSPEED = "MIX_EFFECTSMAXSPEED";
Is th...
Hi
Let us have a path
C:\Program Files\TestFolder
this path i got programatically and stored in a varible dirpath(for example)
Now i have concatinated string
dirpath=getInstallationpath()+"\\ test.dll /codebase /tlb";
then dirpath is become
C:\Program Files\TestFolder\test.dll /codebase /tlb
But my problem is i have make the p...
I am following this tutorial:
http://www.generation5.org/content/2001/sr00.asp?Print=1
Right off the bat it asks me to use the MFC Application Wizard to create a new project. It turns out that it's not included with the Visual Studio 2008 Express.
Is there any way that I can download it so that I can use it to continue the tutorial? O...
Hi
How to get the Sqlserver Installation Path Programatically.
If we go for the Registry Then Registry Hives May be Different from one OS to other OS
Like w2k3 to w3k8 and VISTA and W2k8 R2 like that..
But i did Using Registry as follows But I gave Some Hard Code Key vAlues If Hives are same then no problem if Different The Problem...
Hello,
How can I use Opengl in PictureBox toolbox in Visual C++.I didn't come across any document on internet.Do you know any document,tutorial,code example etc. about this topic?
Could you help me please?
...
I'm trying to compile an unspecified piece of software, and I'm getting errors in the standard headers such as stdio.h. The errors are mostly undeclared identifiers such as _In_. IntelliSense finds their definitions just fine. In what general direction should I look for the cause of this?
Added: For example, in one cpp file stdio.h is t...
how to calculate the starting and end time of switch in VC++ can anyone please help me to solve this?
...