visual-c++

How to convert snapshot files to any other format?

Hi All, Is there any way to convert the Sql Server 'Snapshot' files (*.ss files) to some other format...like 'xml','xls' or 'txt'...etc. Thanks. ...

What are intrinsics

Can anyone explain what they are and why I would need them? What kind of applications am I building if I need to use intrinsics? ...

Is compiling in debug mode possible despite a third party library having no debug-build lib?

I have an application I'm working on that uses two third party libraries, each with pre-compiled libs and dlls, one of which provides necessary .lib files for both debug and release builds (A[d].lib) and the other which provides only .lib files for release builds (B.lib). Compiling in Release mode (using MSVC9) works fine, however attemp...

Is there a requirement for using WS2_32.dll instead of wsock32.dll when building with MSVC9.0

I'm in the middle of porting some code to be compiled with MSVC 9.0, and one of my coworkers mentioned that we would need to link against WS2_32.dll because now only Winsock 2 was supported. Is there any truth to this? Our code is pretty old and heavily dependent on wsock32.dll, so this requirement could be a huge obstacle for the projec...

Is MFC still used for new development (with any material volume)?

I've never been a big fan of MFC, but that's not really the point. I read that Microsoft is due to release a new version of MFC in 2010 and it really struck me as odd - I thought MFC was dead (no ill intention, I really did). Is is MFC used for new developments? If so, whats the benefit? I couldn't imagine it having any benefit over som...

Create Data base SnapShots with our own file formats

Hi All, We want to create a c#/VC++ application by using which we should be able to create sql server database SNAPSHOTs in our own file format (in online manner). And later we should be able to get data from those snapshots files in offline manner using our application ( i.e. we should be able to get number/names of tables/columns...e...

How to display a non-modal CDialog?

Can someone say me how I could do a No Modal Dialog in MFC's Visual c++ 6.0 for show it? I wrote this, CDialog dialog; if (dialog.init(initialization values...)) dialog.DoModal(); But it blocks my application for show the dialog. I dont know if exists any method or other way to do. Thanks ...

Drag listbox Notifiaction messages and Re-Ordering

I am able to re-order my list box items using a mouse. I am only using one listbox. The dialog has few combo boxes and other stuff too, so listbox is a child control of that Dialog.For example I can drag and drop or move item5 to the 2nd position in the list or anywhere using my mouse. However when I do that, I want my grid to get update...

Application which tracks different color blobs from video feed from webcam

I wanted to create an application which tracks four different colored blobs from video feed from the webcam and outputs the x and y co-ordinates of the blob. I would prefer if I code this in Visual C++ but if that is not the best language to use I wouldn't mind exploring some other language. I also stumbled upon OpenCV which seems to be ...

Vista: create a process from service with out popping up any dialog boxes

Hello All, I am new to vista and not a advanced programmer. From past few days i am trying to digest many technical details about vista. But still i have few basic questions on it. Hope you all will be help me in getting the answers for my questions. Can we create a interactive process(which is having a embedded manifest file with "inv...

How to set up OpenCV 2.0 on Visual C++?

I am trying to setup OpenCV 2.0 for Visual C++ Express but I can not do it successfully. I have looked all over the internet and have tried the official guide. Can someone guide me to a tutorial that worked for them for OpenCV 2.0. Thanks in advance. ...

VS2008: Can I build a project with 2 CPP files of the same name in different folders?

Here is my folder structure: / | -- program.cpp -- utility.h -- utility.cpp | -- module/ | -- utility.h -- utility.cpp // Note that I have two files named utility.h and two named utility.cpp On building the project, I get a link error (LNK2028: unresolved token and so on...) saying that some symbols aren't defined. ...

MFC Drawing Lines

Hi, I draw some lines on a SDI application in visual c++, these lines are disappeared whenenver a new line or the size of the windo is changed, any clue how to keep these lines visible all the time? thanks. RZ ...

Configuring OpenCV with visual c++ 2008

I am new to OpenCV , i was following http://www.hanckmann.net/?q=node/17 tutorial to configure openCV, after configuring openCV , i get this error, could someone help me on this. this is where it explains how to configure openCV http://opencv.willowgarage.com/wiki/VisualC++ and this is the example code i was using. it gives the error ...

how to use .vsprops file to override VC++ Directories in MS Visual Studio

I'd like to override the directories used by Visual Studio (devenv.exe) for the compiler and library paths. I know how to do this interactively via Tools->Options->VC++ Directories, but I'd like to automate this. http://msdn.microsoft.com/en-us/library/t9az1d21(VS.80).aspx has a tantalizing note on this: "If you want to set up director...

How to Place a Either DialogBar or Dialog box into pane in vc 2008 or vc 2010 Beta

Hi now i am working in 2003 vc++ and i am converting(migrating) my project in to vc 2008 or new vc 2010 Beta,i saw the feature pack of 2008,2010 regards CDockable Pane(Auto Hode,floating),so i require this features ,i want to place a dialogbox or dialog bar into pane(CDockable Pane class),i dont know how to program this,please wher...

How to Place DialogBar or Dialog box into pane in vc 2008 or vc 2010 Beta

Hi now i am working in 2003 vc++ and i am converting(migrating) my project in to vc 2008 or new vc 2010 Beta,i saw the feature pack of 2008,2010 regards CDockable Pane(Auto Hode,floating),so i require this features ,i want to place a dialogbox or dialog bar into pane(CDockable Pane class), so i done this in my following code Myframe Cod...

How to open a webcontrol's link using the default browser?

Hi All, I have a webctrl in a dialog. And whenever there's a URL input, it turns to hyperlink and becomes clickable which is fine. My problem is, let's say I have Opera as my default browser, when the link is opened, the browser it uses is IE, so it opens another window. Is there any way that the link be opened using the default browse...

GUI blocked while running silent app VC++

Hi, I have built a GUI interface in C++ (Windows XP, visual c++ 2008). There you can configure some parameters and when I click on the OK button, a silent application is launched (and uses the values setted). When I do this, the GUI frozes and even dissappears if you switch to other windows(it's still there, but you can only see a white...

where i can find the RDP 7 OCX

can any body tell me the link form where i can download the RDP 7 OCX that will give me the feature of RDP 7 client such as bi-directional audio , Aero theam etc Thanks ...