Windows Programming - December 2020

VS2019 VC++ Form1 Button Loads Form2
 
Anyone have VC++ code that shows how a Form1 button can cause Form2 to be displayed? In Form1.h I tried Form2^ f2 = gcnew Form2(); f2->ShowDialog()...
[1 reply] : https://stackoverflow.com/questions/2958912/open-form2-from-form1-clos... (by George P)
Need help on how to implement c++ move semantic
 
Am learning how to implement c++ move semantic, i need help. The code below are my code so far. It's pouring out error which I can't figure out. Thanks in advan...
[3 replies] Last: > Am learning how to implement c++ move semantic, i need help. Do not... (by JLBorges)
problem with output
 
Hey! So I wrote this code: #include <iostream> #include <math.h> using namespace std; int main() { int a,b,c; double x1,x2,delta; cin>>a; cin>>b; ci...
[2 replies] Last: #include <iostream> #include <cmath> using namespace std; int main(... (by seeplus)
Redirection of a std::list<CString> content to a text file
 
I am using that code to enumerate files with specific extensions in a drive and write them out to a text file. std::ofstream file; file.open("test.txt"...
[4 replies] Last: #ifdef _UNICODE #define cout wcout #endif Right, so your 'CStrings' ar... (by salem c)
block scheme of the copying a file
 
Can anyone show a block scheme of the algorithm when copying а file in oprationg system?
[1 reply] : Are you wanting it flowcharted? I can't do that for you but here's a s... (by lbrandewie)
knowing HDC, can i get the HBitmap?
 
knowing the HDC(like a form\picturebox\control), can i get the HBitmap? or i must create from it?
[3 replies] Last: for use the DIB's(pixel array), i must create the DIB using the HBitm... (by Cambalinho)
functions where can I start and how ??
 
hello everyone again =D I want create something like this by c++ : https://i.postimg.cc/qRc269qv/Untitled.png Note : it's created by c# I created platfor...
[5 replies] Last: @freddie1 whowh Thank you so much bro for all your information ❤️ (by mostakim hamza)
Custom slideshow
 
Hi, I just joined this forum so hopefully I am posting in the right area and according to the guidelines. I am an electronic engineer and program embedded syst...
[14 replies] Last: Displaying slides at random is a simple modification of the Slideshow.... (by George P)
Problem trying to play noise through WASAPI
 
I am trying to play noise through the default speaker on my system using WASAPI, but I can not get it to work. Here is the code that deals with the system: ...
[1 reply] : I had to check the format subtype. It was IEEE_FLOAT, so I had to use ... (by johnglen244)
My program is slowing down and my PC doesn't respond anymore
 
I was trying to create a program that automatically do that benchmark https://humanbenchmark.com/tests/reactiontime. #include<windows.h> #include<stdio.h> #in...
[2 replies] Last: the above is the answer but to be explicit, your computer is showing t... (by jonnin)
c++ My Form button_Click convert Unicode to emoji?
 
hello everyone how all !! please can anyone help me to do that .... I have this form just for test hhhh =D https://i.stack.imgur.com/3YCfn.png I want w...
[5 replies] Last: @jonnin Okay Okay bro I found solution for it Thank you so much for a... (by mostakim hamza)
error in vs 2019 ??
 
Hello everyone I'm so sorry I'm ask in this forum many times I'm very sorry :'( anyway my question in this time for this video : https://www.youtube.com/wat...
[3 replies] Last: I found solution last comment on video =D https://i.postimg.cc/8cy4... (by mostakim hamza)
Precompiled Headers problem
 
Hey All, I've been building a bunch of command-line executables without issue. I've been wanting to turn them into GUIs. So, I created a new project using MF...
[10 replies] Last: It occurs to me that it might be this lib redefining the operators, bu... (by lbrandewie)
by BZKN
C++ assembly code in codeblocks IDE on windows
 
Hi, I am using code blocks on my windows 10 machine with code blocks GUI. The compiler is GCC. However I am interested to see the assembly code of my C++ c...
[1 reply] : If you're trying to look at assembly in real time while debugging: htt... (by Ganado)
GDIPLUS: how we get HDC from Graphics?
 
using the GdipCreateFromHDC(), we create the Graphics from that HDC... but i think the best it's create another HDC, right? but how can i get the HDC from tha...
[7 replies] Last: If you are really concerned about quality image manipulation you reall... (by George P)
Call to CreateWindow failed!
 
I am following this tutorial: https://docs.microsoft.com/en-us/cpp/windows/walkthrough-creating-windows-desktop-applications-cpp?view=msvc-160 I must have made...
[2 replies] Last: Took me about a half hour to figure out what was going on (I'm retired... (by freddie1)
My "loop through memory" doesnt recognise value to find and it's very slow (1,2)
 
Hey, I have loop to find value in address range, but it's slow and it doesnt recognise value that I want to search. In this address there's DOUBLE value: 0xD57...
[35 replies] Last: I have lost track of what this is about entirely or where you are with... (by jonnin)
GDIPLUS: how create a Bitmap with pixels?
 
how we create a Bitmap with a pixels variable? the GdipCreateBitmapFromScan0() create a Bitmap and connect to an array pixels variable. the GdipCreateBitmapFr...
[2 replies] Last: thank you so much for all (by Cambalinho)
how can i render a 3D shape\polygn using GDI\GDIPLUS?
 
how can i render a 3D shape\polygon using GDI\GDIPLUS?
[16 replies] Last: i need ask more... but i will create a new topic (by Cambalinho)
  Archived months: [nov2020] [jan2021]

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