Wrox Home  
Search P2P Archive for: Go

  Return to Index  

application_development thread: How can i Create an ATL Project that supports MFC ?


Message #1 by "stephenzhoumj" <stephenzhoumj@s...> on Sun, 16 Mar 2003 13:49:39
I have some question about ATL .
the question is how to :

Create an ATL Project that supports MFC , 
not operate in the app-wizard ,
I want completely support MFC .

I want to built a Data consumer .
I begin to built a ATL COM , I use OLE DB counsumer .
But my Boss was told me " you cann't use OLD DB  consumer ,use ODBC ok? " .
so i want to use ODBC API .
but in my ATL COM ,i have already bulit 5 intricate ATL object  .
it's a time-consuming to rebuilt those .

so i want to the ATL COM to supports MFC , I want use the recordset class .
But when i begin to find how to do this ,
i found there is no answer in MSDN ,the answer isn't this 
statement "#include <afxdb.h>" in afxstd.h . 
i hope there is no amazing errors when my client use my component .
So can you help me , please ?

I'm a odbc beginner ,is MSDN include all of detail about the ODBC API ?


  Return to Index