RE: Problem that existing MFC/CLR/MSADO project will not build under V

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
>
.



Relevant Pages

  • Re: Global Pension Plan (GPP)
    ... Soviel mal zur verbrieften ... Unter diesem Nick ... Zum zweiten Teil schau dir mal dein Post Nr. ... Hilfsbedürftige wie in diesem Forum anzutreffen sind, ...
    (de.etc.finanz.misc)
  • Re: Correction
    ... As I see it, Nick only gave his ... > (this is a public forum) whereas you from the start set out to belittle ... I can see we will never agree, so let's just abide by our own opinion. ... Nick feels he can give computer advice because of his superior logical ...
    (microsoft.public.windowsxp.messenger)
  • Re: Identity Theft
    ... Seems that there was a long standing member of this ... forum that used the handle "The Old Guy". ... In an effort to not bring about any identity confusion, or hard feelings, ... I am going to relenquish the "Old Guy" nick. ...
    (alt.guitar.beginner)
  • Problem that existing MFC/CLR/MSADO project will not build under V
    ... Since this post I have tried converting my project using the ... Should I still use the same forum as you mention below, ... I suggest you post it in our correspoding MSDN ... I have found that importing msado27.tlb into a multibyte c++ project under ...
    (microsoft.public.vc.database)
  • Re: Identity Theft
    ... Seems that there was a long standing member of this ... forum that used the handle "The Old Guy". ... In an effort to not bring about any identity confusion, or hard feelings, ... I am going to relenquish the "Old Guy" nick. ...
    (alt.guitar.beginner)