3 Discussion / Question Topics

Remove Filter
Member Avatar for thelamb

I'm designing an exception class, but ran into a case where a copy is being made which I don't want (plus, I don't understand why). Consider the following cases: [code=cpp] // 1 Exception e; throw e; // Copy: yes //2 throw Exception(); // Copy: no //3 throw Exception() << "extra …

Member Avatar for thelamb
0
95
Member Avatar for thelamb

Hello all, I have a VB.net application and a C++ DLL. The C++ DLL has an exported function that gets called by the VB.net application. The C++ exported function is as following: [CODE=cpp] STARTUPINFO si; PROCESS_INFORMATION pi; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); ZeroMemory( &pi, sizeof(pi) ); TR::Log( "Starting …

Member Avatar for thelamb
0
2K
Member Avatar for thelamb

Hello all, I am coding a client/server in C++ - everything is working so far but I was wondering if my approach is correct or if there is a better way of handling this: In this version only 64 clients need to be able to connect, in a different application …

Member Avatar for thelamb
0
182

The End.