C/C++ PayPal Integration

C
I've seen a lot of topics for PayPal integration for sites, Java, C# and even Objective-C, but I can't seem to find anything on C/C++, specifically. S...
1 month ago

Combining C++ and C#

C++
Is it a good idea to combine C++ and C# or does it pose any immediate issues? I have an application that needs some parts to be C++, and some parts t...
1 month ago

C++ union in C#

C++
I'm translating a library written in C++ to C#, and the keyword 'union' exists once. In a struct. What's the correct way of translating it into C#? A...
5 months ago

Obfuscating C/C++ Code

C
How can I obfuscate C/C++ code? Regarding the "use the compiler" responses: I am aware of that, but I have a client that wants to obfuscate their C/C...
1 month ago

C# TypeInitiializationException

C#
I have a C# program running under Visual Studio 15 .NET Framework 4.5.2. It uses AutoMapper 4.1.1. It's been running fine for years. (I inherited it f...
2 months ago

C# timers.timer

C#
My application looks like this: I have an MDI parent form - form1, the form that starts and stops the timer - form 2, and a timerCalls class with all...
3 months ago

System.InvalidCastException C#

C#
I designed a Form that has Panels and Labels . I made the cursor property of the panels is Hand . But when I click on the panel I get this Exception :...
1 month ago

C# AutoComplete

C#
I am trying to add an autocomplete feature to a textbox, the results are coming from a database. They come in the format of [001] Last, First Midd...
6 months ago

c++ sizeof( ... )

C++
#include <cstdlib> #include <iostream> int main(int argc, char *argv[]) { cout << "size of String " << si...
4 months ago

Oracle.DataAccess.Client.OracleException C#

C#
I have this class where I am selecting two values from the database and comparing it to the textbox values provided by the users. Below is my class. ...
19 days ago

C++ Variant

C++
I'm in the process of creating a class that stores metadata about a particular data source. The metadata is structured in a tree, very similar to how...
8 days ago

C# Properties.Settings.Default

C#
How to ensure that retrieving value from Properties.Settings.Default exists? For example, when I use this code: folderBrowserDialog1.SelectedPath = (...
7 days ago

Best C/C++ Network Library

C
I haven't done work in C/C++ for a little bit and was just wondering what people's favorite cross platform libraries are to use. I'm looking for so...
2 months ago

Extracting C / C++ function prototypes

C
I want to do this: extract_prototypes file1.c file2.cpp file3.c and have whatever script/program print a nice list of function prototypes for all f...
3 months ago

Fake Mouse (C# or C++)

C#
I need a way to fake that a mouse is connected. The problem: My HTPC (Windows 8) has no mouse connected and I wrote a program to simulate mouse input ...
1 month ago

Xcode & C/C++ project

C
I want to use Xcode for C/C++ project. I don't care about build/compilation, all i want is to use it as editor. Needs: - Find symobol , References , ...
1 month ago

C / C++ MultiDimensional Array Internals

C
I have a question about how C / C++ internally stores multidimensional arrays declared using the notation foo[m][n]. I am not questioning pure pointe...
4 months ago

C# COM INTEROP in c++

C#
I'm trying to call my C# dll from a C++ client, so far I have the dll all setup and in my registry (I can create and call it from the power shell for ...
2 months ago

Faster modulus in C/C#?

C#
Is there a trick for creating a faster integer modulus than the standard % operator for particular bases? For my program, I'd be looking for around 1...
5 months ago

Memory alignment in C/C++

C++
I was reading Game Coding Complete 4th edition. There is a topic regarding Memory alignment. In the code below author says that first struct is really...
1 month ago