473,324 Members | 2,214 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

What should be set when using the ADO on VC .Net2003

Hi,

When I want to using the ADO examples:ADOXCreateDatabaseX.cpp applied by
MSDN 2003 on the VC.net2003. the compile always told me errors, like:

c:\project\console\console\console.cpp(22): error C2065: 'HRESULT' :
undeclared identifier

c:\project\console\console\console.cpp(24): error C2039: 'CoInitialize' : is
not a member of 'operator``global namespace'''

c:\project\console\console\console.cpp(49): error C2065: '_CatalogPtr' :
undeclared identifier

What about I can do? who can help me?

Thanks advanced,

Bill

Nov 16 '05 #1
0 938

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nikko | last post by:
Hi, I have several questions being in that migration process : - is there a way to avoid source editor from changing the way I put braces, or even better, to change default behaviour for that....
1
by: Simon Peng | last post by:
I install vs.net2003 in my pc which hasn't install it before I can't change install directory, it is only installed in C:\Program Files\Microsoft Visual Studio .NET 2003 But in other pc, this...
2
by: maddog | last post by:
My works are done in vs.net. I wanna take a look at vs.net2003. any suggestion are welcome. thanks. -- maddog
1
by: Dev | last post by:
Dear Friends, I have created VC++.NET dll by VS.NET2003.Is it possible to use this dll(vs.net2003) into C# version (Vs.net2002)? Is there backward compatibility? If so ..How do to this?..If...
0
by: Richard Hatt | last post by:
I have been making modal browser windows in ASP.Net by adding onblur="javascript:self.focus()" to the <Body> tag, as this works across different browsers. However, since upgrading to...
2
by: Patrick | last post by:
Hi, I would like to host the form of a COM application (like Excel or other) in a winform. Is there a library to do that or a custom control for vs.net2003 ? Thx
0
by: kuldeep singh sethi | last post by:
Hi friends i have a problem. i have installed .net2003 and sql2003 in my Machine. for web application i want to make connectivity between both. so plz give me sugestion how to do that. i really...
5
by: Benzi Eilon | last post by:
I have written a C# application which should run as a Windows Service. I must avoid having multiple instances of the application on one machine so I inserted the following code at the beginning of...
1
by: thomasc | last post by:
Hello, This is aboutVB.NET2003. I am looking for a way to keep the values of some variables even if the program restarts or even the system is reboot. I heard that it might be possible to...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.