Advertisement

900 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%!

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top C / C++ / C# Solutions: 1 - 25 of 62
 
I was wondering if anyone could help me to get the code to do the following: 1. I have a textbox on the form that contains text 2. I want the program to automatically insert shortDateString ...
Hi all. I have a vector defined by: vector < vector < vector < bool > > > This vector defines an object in 3 dimensions. In other words, each true value represents a point and each false v...
Hi I am using C++ dll in C#. when I am including a file in C# I am getting an error "Attempted to read or write protected memory. This is often an indication that other memory is corrup...
Hello, I am trying to load classes from dll files where the class implements the interface IBaseMod, and the class name exists in a Dictionary, objDict. I am receiving an exception message...
I am trying to compile a solution using Visual Studio 2008. My solution uses a C++/CLI library to wrap an older, native C++ library written in native C++. The older library appears to have ...
Is it possible to use interop.excel in C# code even if the environment where the tool is used does not have Excel application? I have a tool that outputs the result in Excel file (*.xls), c...
in C++ I get/set a timestamp from the database into a variable of DATE type (which is a double). I need a way to get year/month/day as integers from that date without using MFC! (I have an ATL...
Hello, I get the compiler error C2078: too many initializers. Why ? I retyped the source, it does not seem anything like invisible characters causing the bug. Here is the source extract,...
This is for a school project: write a GUI application that will generate multiple 3 digit numbers and count how many times each 3 digit number appears. To make the program more useful, provide...
Hi, I am looking for a line drawing algorithm, like DrawLine in C#. I need to know any x and y that this line contains. I found this: http://cs.unc.edu/~mcmillan/comp136/Lecture6/Line...
Hi, I tried to use the Boost library to improve the performance of my code on Linux. One thing I like to do is to use the Boost's pool_allocator in the STL map; I wrote a code like: typ...
Hi! I have a C++ dll and a C# dll. I want to call a C# function from C++, passing it an array of doubles, and return a double. Can someone send a simple example? Thanks! I have working cod...
Hi Experts, I am new to C++ and need to come up with some sort of solution. Please see below: The following data is a time series of integer values int timeseries[32] = {67497, 67376, 6...
Hi I have a function in C++ in which I am passing char* as datatype Now I am using that dll in C# using dllExport What is the equivalent  data type in C#
Hi Let me give you the background first before I tell you the issue I am giving the code snippet After running the code I am getting an error Runtime Check Failure #3 - The va...
I am creating a dll that gets frames from an ip camera.  When i try to release the dll, the dll hangs. What i have seen, is that the problem does not occur when CHttpFile connection does not ...
Below I attached a code snippet. I am getting an error in my C# code when I debug----  "Must declare the scalar variable "@mike" I am hoping the insert will insert the values:   test, hello...
I am trying to figure out how to verify that the assignment of the character array and the ssn actually have something in it, but I am having difficulty in setting that up.  The ssn is not sup...
Is it possible to extend the javascript confirm messagebox to handle 3 states instead of 2? If not javascript, how can this be managed?
Hi Experts:     I used a custom defined class as the key datatype of a System.Collections.Generic.Dictionary<T> container, and found that the key search does not work.     This should be b...
Hi I have the hex color code #622423 This is the hex code of brown color. I want to make this color lighter How can I do that in VC++. Regards Karan
Hi, What is the exact use of Sealed Classes in C#? I means why I need to use it. Can you please provide real time scenario where I need to use Sealed Classes. Or some code which indicate ...
Hi, In C++, if I define a function body inside a class, rather than outside, compiler is supposed to treat it as an inline function. How do I find out whether the compiler has actually done...
HI I have a class className which is an abstract class. I am attaching the definition in the code snipet. when I am writing the line I am getting an error error C2259: 'className' : c...
Hi, I want to put my MFC Regular DLL in system32 folder.I am not able to use regsvr32.Please help me in this regards.Please see the error screen shot while executing the regsvr32 from command...