Search:
Type: Posts; User: John E
Search:
Search took 1.48 seconds.
-
April 8th, 2021, 04:42 AM
Wow... Window Station objects - I'd never even heard of them! Thanks for tracking this down, 2kaud. And thanks Steve for that VirtualBox stuff.
-
April 8th, 2021, 01:59 AM
Over the Easter period I spent a day or two reading up about virtual desktops (in Windows). I was hoping to find some simple way to implement them but everything I've read makes it sound fearsomely...
-
April 5th, 2021, 02:27 AM
Does anyone know if it's possible to implement virtual desktops in Windows (programmatically?) Here's the scenario...
I work on an audio product which uses a common plugin format called VST. And...
-
March 29th, 2021, 09:13 AM
Many thanks 2kaud - you're probably right about SEH and __try / __except etc.
I tried those suggestions but they don't work here in the case of Access Violations. Instead, the VC debugger gives...
-
March 29th, 2021, 05:20 AM
Is there a way to catch exceptions that get generated by the OS? For example...
try {
fread(NULL, 2, 3, NULL); // This produces an Access Violation error
} catch (...) {
int x = 3; // But...
-
March 8th, 2021, 11:56 AM
Over on the Microsoft forum one of the contributers suggested adding an extra line which - by some strange magic - seems to fix the compile:-
#include <list>
using LT = std::list<int>;
...
-
March 6th, 2021, 05:38 AM
Thanks 2kaud, I do appreciate all your efforts with this! Unfortunately CodeGuru won't let me give you an extra rating but you definitely deserve one !!
-
March 5th, 2021, 10:44 AM
Many thanks 2kaud - I just found a few minutes to try this....
I've tried ISO C++14 Standard (/std:c++14) and also ISO C++17 Standard (/std:c++17) and Preview - Features from the Latest C++...
-
March 4th, 2021, 12:58 PM
Okay, got it. It's currently set to Default (ISO C++14 Standard)
Maybe - but the functions with overloads are always the ones which give the compiler error :confused:
-
March 4th, 2021, 11:05 AM
Sorry - I'm not quite sure what that means - but I think this might be significant...
It looks like all the functions which fail are ones that offer an overloaded version - e.g.
...
-
March 4th, 2021, 10:50 AM
I don't know if this'll hep or just complicate things but this seems to be the current implementation for std::list::unique() (VS2019)
void unique()
{ // erase each element matching previous...
-
March 4th, 2021, 10:08 AM
It looks like we're using ver 5.3.6 (about 2 x versions ago). I'll be busy tomorrow but if I can find some time at the weekend I'll try to product that minimal sample.
My gut feeling is that this...
-
March 4th, 2021, 08:28 AM
Thanks 2kaud - but isn't that true for all template functions? I've never quite got my head around templates but my understanding is that they're not "real" functions and classes - they're more like...
-
March 4th, 2021, 04:53 AM
I'm building some code which uses a library called lua. One of its header files contains a template class which (I think) is some kind of customised std::list - i.e. it's a cutdown version which only...
-
March 3rd, 2021, 12:53 PM
Another important consideration is debugging. Visual Studio features an integrated debugger (and a truly excellent one) whereas Code::Blocks needs to defer to an external debugger and the last time I...
-
March 3rd, 2021, 10:18 AM
Woohoo!! Thanks 2kaud - I'd been scratching my head for over a day and didn't notice that !!
-
March 3rd, 2021, 06:37 AM
This code builds fine with gcc and it used to build fine with VC2008 but it causes a compiler error with VS2019. The original code used more complicated object types so the comparisons look quite...
-
March 3rd, 2021, 04:35 AM
I just figured it out... first, detach the Output window (so that it's floating on some different part of the screen). Then select Debug->Windows->Breakpoints and the breakpoints will now display...
-
March 2nd, 2021, 08:31 AM
Bback in the good old days of VC8, if I was editing a project (i.e. not in compile mode or debug mode etc) the bottom bit of my edit window used to show breakpoints (see the attached screenshot). I...
-
March 2nd, 2021, 07:52 AM
-
March 2nd, 2021, 04:34 AM
This actual object type is more complicated but I still see the problem, even with a simple int -so here goes:-
std::vector<int> vect;
int capacity = vect.capacity(); // capacity == 0
int*...
-
February 28th, 2021, 07:45 AM
No, that's not the problem.... I was thinking more about all the other functions (i.e. the hundreds of functions that'll be common in both DLL's). I wondered if there's some way to guarantee that the...
-
February 28th, 2021, 05:39 AM
Thanks guys - my original description was a bit simplified so let me explain what's actually happening...
I'm building some 3rd party DLLs which still use module definition files, rather than...
-
February 27th, 2021, 11:47 AM
Many thanks Victor.... under Configuration Properties->Advanced I need to select 64-bit (x64) as my preferred build tool architecture (I'm guessing that makes it use the 64-bit architecture directly...
-
February 27th, 2021, 09:54 AM
Groan - having accepted that I'll just have to tolerate these problems in my Debug build, I've hit an even bigger problem now with the Release build :confused:
The various DLL's all seem to build...
|
Click Here to Expand Forum to Full Width
On-Demand Webinars (sponsored)
|