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

Connect To Active Directory From C

How to connect to AD from C. How to query LDAP through C? I found open Ldap but its not for windows. How can we do this in windows? How to get the needed libraries (ldap.h etc) and use it? Please help.

View Article


Writing color

I copied a program from one window of VS Express 2010 ino another, and from then on whatever I write (even in new files and projects) is black. How to get back color?Thanks!

View Article


Media Foundation - Working with video files properties

Hello Everyone,I am working currently on a video player based on media foundation.I was wondering is there is something similar to IBasicVideo (from DirectShow) available in MF. It would be way easier...

View Article

visual studio 2012 souce information is missing from the debug

Hi, I am using VS 2012, native C++ and have moved software from VS 2008 to VS2012 and recompiled it. I have found a bug and a break has occured a message has come up "Source information is missing from...

View Article

Visual Studio 2012 rc.exe

Hello community,Since some weeks I have some strange problems with Visual Studio 2012, because it gives me either the linker.exe error or the rc.exe error.In both cases, I can't compile my project(s)....

View Article


How to avoid list control from getting 3D color when control is disabled.

Trying to paint list control when it is disabled. And this list control is placed in a form.Tried using:Onctlcolor, Ctlcolor, DrawItem, SetBkColor I see that these functions will never be called in...

View Article

Cannot build topoedit SDK multimedia sample with VS2010 under Win7 x64 or...

Hello,I have tried the past days to develop a media player for an application using Media Foundation. As a start I decided to look at how topoedit is built and extract some things that I need.The...

View Article

Image may be NSFW.
Clik here to view.

Project "Property pages" is displaying "References" window without...

Hi,I´m getting a strange behaviour from VS2012 when I call the properties over my project in the solution. The first image is what is currently displaying, the second one is what it should display. As...

View Article


Modal dialog box hangs with multiple keyboard languages in Window 7

My VC++ application is a multi-thread .Threads within the application communicate with each other using SendMessage() .Inside Thread 2 :SendMessage(WM_OPEN_FILE)Inside Thread 1:...

View Article


Image may be NSFW.
Clik here to view.

How adding a datapoint to a Chart control, Fastpoint type, at Run time?

In a project CRL (windows form), in a Chart control, are we able add a datapoint at run time? Or are we liable to define all points in planning step, and then modify it  after, at run time? I use VC++...

View Article

Unable to edit resources or create .aps file in VS 2005

I recently migrated a large-scale VS2005 solution to a new development machine running the same version of VS2005, and everything is linking and compiling without any problems. However, when I attempt...

View Article

how to get disc driver pass HCK testing on window 8.1 preview

Our product will add a driver for ODDs(optical disc drive), and now we want to get logo certification for our driver with HCK on windows 8.1 preview. Following is what we have done:1. Install the HCK...

View Article

Image may be NSFW.
Clik here to view.

DrawThemeParentBackground() sometime draws corrupt background on Windows 7.

Hi,We are facing one strange problem -DrawThemeParentBackground() sometime draws corrupt background whereas function always returns S_OK.We have RebarCtrl which includes "Toolbar" and this toolbar...

View Article


After Upgrade VS2010 to VS2012 missing projects porperty page

I just started to test a migration of our solution from VS 2010 to VS 2012.Unfortunatly lots of c++ projects in the solution are failing to build.I wanted to check the configuration property pages, but...

View Article

Modal Dialog Box Messages

Are modal dialog box messages sent directly to the dialog box's window function or are they first sent to the message queue in WinMain like other messages and then dispatched back to windows and then...

View Article


child process limits in service context and conhost.exe

I've found that, when our server is running as a windows service, the number of child processes that it can create is limited to about 106.  The odd thing is, CreateProcess() call comes back with a...

View Article

MFC : collection of CDialog Modeless : Encountered an Improper Argument.

I am working on a Dialog Based application in MFC - using Visual Studio 2010, which has a vector of class CDataDisplayDialog (inherited from CDialog ) . Every CDataDisplayDialog is a Modeless dialog....

View Article


VC++ : How to get value from MS Access Database (mdb file) with fields of...

Hello All, I am facing a problem with my code.My Code is written in VC++ and using it i am trying to access a MDB file which has contents of Memo datatytpe. The code works fine if i change the datatype...

View Article

VSU 2012 - Relase project c++ : SQL CE Error

Hello.When I build my final app it's ok on my computer. But when i try to open it on other computer, it's error with sqlce - no install sql server compation on this computer. I try to deploy sqlce...

View Article

VC++: Code snippet to get field value from MS Access DB file with strings of...

Hello All, I have a MS Access DB file ("Notice.mdb") which has 29 columns & 20 rows of strings data of Memo datatype. I need a code snippet in VC++ using which i can retrieve the strings and store...

View Article
Browsing all 15302 articles
Browse latest View live


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