RE: Problem that existing MFC/CLR/MSADO project will not build under V
- From: "Nick Thompson" <nick0033@xxxxxxxxxxxxxxxx>
- Date: Tue, 8 Nov 2005 09:28:02 -0800
Gary Thanks for yesterdays response:
[If this issue also occurs in the VS2005 RTM, I suggest you post it into our
corresponding dotnet.languages.vc group:
microsoft.public.dotnet.languages.vc
It is better if you can attach an sample project(zipped) to repro this
error]
Is there any way I can attach a file using a web based reader?
please include a link to the correct iinternet address if this is possible
we have a company firewall to the internet and I am not sure if I have any
other access to the news groups?
best wishes again , NIck, sorry about the message duplication!
"Nick Thompson" wrote:
> Dear Gary, Since this post I have tried converting my project using the
> release version of VS2005, but still have the same problem;
>
> All though I initialy believed that the project character set was part of the
> problem, it seems the problem is more subtle than this, but I cannot isolate
> it.
>
> It seems the only way of demonstrating the problem is with a copy of the
> project.
>
> Should I still use the same forum as you mention below, or a different forum
> now it is a released product.
>
> -----------------------------------------------------------------------------------
> ""Gary Chang[MSFT]"" wrote:
>
> Hi Nick,
>
> For such issue about VS2005, I suggest you post it in our correspoding MSDN
> Forum:
>
> Visual C++ General
> http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=29
>
> Visual C++ Language
> http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=96
>
>
> Thanks for your understanding!
>
> Best regards,
>
> Gary Chang
> Microsoft Community Support
> -----------------------------------------------------------------------------------
> I have found that importing msado27.tlb into a multibyte c++ project under
> vs 2005 rel cand 1 causes an undefined varaible _result error
> here is the file, it is a managed, unsafe, mfc, multibyte, windows form
> project
>
>
> // --------------------------------------------------------
> // ADO section
> // --------------------------------------------------------
>
> #pragma once
>
> //#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors
> will be explicit
>
> // turns off MFC's hiding of some common and often safely ignored warning
> messages
> //#define _AFX_ALL_WARNINGS
> //#include "stdafx.h"
>
> #include <afxwin.h> // MFC core and standard components
> #include <afxext.h> // MFC extensions
> #include <afxtempl.h> // MFC extensions
> #include <afxmt.h> // MFC extensions
> #include <afxdisp.h> // MFC OLE automation classes
> #include <afxcmn.h> // MFC support for Windows Common Controls
> #include <direct.h>
> #include <Process.h>
> //#include "ado.h"
> //#include "Property.h"
> #include <time.h>
> #include <sys/types.h>
> #include <sys/stat.h>
> #include <stdio.h>
>
> #include <cdosys.h>
> #include <adoid.h>
> #include <adoint.h>
> #include <icrsint.h>
>
> #import "MSADO27.tlb" \
> no_implementation auto_rename
>
> #import "msadox.dll" \
> no_implementation auto_rename
>
> // This Macro checks the return code of Create Instance
>
> //#import "X:\program files\Common Files\System\ADO\MSADO27.DLL" \
> // implementation_only
>
> //#import "X:\Program Files\Common Files\system\ado\msadox.dll" \
> // implementation_only
>
> #import "MSADO27.tlb" implementation_only auto_rename
> #import "msadox.dll" implementation_only auto_rename
>
.
- Follow-Ups:
- RE: Problem that existing MFC/CLR/MSADO project will not build under V
- From: "Gary Chang[MSFT]"
- RE: Problem that existing MFC/CLR/MSADO project will not build under V
- From: "Gary Chang[MSFT]"
- RE: Problem that existing MFC/CLR/MSADO project will not build under V
- References:
- Problem that existing MFC/CLR/MSADO project will not build under V
- From: Nick Thompson
- Problem that existing MFC/CLR/MSADO project will not build under V
- Prev by Date: Re: Default Recordset and opening other databases
- Next by Date: Re: Default Recordset and opening other databases
- Previous by thread: Problem that existing MFC/CLR/MSADO project will not build under V
- Next by thread: RE: Problem that existing MFC/CLR/MSADO project will not build under V
- Index(es):
Relevant Pages
|