function call in background
Hi, My dialog class needs to make some third party library calls that runs efficiently in the background. The SDK has .h, .lib and .dll files that my dialog app can make calls but need the calls happen...
View ArticleCreate complete cross reference.
There are some tools like DoxyGen, that will give partial cross references; but so far I have found all of them lacking. For example, one key area of focus for this effort is all the places where...
View Articleset_constraint_handler_s -- Visual Studio 2019+
https://en.cppreference.com/w/c/erro...aint_handler_s [Note "since C11"] BUT https://learn.microsoft.com/en-us/cp...?view=msvc-170 [See Item "O"]
View ArticleMFC combox, user typed value
Hello, Ive a legacy combobox of CBS_DROPDOWN type. And somehow, user typed value is not getting updated. I tried to write a small example code in VS2015, where, the event handler doesnot get called, on...
View ArticleWindows (and VS) on ARM hardware !!
I've an ancient Apple Mac Mini here running Windows 10. I kinda like it because it's totally silent ! But various online sites are suggesting that Windows 11 will now run on ARM. And apparently Visual...
View ArticleA static global variable in a DLL
Am I doing something stupid here?? The following code is in a DLL:- Code: // In a header file while building the DLL (i.e. assume that // LIBTEMPORAL_API handles import or export, as appropriate)...
View ArticlePointers to member functions and const members...
declare a member as const and you can invoke it on a non const instance.... But how can one declare a POINTER to a member function so that it can bew assigned to either a const or non-const? [and...
View ArticleTechnologyAdvice and DZone Survey
CodeGuru has partnered with DZone, who is conducting their annual Observability + App Performance research survey, and we want to hear from YOU! Taking ~7 mins., our questions cover topics like...
View ArticleHow to initialize an array whose size is initially unknown
Hello all , Note: These values[xup -yup -xright - etc ..] are constantly changing My example .. Code: #include <iostream> int main() { int xup = 721 ; int yup = 575; int xright = 726; int yright...
View ArticleDZone Research and TechnologyAdvice Survey: Enterprise Security
Calling all AppSec experts! How do you approach security across the SDLC? What cloud security and supply chain threats impact your team? Share your insights on all things AppSec in our 7-minute...
View Articlerebuid for ARM
Hi, Got an old project, rebuilt it for Intel using VS2015. How to build the same for ARM?. Got mfc140.lib missing, etc.
View ArticleHow to use npm in Windows in VC++
I'm trying to start a server in a window. I want to see the command's results, which is a webpage. But it doesn't show anything anywhere, even if I goto the browser and use localhost:3000 npm is needed...
View ArticleSqlite / C++
I've created an sqlite application with Visual Studio C++, which works correctly. However, I cannot reorder indexes, after deleting a record - because sqlite creates a new table and inserts data from...
View Articlecode to generate a sine wave
Could somebody recommend a c++ download to generate a sine wave and play through my PC sound card. I am a complete beginner at this. I have a PC with Visual Studio, a mouse, a keyboard and rudimentary...
View Article[RESOLVED] Mental block about debugging parameters
After building an app, if I want to run it in the debugger I've a recollection that it's possible to pass certain parameters as if they'd been passed on the command line - but it's a long time since I...
View ArticleDo not receive focus events in console
Hi There, I thought this must have been asked many times. I use something like: Code: static HANDLE stdinHandle = GetStdHandle(STD_INPUT_HANDLE); const DWORD consoleInputCommandMode =...
View Article'access()' and "%20" strings
I'm building someone's program here which uses %20 wherever a space occurs in a filename:- e.g. my%20file But the file paths then get sent to the 'C' function access() which seems to interpret %20...
View ArticleCrash via COM method call
Hello everyone! I will appreciate for help. Faced with strange behavior in the COM module. I have the structure defined in the idl file Code: typedef struct MEDICAMENT_TYPE {...
View ArticleSkilled Developers NEED HELP Please
Need to write a dll that calls many of the funtions in the IVsShell.cs Like GetPackageEnum, GetProperty etc The company wants access or a way to access these functions for security reasons. Below is my...
View ArticleToo memory used by the stack
Hi everyone I use VS Community 17.8.3 on a Hp Pc i7-9700 32Gb Ram W10pro 64 compiling the attached code I received a warning with code C6262: "The function uses '4321508' bytes of stack. It is...
View Article