Capture sounds from soundcard=speakers - NOT from microphone
What I would like to do is to capture the sounds you hear from the computer speakers - NOT from the microphone. I.E if you listen to song in youtube with the computer then to capture that song sound....
View ArticleDoc/View in CDialog
Hello, I have a app with doc/view architekture. Is it possible to show/edit a doc of this type also in a CDialog within this app? How can I do that?
View Article[RESOLVED] PIDL from path
I am mantaining a legacy VC++ 6 project. When I use SHBrowseForFolder I can retrieve a PIDL of the selected folder and with this PIDL I can get the path with SHGetPathFromIDList. Now, given a path to a...
View ArticleHelp on CTabCtrl
Hi, All, There is a CTabCtrl in my form. It contains 10 buttons but only 5 of them are visible because the control is not wide enough. I have to use the scroll bar to shift the buttons to the left or...
View ArticleMessage Loop in Windows Forms
Hello, First, I hope this is the right forum. I thought that this should go into Managed C++ but someone else just posted a Windows Forms question there and was told that was the wrong place (but the...
View ArticleSending message from main class to newly created class MFC VC
I want to send a number to my OPENGL class from my main dlg. Im using a updated edit control. here is my open gl code that will draw what I want Code: void COpenGLControl::oglDrawScene() { char...
View ArticleReplacing GUI in a Win32 application - best strategy?
Hello, I have a Win32 C++ application which works pretty well, but I don't like the GUI and I want to replace it with one designed graphically, a la Windows Forms. What is the best strategy to port my...
View ArticleIn Visual C++, how do I define a hash map?
I want a speed of O(1) in search, insertion and deletion. is std::map<> the way to go? Thanks Jack
View ArticleHelp converting float to string
I have an assignment that is due on monday I am stuck on this function. I have to convert my netpay which is a float to a string So if i have 356.26 it should output the sum of three hundred fifty-six...
View ArticleHelp please! Decrypt code!
Hi! Can somebody, decrypt this code: 9ksaV8MrjJQWsamobQIZZmK0t2nQ24amQiurtnxcnkljASluiqR UT28UzAQJ3912QKJMWKMqmOqpwLZAKPQW31NYqPSlu W24QKIqiq913JQU784Y=nnQWdla1x0mM23hm1753a59eeaaca8297a908...
View Articleresize property sheet/page dialogs
any easy way to resize property sheet/page dialogs automatically or semi automatically?. have tried too many stuff, but none were fruitful. I need fresh ideas.
View ArticleProgram fails to show totals/averages
Code: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> typedef short BOOLEAN; typedef char STR15[15 + 1]; typedef char STR10[10 + 1]; typedef...
View Articleconcept for saving data
I would like to create program which will analyse bitmap so would need good concept to save data. I am interested about the theory and I realize that i must to think this carefully because bad concept...
View ArticleHow to tell if a file or a folder could be placed into the Recycle Bin?
Say, I have the "K:\test del USB" folder. Then I do the following: Code: SHFILEOPSTRUCT sfo = {0}; sfo.wFunc = FO_DELETE; sfo.pFrom = L"K:\\test del USB\0"; sfo.fFlags = FOF_ALLOWUNDO | FOF_SILENT...
View Articlehow do i set the focus after an alt+tab?
Using mfc I have an application where I'm not allowed to use a mouse and alt+tab will be regularly used. Using alt+tab to come back to my application kills the focus in the view. Once my application...
View ArticleHow to tell if drive is BitLocker encrypted without admin privilege?
For my purpose all I need to know is drive's BitLocker encryption status by its DOS path. Something like this: Code: enum DriveEncryptionStatus{ Unprotected, Protected, Unknown };...
View ArticleC++ program to revere sentence
Hello everyone I had been tasked to create a program that reverses a word i.e. cat tac Can someone tell me how to make my program non case-sensitive using vectors? Code: // BackWardsSentence.cpp :...
View ArticleRelease build is giving errors in WinInet.h
Hi There, I used #include <WinInet.h> in my HTTP.h class and it is compiling without any probs in debug mode. But when I compile in release mode it gives 100 errors as follows. 1>HTTP.cpp...
View ArticleRandom lists repeating problem, help.
So I wanted to make a program which randomizes a list letters or something without repeating the letters like I get here: Code: #include <iostream> #include <string> #include...
View ArticlePIC to PC using MFC Visual Studio through serial communication
The project is about reading data from PIC and display the data on the dialogue created by the MFC GUI of Visual studio 2010. There are 4 data need to be displayed (2 weight and 2 angle). the data will...
View Article