No announcements
-
0 Votes[Announcement] “Visual C++” Forum will be migrating to a new home on Microsoft Q&A!
This "Visual C++" Forum will be migrated to a new home on Microsoft Q&A! We've listened to your feedback on how we can enhance the forum ... -
0 VotesNo-cost 1:1 assistance migrating apps to Windows 10
Desktop App Assure service provides direct, no-cost support to application developers who are porting their applications to Windows 10. This program is available to all ISVs, and eligible ...
Found 57606 threads
-
0 VotesSendMessage for keystroke is not working
Hi all could you please tell me why this code does not work? It should simulate the pression of TAB and then arrow DOWN, but ...Unanswered | 4 Replies | 6288 Views | Created by poirepoisson - Thursday, May 8, 2008 1:38 PM | Last reply by Pavel A - Sunday, August 30, 2020 11:13 PM -
0 Votesmultiple keyboard events on single key
Running the code below and pressing a key once results in two separate keyboard events with the output being 1 1 Kindly advise Thank You ...Answered | 1 Replies | 765 Views | Created by PaltryProgrammer - Sunday, August 30, 2020 3:39 AM | Last reply by Igor Tandetnik - Sunday, August 30, 2020 4:14 AM -
2 Votes.lib is not a valid Win32 application - Visual Studio 2017
My program is not running due to this error which pops up. I tried building and cleaning my solution but it still does work. I am working in visual studio c++ and have created a static link ...Answered | 6 Replies | 15471 Views | Created by Brown12345 - Tuesday, December 25, 2018 3:32 AM | Last reply by Viorel_ - Saturday, August 29, 2020 8:19 AM -
0 VotesException for Custom Memset function with Large array to set value.
I have written a custom Memset function instead of using the one provided by compiler itself. I'm don't see any issue when initializing an array with smaller length but while initializing for larger ...Unanswered | 1 Replies | 717 Views | Created by Harsha_MR - Tuesday, August 25, 2020 6:17 PM | Last reply by Barry-Schwarz - Tuesday, August 25, 2020 10:53 PM -
1 VotesVisual Studio MFC dialog application. CListCtrl sort function
I created a dialog application in Visual Studio MFC. I use CListCtrl to list some data. Any way to sort List1 or List2 when i press List1 or ...Unanswered | 1 Replies | 691 Views | Created by gsegria - Tuesday, August 25, 2020 1:53 AM | Last reply by RLWA32 - Tuesday, August 25, 2020 2:48 AM -
1 VotesVisual Studio MFC dialog application. CListCtrl function
m_lst1.m_hWnd, GWL_STYLE); lStyle |= LVS_REPORT; SetWindowLong(this->m_lst1.m_hWnd, GWL_STYLE, lStyle); DWORD dwStyle = ...Answered | 7 Replies | 1000 Views | Created by gsegria - Friday, August 21, 2020 8:47 AM | Last reply by gsegria - Tuesday, August 25, 2020 1:58 AM -
10 VotesMIssing C/C++ option under property pages - configuration properties
Visual Studio PRO 2005 I can not find the C/C++ option in the Property Pages window under Configuration Properties. My list goes General, Debugging, Linker, ...Answered | 6 Replies | 33890 Views | Created by viator - Saturday, July 12, 2008 7:59 PM | Last reply by Ricky360 - Monday, August 24, 2020 11:46 AM -
1 VotesHow to get Unicode output from cl.exe?
Hello, I have a code that runs "cl.exe" by CreateProcess. Then I parse the output from "cl.exe". All works fine with English characters. But if output contains ...Unanswered | 2 Replies | 5356 Views | Created by Yuri Plyakhin - Monday, August 4, 2008 10:37 AM | Last reply by Dele Cui - Monday, August 24, 2020 3:35 AM -
1 VotesGetting weird WLAN_AVAILABLE_NETWORK_FLAGS value from WlanGetAvailableNetworkList()
I am working on software that is supposed to check a wireless network connection to a DSLR camera. When I call WlanGetAvailableNetworkList(), the entry for my ...Answered | 1 Replies | 774 Views | Created by AngryJ - Tuesday, August 18, 2020 8:42 PM | Last reply by Jeanine Zhang - Wednesday, August 19, 2020 3:07 AM -
0 VotesVisual Studio MFC dialog application , Press button to clicked
m_chk1[iSelectIndex].GetCheck(); this->m_chk1[iSelectIndex].SetCheck(!boCState); } void ...Unanswered | 4 Replies | 888 Views | Created by gsegria - Friday, August 14, 2020 10:20 AM | Last reply by RLWA32 - Tuesday, August 18, 2020 5:07 PM -
0 VotesVisual Studio MFC dialog application. There are duplicate IDs in resource.h
There are duplicate IDs in resource.h Any good way to sort out IDs in B.rc?Unanswered | 1 Replies | 827 Views | Created by gsegria - Monday, August 17, 2020 7:30 AM | Last reply by Jeanine Zhang - Monday, August 17, 2020 9:13 AM -
1 VotesSimple (I hope) c++ question - cout an object of a user defined class
I am not sure if this is the right forum for this question but it is the nearest that I have been able to find. This code was adapted from code supplied in the book c++ ...Proposed | 7 Replies | 1236 Views | Created by KeithLovell - Thursday, August 13, 2020 6:33 AM | Last reply by WayneAKing - Sunday, August 16, 2020 5:30 PM -
1 VotesC++20 chrono is_clock addition missing
I recently discovered the existence of is_clock in the chrono library, and according to cppreference it's a C++20 feature. Unfortunately I can't link it at the moment since my account is not ...Unanswered | 5 Replies | 1089 Views | Created by brettkoenig - Saturday, August 15, 2020 2:24 AM | Last reply by Darran Rowe - Saturday, August 15, 2020 2:20 PM -
0 VotesVisual Studio MFC dialog application , Press ESC to exit app
I created a dialog application in Visual Studio MFC. I run the exe file and press "ESC" , the app will be closed. Any way to don't close app when user ...Answered | 2 Replies | 999 Views | Created by gsegria - Thursday, August 13, 2020 7:57 AM | Last reply by RLWA32 - Thursday, August 13, 2020 9:33 AM -
1 VotesCreateFileMapping; possible memory leak?
My program uses CreateFileMapping so multiple processes can access a common data base. The program runs fine and produces the correct answers. But when all is finished, sometimes the ...Answered | 80 Replies | 4362 Views | Created by DonDilworth - Saturday, May 16, 2020 1:12 PM | Last reply by DonDilworth - Wednesday, August 12, 2020 1:42 PM -
3 VotesSample Client, TCP-Socket
Hi, I have to implement a client in an existing C++/MFC application and send XML telegrams. Do you have a sample code. If ...Answered | 5 Replies | 1266 Views | Created by Markus Freitag - Wednesday, August 5, 2020 11:53 AM | Last reply by Jeanine Zhang - Wednesday, August 12, 2020 7:02 AM -
0 VotesHow to handle the situation where shared data (shared memory) using raw pointers being used in two separate threads in C++?
getConfCallID(); string l_hStrCallID = f_hMsgObj->getCallID(); string ...Answered | 9 Replies | 1311 Views | Created by John paul coder - Monday, August 10, 2020 5:14 PM | Last reply by John paul coder - Tuesday, August 11, 2020 4:55 PM -
6 VotesGetClassName buffer length
How can I find out length of string of WindowClassName ? I need it because I want to use GetClassName function and it need buffer with specified ...Unanswered | 7 Replies | 8335 Views | Created by PaloMisik - Friday, April 27, 2007 7:36 AM | Last reply by RLWA32 - Monday, August 10, 2020 10:27 AM -
0 Votesstat() fails if path has a trailing backslash
Hi! I have a directory "C:\stageroot". If I pass filename to stat() as follows, stat() returns non-zero exit ...Answered | 7 Replies | 1262 Views | Created by nsp2092 - Friday, August 7, 2020 7:00 AM | Last reply by Jeanine Zhang - Monday, August 10, 2020 2:19 AM -
4 VotesIn a DLL why should a wstring pointer not work?
Hello, MyFunc() does not build and MyFunc1() builds and works. I get the following error for MyFunc(): error LNK2019: unresolved external ...Answered | 11 Replies | 1430 Views | Created by ananda vardhana - Saturday, August 8, 2020 5:39 AM | Last reply by ananda vardhana - Sunday, August 9, 2020 11:15 PM - Items 1 to 20 of 57606 Next ›
No announcements
