Search:
Type: Posts; User: 2kaud
Search:
Search took 0.15 seconds.
-
February 23rd, 2021, 12:23 PM
For differences between the various versions of VS2019, see https://www.tektutorialshub.com/visual-studio/difference-between-visual-studio-2019-community-vs-professional-vs-enterprise/
-
February 21st, 2021, 05:59 AM
Have you tried creating a completly new solution with just the existing source files? IMO there's a solution file used in debugging that contains a wrong file reference. Try doing a file search for...
-
February 20th, 2021, 07:43 AM
Just for interest/info - we stopped creating .dll's several years ago. We also stopped splitting classes into header/implementation files. Everything is now in .hpp files that are included as needed...
-
February 20th, 2021, 07:26 AM
PS Has this fixed the previous error with the debug build with the missing subfolder? [ https://forums.codeguru.com/showthread.php?565257-Strange-crash-with-Debug-build ]
-
February 20th, 2021, 05:18 AM
Under SDK's, libraries and frameworks - I have:
C++ ATL for latest v142 build tools (x86 & x64)
Windows 10 SDK (10.0.19041.0)
-
February 19th, 2021, 12:08 PM
Yeah - Several C++ questions asked in this forum should be asked in the C++ (Non-visual C++ Issues) forum.
-
February 19th, 2021, 09:10 AM
If both were built with VS2019, then I don't know. Other than there seems to be something wrong with your VS install. I'd be tempted to completely remove it and re-install from scratch. Have you got...
-
February 19th, 2021, 08:50 AM
Yes - for OLE automation. There's quite a few different types - BSTR possibly being the most well known. They are not part of C++ though. These were developed by MS to help with interoperability with...
-
February 19th, 2021, 08:34 AM
yes - probably because of different versions of std::stringstream exe/dll. You can't mix versions! This is the sort of thing that was called 'dll hell'! In the above, std::stringstream default...
-
February 19th, 2021, 06:11 AM
-
February 19th, 2021, 05:16 AM
I suspect that the class definition for stringstream used in the .dll is different from that used in the .exe. That's probably why it compiles OK with VS2008, but not VS2019. There has been large...
-
February 19th, 2021, 05:01 AM
In C++, true is 1 and false is 0. This can be shown by:
bool z = true;
printf("%02x\n", (unsigned char)z);
which displays 01 as expected.
-
February 17th, 2021, 08:33 AM
You can't mix 32 bit and 64 bit libraries/exe. They must all be compiled as either 32 bit or 64 bit. See https://docs.microsoft.com/en-us/windows/win32/winprog64/process-interoperability
-
February 17th, 2021, 04:55 AM
After the find, you don't check if site hasn't been found.
auto it = std::find(m_TacToUnassignedNeighSiteKeysList[tac].begin(), m_TacToUnassignedNeighSiteKeysList[tac].end(), site);...
-
February 17th, 2021, 04:41 AM
If these containers have many elements, consider the performance impacts of all of these 'by value' copies being done.
-
February 16th, 2021, 08:29 AM
1) Usually const auto& rather than auto so that you pass by ref and not by value.
2) If neighkeys is auto& (by ref) and neighkeys is passed by ref to ApplyinitialDistanceHOCriterion(), won't that...
-
February 16th, 2021, 07:55 AM
Also https://stackoverflow.com/questions/28411283/dealing-with-attribute-in-msvc
-
February 12th, 2021, 12:02 PM
What's an example of the external symbol that can't be found - and what is called in the .dll?
-
February 12th, 2021, 04:32 AM
We all have those 'senior moments'........ :)
-
February 12th, 2021, 04:30 AM
Are you compiling as C or C++? If as C++, are the function declarations for the dll functions specified as extern "C" (capital C) to avoid name 'mangling'? See...
-
February 11th, 2021, 12:25 PM
Is this the same as your post here https://forums.codeguru.com/showthread.php?565160-_local_stdio_printf_options
-
February 11th, 2021, 04:23 AM
Just generate the .lib file from the .dll. See https://stackoverflow.com/questions/9946322/how-to-generate-an-import-library-lib-file-from-a-dll See the .bat file(s) that automate this process.
-
February 10th, 2021, 12:23 PM
You can't. C++20 compatibility is only available with VS2019.
-
February 10th, 2021, 09:33 AM
-
February 10th, 2021, 04:50 AM
struct MyStruct {
int (*foo)();
};
static int func1()
{
printf("I am called\n");
return 0;
}
|
Click Here to Expand Forum to Full Width
On-Demand Webinars (sponsored)
|