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
A

Anand Paranjpe

@Anand Paranjpe
About
Posts
43
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MS CRM Installation error related to ASP.NET
    A Anand Paranjpe

    I am installing MS CRM. I am following installation guide provided my Microsoft. During intsallation I am getting error as "Set up was unable to configure web services that are using Microsofts ASP.NET" Any one faced such kind of error while installing MS CRM? I tried by giving different credentials (like "local system", Administrator priviledges, Domian Admin priviledges) for installing this ASP.NET related services. even I tried changing ASP.NET service log on user to "local system". any guess why this is hapenning ? ur guess may help me out is sorting out this issue... Config info: I am having separate domain for this installation. Win 2k Server as OS. .. MS CRM Installation needs domain admin rights(for adding data on PDC and SQl server within the domain) Thanks in advance... The chosen One :)

    ASP.NET help csharp asp-net database sql-server

  • CString insertion operator faulty?
    A Anand Paranjpe

    When you typecast object of CString with LPCTSTR, internally overloaded operator LPCTSTR will get called. else explicily call function of CString class "operator LPCTSTR()" This will convert CString object to Long Pointer To Constant String which is acceptable format for ofstream. The chosen One :)

    C / C++ / MFC c++ help question

  • A funny thing happened to me. Who can explain?
    A Anand Paranjpe

    why are you tampering code by removing const while declaring variable a. it should be const int a=10; The chosen One :)

    C / C++ / MFC question

  • A funny thing happened to me. Who can explain?
    A Anand Paranjpe

    this is because of compiler optimization. Just have a look at assembly code. const int a=10; 0041B1CE mov dword ptr [a],0Ah int* p=(int*)&a; 0041B1D5 lea eax,[a] 0041B1D8 mov dword ptr [p],eax *p=100; 0041B1DB mov eax,dword ptr [p] 0041B1DE mov dword ptr [eax],64h int i=a; 0041B1E4 mov dword ptr [i],0Ah Also while printing on console... cout << "a=" << a << endl; 0041B291 push offset std::endl (4194BAh) 0041B296 push 0Ah 0041B298 push offset string "a=" (44E0C8h) 0041B29D push offset std::cout (457668h) 0041B2A2 call std::operator<< > (419A96h) 0041B2A7 add esp,8 0041B2AA mov ecx,eax 0041B2AC call std::basic_ostream >::operator<< (4195DCh) 0041B2B1 mov ecx,eax 0041B2B3 call std::basic_ostream >::operator<< (419AC3h) You will not experience this behavour with all the compilers. Thanks, Anand The chosen One :)

    C / C++ / MFC question

  • Saving Documents Without Confimation Dialog
    A Anand Paranjpe

    (Grab active window, click the button with name "&save") U will find such program on net which will do this for u. e.g. dismiss.exe which will do the same explained on 1st line. The chosen One :)

    C / C++ / MFC help question

  • how to beautify a button in a dialog?
    A Anand Paranjpe

    Hi, U will find different articles on codeproject in MFC/C++ >> Button Controls else visit link below. http://www.codeproject.com/buttonctrl/cxskinbutton.asp B4 asking any question, "google":rolleyes: it and try to find out answer. That saves time and speed up the development. This is what I follow :cool: The chosen One :)

    C / C++ / MFC c++ learning tutorial question

  • About XML parser with MSXML 4
    A Anand Paranjpe

    hi, try to understand syntax of XPath. its simple. first "/" means root node, second "/" means child node, in ur case "list" level, now u need to fire query to enumerate cities. when u say "//city/*" u r on level of "city" node and u r gathering infor inside city node. try this "/list/city/*" Try this out, till the time I will explore how 2 use XML in .NET!! The chosen One :)

    C / C++ / MFC xml help

  • IOCP goes wrong?
    A Anand Paranjpe

    u gave the answer in ur question!! read it carefully U will get the key!! The chosen One :)

    C / C++ / MFC sysadmin testing beta-testing help question

  • About XML parser with MSXML 4
    A Anand Paranjpe

    hi, use XPath query language. "//list/city/*" pass this query to SelectNodes(); it will return u list of cities. Try it out. I cannot give u compilable code as I am using .NET IDE now a days. Search on MSDN @ writting XPath query. The chosen One :)

    C / C++ / MFC xml help

  • Kernel32.dll
    A Anand Paranjpe

    I hope u have gone through article below: "Three Ways to Inject Your Code into Another Process" By Robert Kuster The chosen One :)

    C / C++ / MFC help question

  • Function to pass from text to float
    A Anand Paranjpe

    use atof() function inside ur func. Thanks The chosen One :)

    C / C++ / MFC question

  • Named Pipes access accross network
    A Anand Paranjpe

    If you specify NULL as DACL, the named pipe gets a default security descriptor. The ACLs in the default security descriptor for a named pipe grant full control to the LocalSystem account, administrators, and the creator owner. They also grant read access to members of the Everyone group and the anonymous account. So check if u can communicate with client machine with administartor rights. Else set named pipe's security descriptor by calling the SetSecurityInfo function. Chill, The chosen One :)

    C / C++ / MFC sysadmin security

  • Preferred size for memory block alloc?
    A Anand Paranjpe

    If u r using string from STL, it gives facility of reserving memory space. Read more on Function reserve(). This will suffice the need. The chosen One :)

    C / C++ / MFC question performance

  • help socket newbie
    A Anand Paranjpe

    Go through MFC Sample CHATSRVR code. The chosen One :)

    C / C++ / MFC help c++ announcement

  • wstring/string
    A Anand Paranjpe

    String Conversion Macros on MSDN will satiates ur need The chosen One :)

    C / C++ / MFC question

  • StrRetToStr
    A Anand Paranjpe

    What @ IE version u r having on ur machine? The chosen One :)

    C / C++ / MFC question

  • StrRetToStr
    A Anand Paranjpe

    Hi, What IE version u have ? Use the func below. Check if same thing happening with this also StrRetToBuf The chosen One :)

    C / C++ / MFC question

  • Removing icon from header
    A Anand Paranjpe

    What space u c is not space it is blank image. :) Live with it if possible :) The chosen One :)

    C / C++ / MFC tutorial question

  • Need help wif toggling check box
    A Anand Paranjpe

    checkbox is button with style as BS_CHECKBOX Use GetState() and SetState() of CButton class. The chosen One :)

    C / C++ / MFC question help

  • how to read unicode file
    A Anand Paranjpe

    Hi, add "_UNICODE" in project/settings/C++/general/Preprocessor definations. CStdioFile file; CString str; while( file.ReadString(str)) { //Do something } if u get any linking error with libraries starting or ending with "u" (e.g. uafxcwd.lib), then u need to install unicode support for VC ide on ur machine. The chosen One :)

    C / C++ / MFC help tutorial question
  • Login

  • Don't have an account? Register

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