Project won't build on someone elses computer.
I have a C++ Universal Windows project that builds and runs on my system, and also on another laptop. But when I send it to my teacher, he is getting the following error: The BaseOutputPath/OutputPath property is not set for project .... Please make…
![](https://techprofile.blob.core.windows.net/images/GBSkt_2_AwAAAAAAAAAAAA.png?8D959C)
![](https://techprofile.blob.core.windows.net/images/_5e-jRvlCkWlkMrV8cdbJg.png?8D8365)
How to Convert this DPI Matrix transform code into C++?
Here is the code - public class DpiDecorator : Decorator { public DpiDecorator() { this.Loaded += (s, e) => { System.Windows.Media.Matrix m =…
Windows doesn't get the full date & time for the System.GPS.Date property
I've recently noticed one of my applications wasn't showing the correct date & time for the System.GPS.Date property (PKEY_GPS_Date) for photos (.jpg) that have GPSDateStamp & GPSTimeStamp EXIF properties. I've verified the files do have correct…
Visual Studio IDE Code snippet to convert field from upper case to lower case
I would like to accomplish the following in a C++ class via a Visual Studio 2019 IDE code snippet: Link here, reproduced below: which creates a variable name (to hold a constant) in UPPERCASE letters and creates related function names in…
ScreenBurn FrameMovement for All Desktop View
Hello, in my company we are having a trouble about screen burn. We want to take the whole desktop view with all windowses and shrink it for some percentage and then move clockwise. I tried this with MoveWindow api for only one window and it's…
Read access violation
Hi , I run my cpp code and receive run-time error: 'read access violation' I've a variable oByte with the type PUCHAR I want assign this variable to another called TEMP that its type is UCHAR . The oByte is the pointer which its value is the…
![](https://techprofile.blob.core.windows.net/images/StgvhX9HK0yWdl2-8Uimwg.png?8D8418)
how i learn to developed cross platform mobile application using c++ in visual studio?
Hi everyone I want to developed cross platform mobile application using c++ which is available in visual studio. please help me how I learn it?
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
How to get VC++ 2017 compiler to implicitly cast string literal to CString
Hello! First qn here. Thanks for trying to help. I'm resuscitating a VC++ project I did 20 years ago. As I recompile .cpp into a new VS 2017 project, it seems that the VC++ 2017 compiler does not C In other words, CString A = "String…
![](https://techprofile.blob.core.windows.net/images/JiX-lf2_BgAAAAAAAAAAAA.png?8D8532)
Expected a declaration
Hi , I debug the code below: include <windows.h> include <iostream> typedef VOID(CALLBACK * mPCH341_NOTIFY_ROUTINE) ( // É豸ʼþ֪ͨ»Øµ÷³ÌÐò ULONG iEventStatus); // É豸ʼþºÍµ±Ç°×´Ì¬(ÔÚÏÂÐж¨Òå): 0=É豸°Î³öʼþ,…
LNK2005 error
Hi , I debug the below code and receive LNK2005 error "main already defined in ConsoleApplication2.obj". I cannot understand its reason. Please help Thanks include <windows.h> include <iostream> pragma comment(lib,…
LNK1266 error
Hi , I debug my project and I receive 'LNK1266' error my consoleapplication6 is: // 2004.05.28, 2004.10.20, 2005.01.08, 2005.03.25, 2005.04.28, 2005.07.18, 2005.07.28, 2005.09.19, 2007.12.19, 2008.10.15 //**************************************** …
C1075 error
Hi , I'm noob in 'c++' I debug my code and receive 'C1075' error. '{': no matching token found. I've used an anonymous namespace. I don't know why I receive this error. Please help me. Thanks
![](https://techprofile.blob.core.windows.net/images/FJTzgQFAAwAAAAAAAAAAAA.png?8D9127)
Program not run when clicking "Start Without Debugging" on CMake project using WSL2
I am using Visual Studio 2019 to create a CMake project that runs WSL2 to compile my program. However, when I create the project and then try to start without debugging (Debug > Start Without Debugging), the program builds, and then it isn't run. I…
How to read char** from c++ .dll to string in c#
I have a DLL file and need to call functions from the file. From the .h file can see the content as follows: struct CContourManager_Dll { char** m_strOrganNameList; int m_nOrganNameListSize; void* m_pContourManager; …
syntax error : int should be preceded by ;
hi , i need help ,thank you i got some problem and whis code i write: // ConsoleApplication1.cpp : This file contains the 'main' function. Program execution begins and ends there. // include <iostream> include <stdio.h> using namespace…
![](https://techprofile.blob.core.windows.net/images/oxdIwX36V0CrpXit8UL0kA.png?8D9A28)
Linkage problem
Hi , I have read your answer about my problem and didn't understand it . you told that application type is wrong . I have a header file the visual studio makes two errors about linkage . I don't know which type of application must I use for a header…
![](https://techprofile.blob.core.windows.net/images/oxdIwX36V0CrpXit8UL0kA.png?8D9A28)
Clear file from memory cache
I'm developing in C++ and C# and working with larger files (tens to hundreds of GB) and performance is a major issue. However, once a file has been read it is cached in memory and subsequent reads no longer go to disk. This makes it difficult to gauge…
![](https://techprofile.blob.core.windows.net/images/oxdIwX36V0CrpXit8UL0kA.png?8D9A28)
CFile - Binary Write
Hello Everybody, I am creating and writing a binary file, and am curious about a particular behavior. I am writing a struct data to the file, and the unitialized fields always come up as 0xCC in the binary file. #pragma pack(push, 1) struct…
Need support to build ISO C++03 standard in Visual Studio 2017.
My current project strictly requires building ISO C++03 standard due to safety restriction. I am currently using in Visual Studio 2017, but the property shows only /std:c++14, /std:c++17 only. How can I compile and build to ISO C++03 standard on…
![](https://techprofile.blob.core.windows.net/images/StgvhX9HK0yWdl2-8Uimwg.png?8D8418)
UWP C++/WinRT full duplex communications with a TCP server
I am trying to write code in UWP C++/WinRT for full duplex client side communications with a TCP server. The TCP server is working. I can even get my code to process a message if I code it for request/response in one button click. But I have some…