473,396 Members | 1,724 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,396 software developers and data experts.

how to return a ADO recordset from ATL COM with vc++2003

EG
Hi

have anyone seen this error before ?
i try to use VC.NET2003 to create a ATL COM ,returning a traditional ADO
recordset.
but i'm unable to compile. its keeps on getting MIDL error

error MIDL2025 : syntax error : expecting a type specification near
"_Recordset"
with the below code

__interface IProg1 : IDispatch
{
[id(1), helpstring("method callFunc")] HRESULT callFunc([in,out]
_Recordset** p9);
};

i did Import the MSADO15.dll file.

anyone have any idea with this ? vc2003 seems to be handling the idl files
in a
different way

thanks

Regards
EG
Nov 17 '05 #1
0 842

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

Similar topics

1
by: Irakli Lomidze | last post by:
Dear Sirs plz Help me I'm Trying compile in C++ .NET 2003 (VS 2003 Enterprise Arcitech) This Code (From MSDN) And Gives LNK2001 Linker Error When i remove "new" operator form constructor all...
1
by: Boris Dynin | last post by:
Hi, I have some projects (native - not managed code) in VC++ 2003. I'm trying to debug that stuff on Win98 system that has VC6.0 installed. Is it possible to use VC6.0 for debugging code built...
2
by: zorro | last post by:
Hi, I use the Visual C++ .NET 2003 Standard Edition which doesn't include an optimizing compiler. But Microsoft released the VC++ 2003 Toolkit (http://msdn.microsoft.com/visualc/vctoolkit2003/)...
5
by: Michael | last post by:
i experience slower compile times with VC++ 2003 compared to VC+6.0. Anyone experiencing the same? Should that be expected? This ineed matters, when total compilation time is > 1h and you have to...
2
by: Harry Whitehouse | last post by:
I'm porting an application from Borland C++ to VS .NET 2003. The VC++ compiler doesn't want to deal with declarations like this in my code: LONG FAR PASCAL _export StdPVDlgProc(HWND hWnd, UINT...
2
by: Harry Whitehouse | last post by:
I just wanted to confirm this for WIN32 projects in VC++ 2003. It looks like you need to reference functions in 3rd party DLL's (C-based) by building a LIB file as described here: ...
6
by: Felix I. Wyss | last post by:
It appears that VC++2003 has a code generator bug related to template parameters that are a pointer-to-member type: If the actual template argument is a virtual method, VC generates code that...
14
by: Jeffrey Baker | last post by:
Hello, I wrote a program way back when VC++ 5.0 was around and when using this program in VC++ 2003 I get garbage. I was able to let the program run through code that would view the data. Since...
27
by: Jason Doucette | last post by:
I'm getting an assertion fire from a list iterator being checked against NULL. This did not occur in VC++ 2003 (v7.1). Are there changes that have been made to the STL between these versions that...
2
by: pmbcan | last post by:
I have a project written in VC++ 2003.NET which uses MFC classes. I have ONLY VC++Express2005. I can open the VCProject file sucessfully. The conversion takes place without any error. BUT the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.