Windows Programming - November 2016 (Page 2)

Issue with my program, not sure what mistake I'm making
 
So, I'm doing a homework assignment, and have it all but completed. However, every time I've tried running it, it comes up with errors. I've fixed most of them,...
[1 reply] : If you declare these variables in main you should initialize them ther... (by Thomas1965)
Visual Studio not showing main thread ID
 
Hi. I made a program where I run a thread t1 and then I print both the ID for the main_thread and the ID of the thread t1. Here is the result (screensh...
[no replies]
why JTAG Voltage of zero error message
 
I have a ATSAM4SD32B(http://www.kynix.com/Parts/161618/ATSAM4SD32BA-MUR.html) dev board, which is connected to my laptop via USB. I also connected the board to ...
[no replies]
Open file dialog not opening (using GetOpenFileNameA)
 
Hi, I'm trying to get an "Open file" dialog box to open using the following code. When I run the program, however, the "Open file" dialog box does not open. E...
[2 replies] Last: This should work. #include <tchar.h> void GetInputFile() { OPENFIL... (by Thomas1965)
ASP.Net
 
Can you explain this error for me , in asp.net using Visual Basic 2010 Please: after run on line , it is take me this message: Keyword not supported "I...
[1 reply] : Please post your code. (by moonman239)
by jetkey
CreateProcess() does execute notepad and stuff, but not my program
 
bool System::StartProcess(LPCTSTR lpProcessName) { STARTUPINFO si = { sizeof(si) }; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); s...
[1 reply] : Call GetLastError() and see what the error is. https://msdn.microsoft.... (by Thomas1965)
client log out to server!
 
I am programming on windows. If the program crash, I need it to log out to the server automatically. For Example: 1)memory access volatile 2)no catch for...
[3 replies] Last: You really should use a Structured Exception Handler (SEH). (by kbw)
can you make a c++ program for this
 
(Airplane Reservation)a small airline has jus purchased a computer for its new automated reservations system. The president has asked ypu to program the new sys...
[2 replies] Last: Well, I guess no one will do your homework for you. (by lazpeng)
How to get the senders' position (coordinates) in Windows Form Application?
 
I just began learning WinForms and am currently baffled on how to get the senders' (mouses') position (coordinates). I tried searching but to no avail. This ...
[1 reply] : Try this: Point^ pt = pictureBox1->PointToClient(Control::MousePos... (by Thomas1965)
Can't get program to keep running main loop
 
I am making a windows form application and in the main loop of the source file I have: int main() { Application::EnableVisualStyles(); Application::SetCo...
[3 replies] Last: You can't access the button outside the class because it is private in... (by Thomas1965)
by johnC
Help to build a binary (Win32)
 
I'm trying to build a binary (v. 1.2) from here: https://github.com/zhangshine/MdCharm/releases It's markdown editor, the best for Windows (from my point of ...
[no replies]
How to change attributes of shortcut if I want to change it to launch from normal window to maximized?
 
How to change attributes of shortcut if I want to change it to launch from normal window to maximized?
[2 replies] Last: Thanks for answer, but I didn't find about attrbutes like Minimized, M... (by Pranciskus)
by stav
how to make an installer..
 
hi, i've made a c++ application that i want to publish. the problem is that i cant just compile and distribute my exe since its dependent on a bunch of DLL's s...
[no replies]
windows networking
 
I have a solid grasp of c++ in general and decided to narrow my path to networking i learned about subnet masks and various protocols (tcp,udp...) but now when ...
[2 replies] Last: i found explanations like these but they don't answer my main question... (by globaltourist)
Windows Form App using Visual C++
 
I am trying to develop a WFP using Visual C++ in visual studio 2015. I found an answer by onContentStop on this forum saying that the only way to do it was to i...
[5 replies] Last: I still faced the same problem but I found my mistake. I am supposed t... (by Ismael123)
by AcarX
FreeLibrary doesn't unload the DLL
 
int main() { HMODULE md = LoadLibrary("my_dll.dll"); FreeLibrary(md); if (GetModuleHandle("my_dll.dll") != 0) { return 1; } return 0; } So I've go...
[5 replies] Last: Windows (as do all operating systems) naturally has internal 'garbage ... (by freddie1)
winsocket send/receive
 
Can I use a windows socket to send and receive data simultaneous?
[2 replies] Last: 'simultaneous' means 'multiple thread' and 'parallelism' (by Wu zhen hai)
MoveFile() problems VC++
 
So I am trying to move a file that the user specifies by using cin and MoveFile(). But the thing is MoveFile() parameters take LPCTSTR variables but cin doesnt ...
[4 replies] Last: :-( MoveFileA (and MoveFileW, for that matter) returns a BOOL already... (by andywestken)
Dissect a String
 
In VS 2015 Windows Form I'm parsing a text file trying to extract the file name contained in a call. I identify the call string... 15 - CALL Sub873 ;...
[1 reply] : Well, you knew about strstr()... Googling "C# equivalent of strstr" t... (by andywestken)
November 2016 Pages: 12
  Archived months: [oct2016] [dec2016]

This is an archived page. To post a new message, go to the current page.