I'm having problems adding a data source to a VS2008 project - using Visual C++
If I start the Data Source Configuration Wizard, the only data source type shown is Object. From information...
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 ...
I'm trying to learn VC++.net, i got stuck, can you recommned any online tutorial i could do to learn it. I need to ask questions
I am using a desktop 2.8 mghz, 80 hard drive 1 meg. windows x...
Hi,
The following code gets the error now in MS VS 2005 but works in MS VS 2003. I don't want to have to uninstall VS 2005 and re-install VS 2003 for this one error (the app has been around a...
Hi,
I have the following C++ code snippet that always give me the error.
The type A in Assembly ........... is not marked as serializable.
when I try to run it. My class already has ...
Hello,
I need to send email messages using an Exchange Server. I am programming in C/C++ (MSVC .NET 2003) and I am not using (nor do I intend to use) MFC or ASP.
How should I proceed?
Is...
im trying to do someting which seems altogether easy, but the compiler does not like it.
i want to convert a std::string to uppercase or lowercase, heres what ive found
std::transform(st...
Hi Experts,
Our application needs to load a file into a std::ifstream object. The filename contains Slovenian characters - i.e. Latin Small Letter Z with Caron. (U+017E). Assume that I have...
I have been working on these particular sorts for a few days and I have been trying to debug four errors 3 of which are the same. I have been googled these errors and cannot figure out where I...
See Attached error message. Its a clean machine. Latest XP patches. I got this error message very far along in the installation process. I selected V C++ only. ( that's the only thing i'm ...
I'm trying to find a simple way to list files in a given directory. I need an array that contains these file names.
Hello a couple of questions on VC++.NET strings
I have a managed class and I want to create a private string member, TCHAR szMyString;
coming from VC++, my preferred ctring type is TCHA...
I am converting a VC++ 6.0 app to VC++.net (2005) and I am having problems finding a solve to converting time to long. In VC6 I used to following:
long ltime;
time( <ime );
What do I n...
Hi,
I'm trying to list all sub-folders and file names in a directory and I thought it was working till it was tested in Vista. I found out that in Vista if the folder name had a space in it...
Hello,
Can I do the following in the Windows C++ programming :
I am sending this from Client side:
iBytesSent = sendto( socket, BufData,
20, 0, (SOCKADDR*) &service,sizeof(service...
I am very new to c++.net and not sure what I am doing.
I am trying to create a HttpWebRequest object but am having troubles.
The code I am using is below. Basically I am having trouble i...
Hi Everyone,
I have a MS Visual C++ 6 program that I need to compile using .NET. I think just about everything will carry over, except I know that I can't include the file fstream.h, becau...
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...
I have a dll that is compiled with win32 and clr functions. I have a function that passes the following
char variable, const char* varible1, const char* var3
I want to convert all of thes...
Hi there.
I'm writing a VC++ program, no MFC that makes use of a lot of HRGNs and often combines and checks if they overlap. While I'm running it, my CPU usage goes as high as 70% max sometim...
I wish to create a simple dialog-based application (using MFC) with a tooltip that can display different text according to where the mouse pointer is located, and also switch off this tooltip ...
Hi,
I am having a problem of killing the excel process when I am automating through visual c++ .net. I'm not sure if it matters but I am using microsoft office 2003. The main function t...
I'm trying to slowly convert my MFC code to .NET code. My example works fine until I try and use a CString.
Is there a way to do this?
Thanks
I have recently started using MS Visual C++ .NET for development.
My source files are contained in a complex folder structure with multiple level subfolders.
I have been looking for som...
Could anyone tell me how to convert BSTR to string and vice versa?
Also, how can I convert between BSTR and CString?