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
P

Pankaj Jain

@Pankaj Jain
About
Posts
23
Topics
16
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Finding in a vector of Structure
    P Pankaj Jain

    hi, I have a vector of a structure. I want to find a value of a element of structure, so that i can get that elememt in vector. I m not able to get any algo in STL so solve this problem. If you hv any idea please tell me. Remember my vector is a vector of structure. There is a function _InIt find(_InIt _First, _InIt _Last, const _Ty& _Val) doesn't for it. Thanks & Regards Pankaj Jain

    ATL / WTL / STL c++ graphics help

  • c++ managed wrapper class for unmanaged class
    P Pankaj Jain

    Hi All I have to create a c++ managed wrapper class that uses System::String for an unmanaged class that uses std::string.I need to use the managed dll in C# web application.so can anybody tell me the steps or how to wrap an unmanaged class in an managed class and how to import that dll in my c# project so that i can access the functions of that dll.I m wondering :sigh: for that right solution for 3 weeks. Thank in advance

    Pankaj Jain

    COM csharp c++ tutorial

  • How to get HTML output from *.asmx file
    P Pankaj Jain

    Hi I am preparing an .asmx file that calls a c++ class using its .dll and generates output in .xml format.But I want output in HTML format. To ganarate HTML output I have used wsdl "useService" and "callService" functions in html file. But when i run this from from localhost it gives error "Client Service unavailable" Can anyone tell me plz how to resolve this problem.::sigh: I m giving my html file //CPPWebService.html var n = 10; var iCallID; var callObj; function init1() { s.useService("http://localhost/MyWebServices/CPPWebService.asmx?WSDL","yyy"); var headObj = new Object(); callObj = s.createCallOptions(); callObj.async = false; callObj.funcName = "MyMethod"; callObj.SOAPHeader = new Array(); callObj.SOAPHeader[0] = headObj; oSPAN.innerText = "Number returned is"; iCallID = s.yyy.callService(MyResults, callObj); MyResults(iCallID); alert("Over"); alert(iCallID.value); } function MyResults(result) { alert(result.value); if(result.error){ var xfaultcode = result.errorDetail.code; var xfaultstring = result.errorDetail.string; var xfaultsoap = result.errorDetail.raw; oSPAN.innerText = xfaultcode + " " + xfaultstring + " " + xfaultsoap; alert(xfaultcode +xfaultstring +xfaultsoap); } else{ // Show the arithmetic oSPAN.innerText += result.value; alert(result.value); } } function aaa() { alert(event.result.value + ' ' + event.result.id); } Equation : //CPPWebService.asmx <%@ WebService Language="C#" Class=CPPWebService.MyService %> it use c++ class that is as follows #include "stdafx.h" #using #using "System.Web.dll" #using "System.Web.Services.dll" using namespace System; using namespace System::Web; using namespace System::Web::Services; #include "CPPWebService.h" namespace CPPWebService { int MyService::MyMethod() { return 42; } }; Thax in advance

    Pankaj Jain

    C / C++ / MFC help csharp c++ html wcf

  • how to replace a string
    P Pankaj Jain

    hi all, how can i replace a string in file with my own string. for example, i open a file and search string %Pankaj% and replace with them c:\windows\system.i'm new to VC++. thanks in advance......

    Pankaj Jain

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

  • how i set diffrent color on row in List Control
    P Pankaj Jain

    Hi, plz help me...i want to make an application in which i want to Show Different desired row color in List Control using CListCtrl class member.but i'm unable to get the same result.plz help me on my application. Thanks in advance

    Pankaj Jain

    C / C++ / MFC help

  • How much a vector can store?
    P Pankaj Jain

    Hi, I want know that what is the max size of a vector. How much a vector can store Data. Is there any limit or not?. Thanks

    Pankaj Jain

    ATL / WTL / STL question graphics

  • How to get path of tree elment in text format throgh CTreeCtrl class members
    P Pankaj Jain

    Hi, can any buddy tell me that how can i Retrieve a "Tree Element" path in String format using CTreeCtrl class member's. thanks

    Pankaj Jain

    C / C++ / MFC data-structures tutorial question

  • data view related query
    P Pankaj Jain

    Hi Anz, Check it http://www.codeproject.com/vb/net/SQLEditor.asp[^] It can Help u See in article 'If the table contains a primary key, use that to find the record. For i As Integer = dca.GetLowerBound(0) To dca.GetUpperBound(0) dv.RowFilter = "COLUMN_NAME = '" & dca(i).ColumnName & "'" sSQLDataType = dv(0)("TYPE_NAME").ToString() If sSQLDataType.Equals("text") Or _ sSQLDataType.Equals("ntext") Or _ sSQLDataType.Equals("image") Then sTmp = "[" + dca(i).ColumnName + "] LIKE @" + _ RemoveIllegalChars(dca(i).ColumnName, _ m_RemoveChars) Else sTmp = "[" + dca(i).ColumnName + "] = @" + _ RemoveIllegalChars(dca(i).ColumnName, _ m_RemoveChars) End If If dca.GetLength(0) > 1 Then sSQL = sSQL + "(" + sTmp + ")" Else sSQL = sSQL + sTmp End If If i <> dca.GetUpperBound(0) Then sSQL = sSQL + " AND " Next

    Pankaj Jain

    Visual Basic question csharp database

  • How to Trap Close Application in a Console Application
    P Pankaj Jain

    Thanks! I m looking.............

    Pankaj Jain

    C / C++ / MFC tutorial

  • How to Trap Close Application in a Console Application
    P Pankaj Jain

    Hi Friends, I m having a simple win32 console Application. It is running in a infinite loop, there is only one option to close application by clicking the close button in console. I want to trap this event when closing application. Please suggest the best solution. Thanks

    Pankaj Jain

    C / C++ / MFC tutorial

  • Error C2061: syntax error : identifier 'StdDDECallback'
    P Pankaj Jain

    Hi, I m trying to complile a code. Some errors are there and I m not able to understand why it is so please help me. Errors are error C2061: syntax error : identifier 'StdDDECallback' c:\pankaj\STDDDE.C error C2059: syntax error : ';' c:\pankaj\STDDDE.C error C2059: syntax error : 'type' c:\pankaj\STDDDE.C error C2065: 'StdDDECallback' : undeclared identifier c:\pankaj\STDDDE.C error C2061: syntax error : identifier 'StdDDECallback' c:\pankaj\STDDDE.C error C2059: syntax error : ';' c:\pankaj\STDDDE.C error C2059: syntax error : 'type' c:\pankaj\STDDDE.C error at this point HDDEDATA FAR PASCAL __export StdDDECallback(WORD wType, WORD wFmt, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1, DWORD dwData2); The Definition is HDDEDATA FAR PASCAL __export StdDDECallback(WORD wType, WORD wFmt, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, DWORD dwData1, DWORD dwData2) { HDDEDATA hDdeData = NULL; switch (wType) { case XTYP_CONNECT_CONFIRM: // // Add a new conversation to the list // AddConversation(hConv, hsz1); break; case XTYP_DISCONNECT: // // Remove a conversation from the list // RemoveConversation(hConv, hsz1); break; case XTYP_WILDCONNECT: // // We only support wild connects to either a NULL service // name or to the name of our own service. // if ((hsz2 == NULL) || !DdeCmpStringHandles(hsz2, ServerInfo.hszServiceName)) { return DoWildConnect(hsz1); } break; case XTYP_ADVSTART: case XTYP_CONNECT: case XTYP_EXECUTE: case XTYP_REQUEST: case XTYP_ADVREQ: case XTYP_ADVDATA: case XTYP_POKE: if (DoCallback(wType, wFmt, hConv, hsz1, hsz2, hData, &hDdeData)) { return hDdeData; } // // Fall Through to allow the custom callback a chance // default: if (ServerInfo.pfnCustomCallback != NULL) { return(ServerInfo.pfnCustomCallback(wType,

    C / C++ / MFC help delphi

  • Please Suggest some free Online Test
    P Pankaj Jain

    I want some links for Online C++ Test

    Pankaj Jain

    C / C++ / MFC c++

  • Please Suggest some free Online Test
    P Pankaj Jain

    Hi All :), I just want to check my depth in c++, so Please Suggest some free Online Test Regrads Pankaj Jain

    C / C++ / MFC c++

  • Reading and wrinting using wndows registry API
    P Pankaj Jain

    Hi http://www.codeproject.com/system/caaregistryclass.asp?df=100&forumid=2460&exp=0&select=1272934[^] This can help U. Best of Luck

    Pankaj Jain

    C / C++ / MFC windows-admin json

  • Warnings in my project
    P Pankaj Jain

    Hi All I m working on a ATL project. There are a lot of warnings as warning C4653: compiler option 'Optimizations (one or more of /Oawstgp[y]) or debug checks (one or more of /GZ, /RTCcsu)' inconsistent with precompiled header; current command-line option ignored warning C4651: '/D__MSVC_RUNTIME_CHECKS' specified for precompiled header but not for current compile Can anybody describe why it is? Thanks

    Pankaj Jain

    ATL / WTL / STL c++ debugging question

  • Win32 Application for SetPrinterDataEx()
    P Pankaj Jain

    Hello, Can any body help me on my query… I’m new to VC++6. I built an application for printer, in which I Read printerDriverData from windowsXp registry and write all the data in to a file in specific Location of hard-disk. Now I again want to import that data in the same location of registry with using a SetPrinterDataEx() function. But I’m not able to do it. Can any one help me of my query? Plz guide me on my query…I’m so thankful to you Ashish Bajpai

    C / C++ / MFC c++ database windows-admin help tutorial

  • How to Add String in MultiColumn ListBox
    P Pankaj Jain

    Thanks Prasad, Thanks to clear my doubts

    Pankaj Jain

    ATL / WTL / STL c++ tutorial

  • How to Add String in MultiColumn ListBox
    P Pankaj Jain

    Thanks, But my query is not solved How to Add String in MultiColumn ListBox using SendDlgItemMessage

    Pankaj Jain

    ATL / WTL / STL c++ tutorial

  • How to Add String in MultiColumn ListBox
    P Pankaj Jain

    Hi All I m working on a ATL Project. I have to add string in a multi column List box using SendDlgItemMessage() but I dont get any idea about that. I m using it like this SendDlgItemMessage(IDC_LIST1, LB_INSERTSTRING, (WPARAM) 0, (LPARAM)"Hi"); SendDlgItemMessage(IDC_LIST1, LB_INSERTSTRING, (WPARAM) 1, (LPARAM)"All"); But it is not working. I want to Add "Hi" in one column and "All" other. If u have any Idea Please suggest me Thanks & Regards Pankaj Jain

    ATL / WTL / STL c++ tutorial

  • Need Tutorial on ATL/WTL/STL
    P Pankaj Jain

    Hi, I need some tutorial on ATL/WTL/STL to deep understanding, so please suggest me. Thanks & Regards Pankaj Jain

    ATL / WTL / STL c++ tutorial
  • Login

  • Don't have an account? Register

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