MASM settings
I apologize if I have posted to the wrong forum, but it was the closest match I could find. I would like to build and run an assembly language program using a 64-bit Windows 7 operating system and a...
View Articleatal error C1083: Cannot open compiler intermediate file
Hi all,While compiling VC++ 6.0 prject I am getting the below error."Fatal error C1083: Cannot open compiler intermediate file: 'C:\temp\a09912sy': Permission denied".Some times this error was coming...
View ArticleCompilation slows down when devenv.exe is called from Powershell
Hi, I am having the following problem. When I call VS 2012 devenv from a powershell script (or when I call a batch script from powershell), the compilation itself is executed at normal speed (it takes...
View ArticleWay is the resource getting bigger when uploaded to exe
First of let me start by saying hello everyone as this is my first post on MSDN. Ok so I have been having a hard time figuring out a problem. When I split the file buffer and upload the split parts to...
View ArticleUSB audio codec Texas Instruments (PCM 2906c)
Hello, I am trying to write an api using C++ to control an usb Audio Codec (PCM 2906).When I connect it to the computer windows 7 automatically installs the drivers, but what is the method to...
View ArticleCustom coloring of CComboBox with drop list style doesn't work on Windows...
Hi,In our program we highlight combo box that have to be filled with yellow background.This worked quite well with code similar to this until now:BEGIN_MESSAGE_MAP(MyCb,...
View ArticleUSB Audio Codec: Need help, lost
Hello, I am trying to write an api using C++ to control an usb Audio Codec (PCM 2906).When I connect it to the computer windows 7 automatically installs the drivers, but what is the method to...
View Articlehow to detect alt and enter key together?
LRESULT CALLBACK WindowProcedure(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { switch(message) { // The message is post when we destroy the window. case WM_DESTROY:...
View Article.NET LANGUAGES
Hello everyone , Plz can anyone tell me that which .NET language is manageable and easy for Windows Development Using VS?Im a C++ programmer , and I,m facing a lot of questions and queries In learning...
View ArticleEndUpdateResource() changes the permissions of the executable at hUpdate
I have created a simple executable which was compiled with an RC file (containing the version information for the application, for example 1.0.0.1). As a second step I wanted to be able to change the...
View Articletabpage cloning
I wanted to create a form in which additional tabs are to be made on runtime. When i add tabpages all the components in them are lost. I want new tabpages with the same controls. How do i do it ??...
View ArticleHow can I change the directory for resource files?
Currently my application reads some ini files in run-time. These ini files are located in current project directory.Can I configure the project so that during debugging in VS the app searches for ini...
View ArticleProcess keeps running when ExitProcess is called
Here is my code:int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MainThread(); OutputDebugString("message 1");...
View ArticleTreat linker warnings as errors
I am using Visual Studio 2012, I want to catch all warnings as errors. Therefore, I turned on the /WX options to treat all warnings as errors. However, it appears that it is applicable only to warnings...
View ArticleCoCreateInstanceEx starts DCOM server in remote machine in session 0 (for...
When i'm trying to start a DCOM server in a remote machine with CoCreateInstanceEx, it always starts in session 0. This will happen only if DCOM server is configured to run as "As Launching...
View Article[C++] - what need to know for build my new programming language?
i understand that i must be ok with C++ language and i must know how the language will be. but what i must know for start do the language?(i have read something in internet, but i only see how they...
View Articlehow to use CreateProcess in c++
hey I try to start a program (ContentWriter.exe) with my program. but it just gives me error code 3 ("The system cannot find the path specified.") I suspect it may have to do with my address contains...
View ArticleCannot re-arrange controls in MFC Ribbon - Visual Studio 2010
I have an Office-type VC++ application with a ribbon interface. I have populated the ribbon with several categories, each category containing several panels, and each panel containing several...
View Articlecrash: DDX_ManagedControl(pDX, IDC_STATIC_TEST, m_MaskedEdit);
Hi, I created MFC dll. I will trying to load a dialog contains .net Winform control from this dll. But it is crashing in the following lineDDX_ManagedControl(pDX, IDC_STATIC_TEST, m_MaskedEdit); The...
View ArticleHow to change background color for all dialogs in a Application
Hello,I'm migrating code from VC6 to VS2012. In my application the background color has been set in application's InitInstance() usingCWinApp::SetDialogBkColor(). But this is no more supported in...
View Article