So i want to make a sort of texteditor and want to use a dialogwindow to get the filepath/file from the user. Now here is the problem. I get an error ...
So i want to make a sort of texteditor and want to use a dialogwindow to get the filepath/file from the user. Now here is the problem. I get an error ...
I am trying to open a dialog box where the user selects a certain folder on pure C++, no .Net framework or C#, and am struggling to find how the lpstr ...
I'm new to coding and I'm not too sure how I'd go about fixing this issue. The error is as follows: error C2664: 'BOOL GetVolumeInformationA(LPCST ...
Following code gives empty string and length = 0, but while debugging I can see the childDisplayName has correct name. following code works fine. I ...
I'm actually learning C#/WPF and I wrote a library in C++. And I have a function that have an output parameter in LPSTR type, the test work well in C+ ...
I have a C++ dll in 64-Bit, which contains a function that returns an LPStr. I would like to call this function in C#. The function declaration looks ...
I am writing a code for comparing two strings of type LPSTR and wchar_t type. The contents of strings are same but the output is showing that the stri ...
I got a piece of code from a Bluetooth example on the web, where we use a condition: Now, the lpszServiceInstancename is defined inside winSock2.h ...
Hi i am trying to make a GUI for image compare software. The idea is to choose a picture with OPENFILENAME, then get its address with ofn.lpstrFile th ...
I have a .dll named my.dll, with 4 functions, called in python 3.5 using: myDLL = ctypes.cdll.LoadLibrary(Path:\to\my.dll) My problem is calling a fu ...
I'm using GetPrivateProfileStringA to read some things from a .ini file. I have some other class where I save things along with a string array. I have ...
I need to use the following function but I'm in trouble with the args: In this case the IP Address is not setting. I know I need to pass a pointer ...
I am working on a small GUI calculator project and I need to append something to the contents of an edit control. The function I am currently using is ...
Here is the situation: I have a class in which has a method in which I have a loop that overwrites a buffer with a new letter every iteration and the ...
I use Qt Creator and this code : generate this issue: How to solve it? Note that I have defined : in my .pro file ...
i have some problems to reverse LPSTR. Here is my function: Function, return not initialized LPSTR or some strange characters. Problem is probably ...
I'm having trouble converting from LPSTR to const char* in MinGW under Windows. What I'm trying to do is grab a list of all the current files in a ...
I have a QTimer connected to a TimerHandler function. The TimerHandler should do my SendKeys function that I declared in the public section of my head ...
I am trying to take an LPSTR in C++ such as "12,30,57" and split it and then add up all of the numbers (they are all non-decimal) that are returned fr ...