I'm debugging an intermittent problem in which an application (created using C++ in Visual Studio 2005) is faulting. The event log provides the following information:
faulting module msvcr80.dll
version 8.0.50727.1433
fault address 0x00008aa0
I did a Google search and found many other examples of applications crashing with this parti...
thanks for u r reply please give your reply for below program.
For table creation and insertion i am using these string.
Create table mystudents(sname varchar(50),sno varchar(25),mark1 numeric,mark2 numeric);
insert into mystudents values('lala','tk001',100,100);
VC+++
CString("select * from mystudents;")
int status = mysql_query(hn...
hai....what is the equivalent of HWND(vc++) in c#,because i want to send HWND from my c# program to the VC++ dll
...
Hi All,
How do you change the text color of a CStatic text control? Is there a simple way other that using the CDC::SetTextColor?
thanks...
...
My colleagues are using Visual Studio 2002 and uses the C++ MFC. I am developing in C #.
It has not been any problems before, but now questioning our customers if we really should develop in different environments. My colleagues think (of course) that I should move to C++ MFC. I think that they can use .NET instead of MFC.
Is there a...
Been a while since I have programmed in C++, so the whole export/import idea slipped off my mind.
Can you explain me why to use __declspec(dllexport) & import thingy if it looks like I can use classes from other libraries without those.
I have created a solution in VC++ 2005, added the console applicaiton project and two dll libraries...
For table creation and insertion i am using these string.
Create table mystudents(sname varchar(50),sno varchar(25),mark1 numeric,mark2 numeric);
insert into mystudents values('lala','tk001',100,100);
int status = mysql_query(hnd,sql);
if (status)
{
printf("Could not execute statement(s)");
mysql_close(hnd);
/...
I’m trying to create a simple Win32 DLL. As interface between DLL and EXE I use C functions, but inside of DLL i use C++ singleton object. Following is an example of my DLL implementation:
// MyDLLInterface.cpp file --------------------
#include "stdafx.h"
#include <memory>
#include "MyDLLInterface.h"
class MySingleton
{
friend ...
Hi
This is my simple array declaration
INT64 arr[200000];
Throws error in VC++, but RUNS in C#..
Could you help on this.
Thanks
Arun
...
Summary:
When attempting to use marshalling to pass string data into a C++ DLL from C#, I'm getting
'msclr::interop::error_reporting_helper<_To_Type,_From_Type>::marshal_as':
This conversion is not supported by
the library or the header file needed
for this conversion is not included.
Please refer to the documentation on
...
Is there a simple preprocessor macro that is defined for a 64-bit build? I thought _WIN64 might have been it, but even when I build a 32-bit target, the parts enclosed in a #ifdef _WIN64 ... #endif are compiled in, and this is causing problems. It's Friday and I can't think straight, but I'm sure I'm overlooking something very simple her...
I have to port the build of a DLL from building in Visual Studio to another build system. The DLL solution wasn't made by me and it's got lots of modified command line switches etc. I've copied the compiler/linker options from Visual Studio's
Project Properties -> Config Properties -> C/C++ -> Command Line
Project Properties -> Confi...
I've been trying to improve the build times for my product. We're using continuous integration, and our builds are now taking 2 hours to run.
I've looked at the NANT timings and see alot of places that are slower than they should be, but one that jumps out is the x64 builds of our Visual C++ projects. Here's an example of the timings ...
I have developend a window application(Win32 API) in visual C++. I have to add multilingual feature in this application. Can any one Pls guide me how to get forward with this task.
...
I am working on reviving an old project (that only works with < 5.1) that essentially compiles PHP 5.3 into a PE C++ EXE. I have gotten everthing to work really well on multiple Windows 7 computers with only 2 dlls and 1 exe for most applications! Unfortunately, on XP I get:
the application failed to start because the application con...
Can you give an example of stack overflow in C++? Other than the recursive case:
void foo() { foo(); }
...
Can you tell me what are the __DEFAULT__, implicit compiler options for cl.exe and for link.exe when compiling from the command line, like:
cl whatever.c
Thanks!
update: To clarify: I am not interesed in the available command line options, I have even linked them from the question. What I am asking for is a list of implicit, default ...
I'm with a fairly large team and we are running into problem with the other libraries we depend on, and getting the same project files to work for every one.
The problem is that many people have more than one version of the same library (eg the project users boost 1.36, and I use boost 1.39 for some of my other stuff), and every develop...
hi,
i need a program to capture pictures from multiple webcams, and save it automatically in vista. i got the basic code from this link. http://www.cs.ru.nl/lab/des/marsrover/communication/pc%5Fimageprocessing%5Fcoordinates/VFWCapture.cpp
the code runs in windows XP but when i tried using it on vista and it says failed. different errors...
tried to find the answer by googling and in MSDN but with no luck.
what does a small stop sign mean in the icon of the file (seein in a soluton explorer tree) in Visual Studio. I have a bunch of C++ files with the thing and it really worrries me.
All these files are under source control and checked-in.
...