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

compile error c2011: 'enum type redefinition

Hi,I am getting this compile err: " c2011: 'enum type redefinition "I search, and found just one defenition of this specific enum.so,1. why I get this err ?2. How can I solve it ? Thank's

View Article


C++ Win32 API Desktop RTSP Client application needs to be shown in internet...

DESIRED RESULT: SAME DESKTOP APPLICATION NEEDED TO RUN IN INTERNET EXPLORER-I have a client application that runs on a network -Client implements real-time streaming protocol (RSTP) -Server application...

View Article


Is it possible to use file mapping object instead of RAM in ANSI-C?

Hi, The problem is the following. We run our desktop application under Windows XP and Windows 7. We have not enough of RAM for our application and in our case it is not possible to extend RAM capacity....

View Article

Transparency issues when adding 32 bit bitmaps CTabCtrl when not using unicode.

I am using Visual studio 2010.  This is a dialog based app.  Using MFC and Multibyte character set. Not Unicode for historical reasons.I am inserting tabs using the following code.// define an image...

View Article

How to insert checkboxes to the subitems of a listcontrol using MFC

Hi Everyone,I am new to MFC programming .At present i am currently working with "ListControl "where I am supposed to add the checkboxes to the subitems of ListControl .As per my knowledge i just added...

View Article


Read Temp file generated by an application while running

I want to read a temp file created by a software while its running using C++/C. The application is an GUI interface of a sensor module. The application does not provide any API. So I am not able to...

View Article

Where can I find Direc3D9Ex and DXGI Interop Helper and Sample ?

Hi,I'm searching for the "Direc3D9Ex and DXGI Interop Helper and Sample" referenced on the MSDN article "Surface Sharing Between Windows Graphics APIs" . All urls related to D3D9ExDXGISharedSurf are...

View Article

Global event for Windows installer already running scenario

Hi,We have a C++ application which is trying to install a MSI. Sometimes, when some other MSI is running, MSIEXEC returns'1618: Another MSI already running' error. Here We wanted to try a polling...

View Article


Structure Initialization in C/C++

If you have a structure:typedef struct _structFoo{.... stuff....} structFoo;And you declare a structure in a function:structFoo x = {0};Should the compiler zero that padding (if any) within the...

View Article


Is MSCVRT.DLL thread-safe?

Dear experts,This is not exactly VC++ question, perhaps it relates to the SDK - but hope someone here may know the answer...By examining the source of strerror.c in  VC++ 2010 runtime (in...

View Article

Microsoft Fluent UI license page is retired?

Today i am considering UI for my E-Learning Designer program. When creating sample MFC Project with Fluent UI using Visual Studio 2013 i see notes from Microsofts in the first part of files in the...

View Article

How we can verify openssl digital signature in C++ & windows API

Using  openssl I have created signed document on server, kindly refer below commands for it.------Create private key.openssl pkcs12 -in "D:\  Issues\XML  Encryption\mycredentialsandkey2010.pfx" -nodes...

View Article

How to print directly by C++

I have to print directly and I have this codechar test[] = "test"; HANDLE hPrinter = NULL; DOC_INFO_1 DocInfo; LPVOID Buff = test; DWORD dwBytesWritten = 0L; string printerName = "Canon LBP2900";...

View Article


help me to find software virtual com to usb port

 i made a project connect avr with pc over usb port , but avr can connect with com port  so i  want find some software to virtual com port to usb body , who body can help me ?, thank

View Article

Image may be NSFW.
Clik here to view.

Feature Pack - MDI taskbar question

I have a sample MDI with some of MDI windows are hidden, the taskbar shows all MDI windows, even though they are hidden. Is there any way to prevent show up on the list?Thanks,Steve

View Article


Image may be NSFW.
Clik here to view.

C++ API printing doesn't work

Hi Please advise I whant to print some text by C++ API and I have this codechar test[] = "test"; HANDLE hPrinter = NULL; DOC_INFO_1 DocInfo; LPVOID Buff = test; DWORD dwBytesWritten = 0L;...

View Article

Minimize / Maximize external application C++

Hello, I am trying to minimize / maximize / hide to system tray application which is built with Qt...My code below works for example with Notepad, but it does not work with app built with Qt... Any...

View Article


Image may be NSFW.
Clik here to view.

how to fetch disk utilization and network utilization in c++ as shown in task...

hi i want to get disk utilization and network utilization in task manger like shown in below figure. i already got cpu utilization and memory utilization.what should i do to get network and disk...

View Article

"some unicode in this file could not be saved" error occurs when i tried...

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS || defined(AFX_TARG_TA ) #ifdef _WIN32 LANGUAGE LANG_TAMIL, SUBLANG_TAMIL_INDIA      #pragma code_page(57004) #endif //_WIN32...

View Article

Calling Win32 DLLs from Visual C++/CLR 2008

I tried to call my own simple Visual C++ Express Win32 DLL from a program being compiled and linked under Visual C++/CLR 2008 Express, however, when the DLL is actually called the program could not...

View Article
Browsing all 15302 articles
Browse latest View live


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