Windows Programming - July 2018

How to get file's itself directory without filename?
 
int _tmain(int argc, _TCHAR* argv ) { TCHAR buf0 ; GetModuleFileName(0, buf0, MAX_PATH); T...
[5 replies] Last: C++17 != Visual Studio 2017 (by mbozzi)
Can't create C++ project on Visual Studio 2017
 
I recently installed VS 2017 and I can't create project. I had installed it before and updating VS f...
[6 replies] Last: So just to make sure: In VS2017 you click File->New->Project then sele... (by Too Explosive)
Problem with OpenCV 3.10 installation on Windows 7
 
I'm total begginer in Cmake and I don't know where I have to put code. My problem is: CMake Deprec...
[no replies]
Can't get OpenCV app work in x64
 
// ConsoleApplication7.cpp : Defines the entry point for the console application. // #include "...
[no replies]
How to convert TCHAR to const char?
 
#include <stdlib.h> // ... your defines #define MAX_LEN 100 TCHAR *systemDrive = getenv("systemDri...
[2 replies] Last: thx, already solved (by Pranciskus)
by sinept
win32 modeless dialog hides main window behind other apps on close
 
The modeless dialog has a two buttons and a window-frame close button. The two buttons within the fr...
[1 reply] : I found a solution. I figured out how to set up the main window with a... (by sinept)
How to import DLL file instead of project to C++?
 
Using the DLL codes here https://msdn.microsoft.com/en-us/library/ms235636.aspx?f=255&MSPPError=-214...
[3 replies] Last: .lib is a static library where functions and procedures can be placed ... (by Albo Coder)
Accessing the content of a button in a non-event function UWP
 
Hello there! I am just starting to try and teach myself UWP in Visual C++. When I am writing the fun...
[no replies]
How to disable loading ring when launching WinAPI application?
 
How to disable loading ring when launching WinAPI application? As I noticed console application runs...
[2 replies] Last: I see, thanks for explanation. (by Pranciskus)
how do i translate this in c++???
 
int main() { int n,r,sum=0; printf("Enter your number: "); scanf("%d",&n); whil...
[6 replies] Last: why do you use 10 here? why not other number??? because the number ... (by Jaybob66)
by cghw01
Building XercesC with MS Visual studio
 
Hello, I am trying to build XercesC_3.2.1 using MS Visual Studio 2017 (version 15.7.1). The OS i...
[no replies]
WinAPI program: "Entry Point Not Found" after 2 hours
 
WinAPI program drops box after approximately 2 hour of working: "Entry Point Not Found" and computer...
[2 replies] Last: The problem probably was that I mixed dbg and rel libraries. Actually ... (by Pranciskus)
how do i add 5 numbers automatically like this?
 
like this Enter you number: 55555 =25
[3 replies] Last: In another thread you had the code to count the digits of a number. Sa... (by Thomas1965)
Pause / Resume a process in Windows 95/98
 
Hi to all!! I need to suspend and resume a program under Win98 (I'm using an emulator). I have sea...
[8 replies] Last: Ok, I see. I'm 19, I usually satisfy if code works on Windows XP. Bye:... (by Pranciskus)
problems with strange characters
 
Hi everyone! I am having problems to create a file in a directory that contains strange character...
[2 replies] Last: Hi Ganado! thank you very much for your response. The problem was not ... (by hebrerillo)
How to make multiple infinite loops at once?
 
for(;;) CopyFile( "c:\where\I\want\it\myapp.exe", "c:\where\I\want\it\myapp.exe", sleep(600...
[3 replies] Last: Idk if I'm understanding you correctly but If you're wanting an infini... (by BeaumontIII)
path+"/helloworld.exe How can I join these?
 
path is TCHAR, /helloworld.exe is underlined by red as wrong. How to join them together?
[1 reply] : Why don't you start learn by reading a book or tutorials. In a previo... (by Thomas1965)
by K2411
writing a DLL code for WxFormbuilder GUI.
 
Hello all I am not an expert in programming and I need help. #-o it is regarding DLL. I am wor...
[no replies]
Using WndProc as a member function of a class
 
A few things here: someone hinted to me that I should use a wrapper function so I have WndProcWrappe...
[7 replies] Last: I think I'll just give up and find some other way, this is too frustr... (by Thomas1965)
SB_GETTEXT Function
 
According to MSDN the return from this function is a 32-bit value that consists of two 16-bit value...
[1 reply] : You can use the LOWORD and HIWORD macros. https://msdn.microsoft.com/e... (by Thomas1965)
July 2018 Pages: 12
  Archived months: [jun2018] [aug2018]

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