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

Image may be NSFW.
Clik here to view.

how to get IRQ information with vc++

hi i want to get irq information with using of vc++ like providing in this image..which function/property should i use for getting this informaiton.

View Article


MFC: Multiple rows of CMFCToolBar

Hi, in my MFC application i am using 9 CMFCToolBars, I want them to appear in two rows, what should i do? What i did on my application is attaching below, the output of the program is such that all...

View Article


CFolderPickerDialog - zip files with folders

Hi guysPlease help.In brief, in a project, when a certain button is clicked, it is supposed to open a folder dialog, so I used the CFolderPickerDialog class. But It shows only folders. I want it to...

View Article

The download of the specified resource has failed

Issue: When client (IE or Web Client App) connect to https WebServer  then urlmon.dll calls calback function with HRESULT     -> 0x800c0008 The download of the specified resource has failed. 1....

View Article

Why do two builds of the same source code on the same computer have different...

Last night I built the 64 bit Debug version of my code in VC++ 2012 Pro Update 4. This morning I built it again, without changing ANYTHING (I checked with our IT department that no changes were made)....

View Article


vc++ 2008 define global object - how ?

using namespace System; using namespace System::Net; using namespace System::Net::Sockets; void UDPinit(void){ Socket ^udpSvr=gcnew Socket(...

View Article

VIsual C++ 2012: Can you compile MFC DLL/Library from source code?

I am curious if it's possible to compile the MFC source code to DLL/Library from what is provided with the Visual C++ 2012 install.If so, where would I find this information?Hoody Hoo!

View Article

Listbox clipped to height of grid

Hi, How to prevent a listbox from being clipped at the bottom edge of a grid.I am creating listbox inside the grid. I am using the following flags m_listBox->Create(WS_CHILD...

View Article


V.S 2008 dll that depnds on MFC42

Hello,I have a V.S 2008 project that creates a dll. According to "dependency walker" this dll depends on MFC42D.dll How this is possible ?V.S 2008 uses a newer MFC (MFC90 ?).MFC42 is used in the old...

View Article


Input variable into text box

I am working with an open source piece of software to send basic USB data. I am trying to get the software to recieve data and then input that data into a text box. To retrieve data entered into a text...

View Article

How to create managed dll in way so C# can detect its dependent libraries

I have created a .Net 4 managed dll in VS2013 C++ that is a wrapper around several unmanaged dlls.  The C# application that call this works great, with one annoying thing - it only copies the managed...

View Article

.exe working different than debug and release version

I created a C program file which prints a simple name and age . I wanted a functionality so that i can use the screen to show me the output . It works great in Debug and Release version , but when i go...

View Article

Exception from Win32 application using a C++/CLI .NET wrapper dll when...

Hi,I wrote a dll in C++/CLI (Visual Studio 2008) that wraps .NET code.When I use the dll in a simple Win32 console application the code works fine but if I run the application in the visual studio...

View Article


CListCtrl horizontal scrollbar is not showing up even if excess of columns...

Issue can be reproduced with following ScenariosScenario 11. Create a MFC CListCtrl and add columns until so that columns exceeds beyond the current client area.Scenario 21. Create a MFC CListCtrl and...

View Article

How to copy a file and preserve the "owner"?

I wrote a program to copy files and folders to use for backup purposes which is mostly working, but the owner gets set to the user doing the copy? Is there a way to set the copied file's owner to be...

View Article


error C2664: 'HRESULT _CopyItfFromAdaptItf::copy(T **,ATL::CAdapt *)' :...

Hi All,I'm migrating VS2008(VC++) code to VS2013. I'm not able to save any changes to this file, I get access denied message. Is it because this "atlcom.h" file is SDK's file, its not allowing me to...

View Article

Save And Load

if i want add button in my FormApplicationi Want This Button save all Things i did in my formlike if i Checkbox1->Checked = true;i Want Save iti mean When i Run my Applcaiton again i press in load...

View Article


Scaling MFC dialogs in an application to render correctly on high DPI devices

Hi, I need to make my MFC dialogs to render correctly on the new high-DPI devices.  I know how to get the scaling factors for X and Y directions. As of now, the only way I can see to scale all my...

View Article

How to Edit COM Library to Provide Method Access

In our header file we have the class definition where methods GroupInit, EditInit were protected. I want to be able to access these methods by adding a reference to the generated GrpSvr.tlb file from...

View Article

Content of Windows Security Context For IWA feature

Hi All,I am using windows IWA feature where in windows security context is used by our product. I want to know the content of Windows security context.Does it store user password as well ? And what is...

View Article
Browsing all 15302 articles
Browse latest View live


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