Hi y'all. Coming back again to C++.
I've tried to build my application and I got the following error message
********************
fatal error LNK1201: error writing to program database 'D...
Hi,
Here's the other warning I receive when I compile the source code.
//------------------------
warning C4290: C++ exception specification ignored except to indicate a function is not __d...
My includes and namespaces:
#using <mscorlib.dll>
#using <System.Web.dll>
#using <System.dll>
#using <System.windows.Forms.dll>
using namespace System;
using namespace System::Web...
I am writing a project in VC++ 9 (VC++ 2008) and want to connect to Oracle Database(10g). I tried several methods but it is not working. Please give me a sample code for database connectivity ...
Hi there,
I've written an Outlook add-in in Visual C++ 2005. It works fine on my machine. However, when I try to deploy it on another machine, I've got a problem. If I type
regsvr32 M...
This is a question for a C++ application (not "managed C++) using VS .NET 2003 IDE.
I have followed many instructions on generating debug information for a release build. But whatever I do,...
Dear experts:
While compiling a .cpp file using MS Visual Studio 2005, I got an error message as the follows:
Fatal error c 1083: Cannot open precompiled header file: 'Debug/mywork.pch...
I'm a newbie win32 developer who's implemented a global hook for WM_ACTIVATEAPP. The MS documentation led me to believe that this notification is dispatched once each to the application being ...
I am currently outputting integer data to a file using FileWriter. I need to have the data be in hexadecimal format. The problem is I do not know how to do this with the FileWriter::WriteLin...
Hi All,
I'm trying to compile a code I write in VC++ 6 to VC++ .NET.
Some parts of the code are using the MSXML to read/write xml files.
When I compile the code I get this erros on the ...
I was given a bunch of files that comprise a visual c++.net project, but I need to convert it all to visual c++ 6. I'm a VB programmer and have never really used vc++.
Is there a simple uti...
Could anyone tell me how to convert BSTR to string and vice versa?
Also, how can I convert between BSTR and CString?
I know my question is kinda weird but it seems I have to do this way or threre are some better ideas.
Could you show me a sample C code to connect to a data server and call a stored procedu...
All,
we have an application which always reports memory leak. How can i use GetPerformanceInfo to get an application process memory usage?
i found some code samples:
#include <windows.h> ...
In Visual Studio 6 there was an option to compile with profiling information, it looks like this is no longer an option in Visual Studio 2003. Is that true? If so, any suggestions on how to ...
I've created a header file which contains lines like this :
Value = 1*pow(10,13) + 3 * pow(10.0,4) , where Value is an unsigned long long.
The header file was working perfectly on Borlan...
I'm wanting to install a couple of windows systemwide hooks:
a)WH_CBT to yield the next window to receive focus, and the last window to have focus and,
b)WH_KEYBOARD to yield when a user has...
iam able to compile the MSVC++.NET Dll (Class Library)
But while linking it gives error
--------------------------------------------------------------------
msvcprt.lib(MSVCP71.dll) : er...
I have done a full install of Visual Studio 2005.
Created a new project (MFC) and am attempting to add an event handler for a menu.
I have selected the menu in the resource editor and clicke...
Hi Everyone:
I am wanting to help a friend who experiences an error message at the Windows XP Home Edition SP2 desktop. The error message is as follows: It is a small window with t...
I have been given the task of writing an interface to interop with 3 specific photo printers. They are having trouble getting information from them when print jobs fail for various reasons. Un...
Hi,
I have an C++ unmanaged dll that has a method signature like:
void DoConversion(CString videoIn, CString videoOut)
I am building a VC++.NET managed ...
Hi Experts,
My workspace has two projects. One for the CPL, and another for the executable. When I setup my active project as the CPL project and try to run via Control+F5 it returns the f...
Hello.
When I try to follow the instructions in this tutorial:
http://www.functionx.com/mysqlnet/vcnet/Lesson04.htm
I allways get these errors:
*****************************************
A...
hi , i am new in programming in dot net, and when my visual c++ express cannot connect by wizard to sql server 2005 express?
can u help me to know how to connect using a code not by wizard
R...