Click here to Skip to main content
15,891,951 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: convertion vc6 to dotnet2008 Pin
Rajeesh MP18-Apr-09 0:50
Rajeesh MP18-Apr-09 0:50 
GeneralRe: convertion vc6 to dotnet2008 Pin
Stuart Dootson18-Apr-09 1:19
professionalStuart Dootson18-Apr-09 1:19 
GeneralRe: convertion vc6 to dotnet2008 Pin
Rajeesh MP21-Apr-09 0:59
Rajeesh MP21-Apr-09 0:59 
GeneralRe: convertion vc6 to dotnet2008 Pin
Stuart Dootson21-Apr-09 2:00
professionalStuart Dootson21-Apr-09 2:00 
GeneralRe: convertion vc6 to dotnet2008 [modified] Pin
Rajeesh MP21-Apr-09 18:10
Rajeesh MP21-Apr-09 18:10 
GeneralRe: convertion vc6 to dotnet2008 Pin
Stuart Dootson21-Apr-09 22:03
professionalStuart Dootson21-Apr-09 22:03 
GeneralRe: convertion vc6 to dotnet2008 Pin
Rajeesh MP22-Apr-09 18:23
Rajeesh MP22-Apr-09 18:23 
GeneralRe: convertion vc6 to dotnet2008 Pin
Rajeesh MP22-Apr-09 19:05
Rajeesh MP22-Apr-09 19:05 
Good Morning Mr.Stuart Smile | :)

if i m creating a dll with ATl dotnet2008.
that we can register in regscr 32 /i "dll path"...am i right..???Confused | :confused:

my old c++ application like this (ABC.cpp)
CComModule _Module;

BEGIN_OBJECT_MAP(ObjectMap)
OBJECT_ENTRY(CLSID_ABCD, CABCD)
END_OBJECT_MAP()

/////////////////////////////////////////////////////////////////////////////
// DLL Entry Point

extern "C"
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/)
{
    if (dwReason == DLL_PROCESS_ATTACH)
    {
        _Module.Init(ObjectMap, hInstance, &LIBID_ABCLib);
        DisableThreadLibraryCalls(hInstance);
    }
    else if (dwReason == DLL_PROCESS_DETACH)
        _Module.Term();
    return TRUE;    // ok
}


but now i m converting this to new application with ATL dotnet2008. Poke tongue | ;-P
so in my dllmain.cpp contains Shucks | :-\
CABCModule _AtlModule;
 //DLL Entry Point
extern "C" BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
{
	hInstance;
	return _AtlModule.DllMain(dwReason, lpReserved); 
}


and ABCD.h contains D'Oh! | :doh:
OBJECT_ENTRY_AUTO(__uuidof(ABCD), CABCD)


My new ATL appliation is successfully succeeded..
regscr 32 /i "dll path" i can register like this..no errorRose | [Rose]

After registering my AIM is not getting..its not working.. Sleepy | :zzz:

i m feeling this above code conversion is not proper..
so mr.Stuart please Laugh | :laugh: check this code and let me know..

Thanks
Rajeesh MP
GeneralRe: convertion vc6 to dotnet2008 Pin
Stuart Dootson22-Apr-09 21:15
professionalStuart Dootson22-Apr-09 21:15 
GeneralRe: convertion vc6 to dotnet2008 Pin
Stuart Dootson22-Apr-09 21:00
professionalStuart Dootson22-Apr-09 21:00 
GeneralRe: convertion vc6 to dotnet2008 Pin
Rajeesh MP23-Apr-09 19:36
Rajeesh MP23-Apr-09 19:36 
GeneralRe: convertion vc6 to dotnet2008 Pin
Stuart Dootson23-Apr-09 21:16
professionalStuart Dootson23-Apr-09 21:16 
GeneralRe: convertion vc6 to dotnet2008 Pin
Rajeesh MP24-Apr-09 0:40
Rajeesh MP24-Apr-09 0:40 
GeneralRe: convertion vc6 to dotnet2008 Pin
rana ray27-Apr-09 2:58
rana ray27-Apr-09 2:58 
QuestionDebuge the COM(ATL) [modified] Pin
anzhiyue16-Apr-09 15:00
anzhiyue16-Apr-09 15:00 
AnswerRe: Debuge the COM(ATL) Pin
Stuart Dootson16-Apr-09 20:40
professionalStuart Dootson16-Apr-09 20:40 
QuestionActiveX [modified] Pin
siva45515-Apr-09 23:16
siva45515-Apr-09 23:16 
QuestionSTL vector, search for a sequence Pin
kaminem13-Apr-09 22:16
kaminem13-Apr-09 22:16 
AnswerRe: STL vector, search for a sequence Pin
Stuart Dootson14-Apr-09 22:46
professionalStuart Dootson14-Apr-09 22:46 
AnswerRe: STL vector, search for a sequence Pin
Stephen Hewitt15-Apr-09 0:58
Stephen Hewitt15-Apr-09 0:58 
GeneralRe: STL vector, search for a sequence Pin
Stuart Dootson16-Apr-09 20:34
professionalStuart Dootson16-Apr-09 20:34 
GeneralRe: STL vector, search for a sequence Pin
Stephen Hewitt19-Apr-09 4:43
Stephen Hewitt19-Apr-09 4:43 
QuestionAtlAxAttachControl - An outgoing call cannot be made since the application is dispatching an input-synchronous call. Pin
bfoo759-Apr-09 13:19
bfoo759-Apr-09 13:19 
AnswerRe: AtlAxAttachControl - An outgoing call cannot be made since the application is dispatching an input-synchronous call. Pin
Stuart Dootson14-Apr-09 22:14
professionalStuart Dootson14-Apr-09 22:14 
GeneralRe: AtlAxAttachControl - An outgoing call cannot be made since the application is dispatching an input-synchronous call. Pin
bfoo7521-Apr-09 11:07
bfoo7521-Apr-09 11:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.