Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

Rajeesh MP

@Rajeesh MP
About
Posts
54
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    can u send me...ur personel ID... rajeeshmp@gmail.com

    ATL / WTL / STL c++ csharp help question

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    HI..Stuart My ATL 2008 application dllmain is contains

    CABCModule _AtlModule;

    abc.cpp is having

    STDAPI DllRegisterServer(void)
    {
    // registers object, typelib and all interfaces in typelib
    HRESULT hr = _AtlModule.DllRegisterServer();
    return hr;
    }

    // DllUnregisterServer - Removes entries from the system registry
    STDAPI DllUnregisterServer(void)
    {
    HRESULT hr = _AtlModule.DllUnregisterServer();
    return hr;
    }

    but my old application is

    CComModule _Module;

    BEGIN_OBJECT_MAP(ObjectMap)
    OBJECT_ENTRY(CLSID_ABCPP, CABCPP)
    END_OBJECT_MAP()

    STDAPI DllRegisterServer(void)
    {
    // registers object, typelib and all interfaces in typelib
    return _Module.RegisterServer(TRUE);
    }

    /////////////////////////////////////////////////////////////////////////////
    // DllUnregisterServer - Removes entries from the system registry

    STDAPI DllUnregisterServer(void)
    {
    return _Module.UnregisterServer(TRUE);
    }

    any difference is there this two codes..?? what s the difference b/w ... CABCModule _AtlModule; and CComModule _Module;:confused: i think becouse of this my dll is not working properly.. :zzz: how do i create CComModule _Module; project..in ATL dotnet2008..:confused: Regards Rajeesh MP

    ATL / WTL / STL c++ csharp help question

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    Good Morning Mr.Stuart :) if i m creating a dll with ATl dotnet2008. that we can register in regscr 32 /i "dll path"...am i right..???: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. ;P so in my dllmain.cpp contains :-\

    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 :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 error:rose: After registering my AIM is not getting..its not working.. :zzz: i m feeling this above code conversion is not proper.. so mr.Stuart please :laugh: check this code and let me know.. Thanks Rajeesh MP

    ATL / WTL / STL c++ csharp help question

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    Ha Ha Ha... my application is working same way only... before posting this message...i done this..and its working fine... but i would like to know any alternate trik is there or not..like adding reference or linking....etc Thank u Stuart Rajeesh MP

    ATL / WTL / STL c++ csharp help question

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    Good MOrning...Stuart NO...directly i m adding ABCD.cpp and ABCD.h file why..there is no other post...??only we are here...ha ha ha Mr.Staurt ..can u add me on ur personel mail... my id rajeeshmp@gmail.com Regards, Rajeesh MP

    modified on Wednesday, April 22, 2009 12:16 AM

    ATL / WTL / STL c++ csharp help question

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    no dear... i will explain u very simply..... if i am adding a class to my ATL application...that class id will generate automatically in our ABC_i.h.... but i m trying to add my existing file to my application...After compiling time this existing CLASSID is not generating in our ABC_i.h so my question after adding this excisting ABC.cpp i need do something in our application settings..for generating this classid.. Regards Raj

    ATL / WTL / STL c++ csharp help question

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    there is no luck for me... //====================================================================================== /* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 7.00.0500 */ /* at Sat Apr 18 14:23:13 2009 */ /* Compiler settings for .\AppFast.idl: Oicf, W1, Zp8, env=Win32 (32b run) protocol : dce , ms_ext, c_ext, robust error checks: stub_data VC __declspec() decoration level: __declspec(uuid()), __declspec(selectany), __declspec(novtable) DECLSPEC_UUID(), MIDL_INTERFACE() */ //@@MIDL_FILE_HEADING( ) #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif // __RPCNDR_H_VERSION__ #ifndef __ABC_i_h__ #define __ABC_i_h__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif /* Forward Declarations */ /* header files for imported files */ #include "oaidl.h" #include "ocidl.h" #ifdef __cplusplus extern "C"{ #endif #ifndef __ABCLib_LIBRARY_DEFINED__ #define __ABCLib_LIBRARY_DEFINED__ /* library ABCLib */ /* [helpstring][version][uuid] */ EXTERN_C const IID LIBID_ABCLib; #endif /* __ABCLib_LIBRARY_DEFINED__ */ /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif //====================================================================================== this is my generated ABC_i.c.... After this code EXTERN_C const IID LIBID_ABCLib; i need to add want to add this code...

    EXTERN_C const CLSID CLSID_ABCPP;

    #ifdef __cplusplus

    class DECLSPEC_UUID("D85DDEB0-0354-44A0-842C-D264885B8A92")
    ABCPP;
    #endif

    is it possible....Please ... Regards Rajeesh

    ATL / WTL / STL c++ csharp help question

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    i dont know much more abt this vc++.. how do i link my class to this ABC_i.c i need to give any reference or any alternate methord..?? After compiling...ABC_i.c is generating...with out my CLSID of my class

    ATL / WTL / STL c++ csharp help question

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    Dear Stuart Uuid is same only.. i have a doubt

    #ifndef __AppFastLib_LIBRARY_DEFINED__
    #define __AppFastLib_LIBRARY_DEFINED__

    /* library AppFastLib */
    /* [helpstring][version][uuid] */

    EXTERN_C const IID LIBID_AppFastLib;
    #endif /* __AppFastLib_LIBRARY_DEFINED__ */

    /* Additional Prototypes for ALL interfaces */

    this is generating at compiling time in ABC_i.h if i m manualy trying to add my code. That would be deleted...

    EXTERN_C const CLSID CLSID_ABC;
    #ifdef __cplusplus
    class DECLSPEC_UUID("97676011-B0FA-40cf-AECC-7BD3FF54BE4E")
    ABC;
    #endif

    how do i add this class instant in ABC_i.h Regards Rajeesh

    ATL / WTL / STL c++ csharp help question

  • convertion vc6 to dotnet2008
    R Rajeesh MP

    HI i need to convert a vc6 project to dotnet2008. i took ATL new project and i added my old vc++ files. i got some more errors..that everything i fixed...exept one..that is Error 1 error LNK2001: unresolved external symbol _CLSID_ABC ABC.obj AppFast Error 2 fatal error LNK1120: 1 unresolved externals .........ABC.dll 1 ABC the code is like this..in my header file

    EXTERN_C const CLSID CLSID_ABC;
    #ifdef __cplusplus
    class DECLSPEC_UUID("97676011-B0FA-40cf-AECC-7BD3FF54BE4E")
    ABC;
    #endif

    what is wrong...i dont know much about c++ i m working in c# and vb in dotnet2005 Please ,,,i m expecting helps Regards Raj

    ATL / WTL / STL c++ csharp help question

  • Live media ASP.NET from website
    R Rajeesh MP

    Hi Blumen search for WebVideo.dll add this dll to framework components. u will get windows media player,real player and VLC player in dotnet tool bar... just drag and map the video file path.. regards Rajeesh MP

    ASP.NET csharp asp-net adobe question

  • Webservice fileupload timeout
    R Rajeesh MP

    maxRequestLength=".........." executionTimeout="....." you give a big number

    ASP.NET

  • chat application
    R Rajeesh MP

    ha ha ha :laugh:

    ASP.NET

  • chat application
    R Rajeesh MP

    thank you Abhijith.. now i checked yesterday posts....i did same like this for u also...sorry Regards Rajeesh MP

    ASP.NET

  • Webservice fileupload timeout
    R Rajeesh MP

    if u r increasing this values in web config....your session will not timeout Regards Rajeesh MP modified on Thursday, April 9, 2009 1:05 AM

    ASP.NET

  • chat application
    R Rajeesh MP

    i m not understanding...what is wrong in this question...

    ASP.NET

  • chat application
    R Rajeesh MP

    there are more chat applications available in google... and.. if u want u can create your own chat control..with application variable... i m using my own chat application in my asp.net application. http://cutesoft.net/asp.net+chat/Default.aspx this is one version...from CUTE soft Regards Rajeesh MP

    ASP.NET

  • trigger event for nonalphanumeric keys
    R Rajeesh MP

    use javascript.. onblur()

    ASP.NET

  • Add problem of HttpCookie
    R Rajeesh MP

    HttpCookie MyCookie = new HttpCookie("Cookie1"); MyCookie.Values["Val1"] = "1"; MyCookie.Values["Val2"] = "2"; MyCookie.Values["Val3"] = "3"; Response.Cookies.Add(MyCookie);

    ASP.NET

  • [Message Deleted]
    R Rajeesh MP

    bind to one grid..put it this grid in one panel... and try to use ajax popup control PopupControlID="that panel" Eg: TargetControlID="DateTextBox" PopupControlID="Panel1" Position="Bottom" />

    ASP.NET
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups