Questions tagged [visual-c++]
The visual-c++ tag has no usage guidance.
-3
votes
0answers
53 views
C++ and Java 64 bit migration challenges from 32 bit [closed]
Any set of guidelines or pointers to compile and run existing applications that use Java 32 bit version for linking native code in C++ and Java, as from Java9(JDK9) only 64 bit versions of java will ...
0
votes
2answers
95 views
Design a tree-like hierarchy of ownership classes
I have a class, call it App, that will instantiate and own a set of classes of type Agents, each of which will instantiate and own a set of Listeners. Ownership is unique and non-transferable, hence ...
-1
votes
2answers
306 views
How to port gcnew and gcroot from Visual C++ to gcc [closed]
I have the task to port some code from Visual C++ to gcc.
Some calls are gcnew and gcroot to handle managed code inside cpp module.
How can these calls be ported to gcc in a fashionable way?
0
votes
1answer
486 views
Linking obj files directly. Negative effects?
We have legacy code that has unit tests (wohooo :D [is it then still legacy?:D]).
The production code is an exe file, another one is a DLL but with only one single entry point exported (for some ...
0
votes
3answers
3k views
Is there anyone seriously using C++ ATL or MFC at work these days? [closed]
Is there anyone seriously using C++ ATL or MFC at work these days? Please describe what kind of projects would require them these days.
4
votes
4answers
1k views
Is a compiler warning for 64bit to 32bit `size_t` truncation actually useful?
I have been looking at VC++'s C4267:
Compiler Warning (level 3) C4267
'var' : conversion from 'size_t' to 'type', possible loss of data
The compiler detected a conversion from size_t to a ...
1
vote
1answer
240 views
How can Delphi BPL's be used from visual C++
Delphi BPLs do a DLL name mangling as explained in this German article
http://edn.embarcadero.com/article/27758 (use your favorite translator page if needed). The name mangling is obviously different ...
0
votes
2answers
431 views
Port GUI program from VxWorks to Windows [closed]
My company has an old GUI application on VxWorks. Now, I was requested to port this application to Windows XP over new H/W platform. The original application calls WindML & Zinc (Tornado's GUI ...
-1
votes
1answer
391 views
Is using non-standard single-line comments fine in C? [closed]
I noticed Visual C++ 2010 (my current environment) and XCode both allow non-standard single-line comments in my C programs. Since these are both my target platforms, I assume it's fine to use it? VC++ ...
2
votes
2answers
1k views
How to evaluate CLR / C++ vs native C++?
How should I go about evaluating the performance or execution time of C++ with CLR versus native C++?
My personal bias is that I believe C++ with CLR to be slower since it has to run on a virtual ...
0
votes
1answer
801 views
How QT Framework handles Events Coming from OS?
When we call QApplication::exec() at the end of our main() function, the application enters Qt's event loop. Conceptually, the event loop looks like this:
while (!exit_was_called) {
while (!...
6
votes
1answer
7k views
Is Visual C++ Redistributables backward compatible?
I am including two programs in my software. One of which requires VC10 and the other requires VC11. My question is that if program developed for VC10 will work on VC11 or I have to include both VC10 ...
1
vote
1answer
759 views
GDI low on memory
I am fresh to Visual C++. While moving forward in the book "Programming Windows with MFC", I came across GDI (Graphics Device Interface) and use of paint brush. The book says a brush cannot be created ...
2
votes
3answers
4k views
Can I make a good career with VC++ programming? [closed]
I'm addicted to VC++ since 2008, and I begin to work for my current company from 2011 when I graduated in Mathematics. Now I still love VC++, it is a wonderful programming language.
I'm a little ...
3
votes
1answer
3k views
const vs. readonly for a singleton
I have a singleton that anchors together some different data structures. Part of what I expose through that singleton are some lists and other objects, which represent the necessary keys or columns ...
0
votes
1answer
271 views
Text Classification Implementation
I've been trying to implement a text classification system. It needs to read a text file, and extract the words and the word frequency. So far, I've been planning to parse the words, put them in a ...
4
votes
2answers
383 views
Can a Code Review help in learning the code-flow and/or technology of a large code-base? [closed]
I'm new to VC++, and so am not very familiar with COM, ActiveX, IDL etc. When I mentioned this to my tech-lead, he assigned me the task of doing the code review of files he felt were important, in ...
10
votes
9answers
7k views
Is anyone doing “real” TDD with Visual-C++, and if yes, how do they do it? [closed]
Test Driven Development implies writing the test before the code and following a certain cycle:
Write Test
Check Test (run)
Write Production Code
Check Test (run)
Clean up Production Code
Check test (...
1
vote
4answers
1k views
If you use MFC how did find it best to learn the concepts? [closed]
I'm currently working with C++ MFC applications in Visual Studio 2008. I have spent most of my time up to this point working with Java Swing development which seems to be not quite as involved as ...
7
votes
3answers
1k views
Microsoft Terminology: .NET C++ vs. traditional C++
I've recently been working with a team that's using both .NET C++ and pre-.NET C++.
I fully understand the technical differences between the two technologies. However, I sometimes feel like I'm ...