Quantcast
Channel: Visual C forum
Browsing all 15302 articles
Browse latest View live

Memory allocation and virtual memory in Win 7

Hi,  I have a question about memory reservation. If I run my test application main.cpp (attached) in 32 bits (Intel Compiler and Visual c++), the output its an out of memory in the moment that I ask...

View Article


Same derived names in separate CPP files of CADORecordBinding causes conflict

HiI am using VS2008 Professional C++, creating bog-standard Win32 DLLs and am using ADO RecordBinding Running Windows 7, 32-bit.I have 3 separate CPP files each of which doesclass CSponsor2010Bind :...

View Article


How to display tooltips for each items in CTreeCtrl?

Hi, How can i display tooltips for each items (nodes) in CTreeCtrl? I could implement this using CToolTipCtrl class. But i am searching for other ways using CTreeCtrl only. Anybody can help me. Thanks...

View Article

R6016 - Not enough space for thread data

My statically-linked Visual C++ 2012 program sporadically generates a CRTL error: "R6016 - Not enough space for thread data". Microsoft documentation says this error message is generated when a new...

View Article

Image may be NSFW.
Clik here to view.

[MSVC2013] Template + remove include headers from global namespace

Hello forum! So as we know VS not supported export templates and extern templates can only assign to explicit decalarations! So, we have://B.h #pragma once namespace C { template <typename T>...

View Article


Call powershell command from C++

Dear all,I'm writing a demo about call powershell command and save result to .txt file.I run it on windows server 2012 64bit.But it ok when I run normal command like "get-date", "get-process"But when I...

View Article

Exclude certain file types in CFileDialog

Hi,We Can set certain types of files to be shown in the File-Open window ( CFileDialog ) using the "lpszFilter" parameter, But can we set this filter toNOT show certain types of files. E.g. Say, All...

View Article

Problem with Shortcut selection in CFileDialog with multiselect on!

Hi,I am using the CFileDialog to select multiple files but when the shortcut is selected, the file paths that I get for the other files are wrong. e.g. say In a directory C:/Desktop I selected two...

View Article


Recommendations on converting MFC App with Ribbon to touch screens

For a CAD/OpenGL type of MFC application with a ribbon is it practical to move to a touch screen?If so, is it worth the effort?Should I buy a touch monitor so I can write and debug on my desktop...

View Article


I can't find Visual C++ as language in Visual Studio 2012

Hi!I instaled Visual Studio 2012 and I want to create a new project with  Visual C++ but I can't find Visual C++ in templates. I have an restrictec version of Visual Studio 2012? Thank you in advance.

View Article

error C1083: Cannot open type library file: '..\..\system32\msxml.dll': No...

HiiIam migrating my application from vc++0.6 to vc++2013, this is one of the error iam facing..I am sending part of my code and is highlighting the error...

View Article

tips from vivion

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Expenses { class Expense { private string[] categories = { "Travel",...

View Article

Restricting the Typeface names listed in CFontDialog to a specific *_CHARSET

I need to be able to restrict the listed TypeFace names in a CFontDialog to only those names supported by specific Unicode Ranges. The lfCharSet attribute of the LOGFONT structure does not seem to do...

View Article


certificate

I've created an app, got it done and got the qr code where to download and install the certificate.The phone is now asking for the company registration... and cannot complete the installation without....

View Article

error MSB6006: "CL.exe" exited with code -1073741515 with VC++ 2013 ultimate...

I have reinstalled the whole setup the VC++ but still the same error.Anyone please help.

View Article


Beginner

Hello. i would like to learn C++ programming. In future i plan to learn PIC (microchips etc.) programming and computer COM USB ports controls with C++. Please need your help. Give me ur advices and...

View Article

Replace xiosbase to port MS C++

I need to port C++ code that was originally developed by another organization using MS tools.  The new platform's compiler (gnu - no pun intended) does not find <xiosbase> and the compile fails...

View Article


Is C++ XAML Win8 only?

Hi all, wanted to know if you can only use C++ / XAML together to create Windows 8 Metro style apps?  Also can you use the two together to create Windows7 apps?I'm just getting back into C++, was...

View Article

Problems with ShellExecute()

I am trying to open a PDF file when a button is pressed using the ShellExecute() command and am having problems. I first said:#include "Windows.h" #include <shellapi.h> and then added later...

View Article

Creating a menu.

resource.rc:#include <windows.h> #include <commctrl.h> #include <richedit.h> #include "resource.h" // // Menu resources // LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDR_MENU1 MENU {...

View Article
Browsing all 15302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>