Click here to Skip to main content
Page 1 of 1
Page Size: 10 · 25 · 50


Author filtered by: iDebD [x]
Question 13 May 2013   license: CPOL
//CMFCToolBar m_wndToolBar;if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) || !m_wndToolBar.LoadToolBar(theApp.m_bHiColorIcons ? IDR_MAINFRAME_256 : IDR_MAINFRAME)) { TRACE0("Failed...
Question 12 May 2013   license: CPOL
CMDIFrameWnd* pFrame = new CMainFrame;if (!pFrame) return FALSE;m_pMainWnd = pFrame;// create main MDI frame windowif (!pFrame->LoadFrame(IDR_MAINFRAME)) return FALSE;I have created MDI application which has one toolbar (With 5 buttons, coming through a Toolbar.bmp...
Answer 12 May 2013   license: CPOL
This is problem with VS2012 compiler which has some issue with XP;Apps build in VS2012 will not run in XP (no idea why, may be Visual Studio 2012 didn't support Window XP as target platform.);Just recompile your apps in vs2010 and it will run well in...
Answer 10 May 2013   license: CPOL
[^]This the solution of my problemProblem in VS2012 compiler;I compiled it in VS2010 and it is able to run successfully in XP
Question 10 May 2013   license: CPOL
I have wrote a dll which is successfully loaded by my C++ as weell as my Delphi program in WIn7, win 8;But when I am trying to run the same program in XP (No service pack)it is giving error:The Procedure entry point EncodePointer could not be located in the dynamic link library...
Question 4 May 2013   license: CPOL
I want to create a MFC project in C++ which will use Google Translator API to translate strings into required language from English;I Have found following link to useful:https://developers.google.com/translate/v2/libraries[^]But having no clue if is there any interface in Google...
Answer 4 May 2013   license: CPOL
http://stackoverflow.com/questions/12978987/svn-repository-on-google-drive-or-dropbox[^]
Question 4 May 2013   license: CPOL
Is it possible to setup SVN repo/server on google drive or dropbox etc?I want to put my PhD project under version control. The data has to stay private and only accessible to me and my friends. I can't afford to pay so I want free service.I have experience with Tortoise SVN.
Question 30 Apr 2013   license: CPOL
I am writing a code where I am enumarating all jobs in printer spooler and getting JOB_INFO_4 (http://msdn.microsoft.com/en-us/library/windows/desktop/dd145022(v=vs.85).aspx[^]);if (::EnumJobs(hPrinter_, 0, 1, 2, pBuffer, bufferSize, &sizeNeeded, &numJobs) == 0) { //DEVMODE...
Question 25 Apr 2013   license: CPOL
Hi, I have a TStringGrid; When am writing in the grid, it is showing ????? ????? instead of showing و ویکیپیڈیا .The string which I am setting in TStringGrid is in Unicode, as if I can show it via messagebox;Following code setting unicode string:with frmhook.sg do begin if...
Question 25 Apr 2013   license: CPOL
1) One MFC GUI is There (MFC is not imp); It has two button, one button is there which is loading a DLL; On loading a thread is starting in which is sending some info to the GUI via a callback function;Now the problem is, when I am loading the DLL, i.e thread is starting, the GGUI is going to...
Question 24 Apr 2013   license: CPOL
unit Unit_hook;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids;typeTCALLBACKPROC = function(strDataType:PWideChar;...
Question 23 Apr 2013   license: CPOL
I want to write my own website. Can anyone tell me list of books, which will be a complete reference for writing a complete aand complex website?Thanks
Question 21 Apr 2013   license: CPOL
#include "stdafx.h"#include #include #include "conio.h"int main (){ typedef struct { int iArr[10]; }BIGSTRUCT; BIGSTRUCT st; std::vector myvector; int ii = sizeof(BIGSTRUCT); std::cout
Question 20 Apr 2013   license: CPOL
The x64 build option is not coming in my VS2008 edition; I tried following things, and it is still not coming:1) Open your project sln;2) Go to Configuration manager"3) Under Active Solution Platform, select new;4) Under Type or select the new platform, select x645) Press OK and you...
Question 19 Apr 2013   license: CPOL
Hi, I am trying to show a message box item as "اردو ویکیپیڈیا", this is a unicode character; I am using Delphi 7; but in the editor it is showing as ????? ?????, it is not supporting unicode;Can any one tell me what I need to do in the Delphi editor or project to make it unicode...
Question 19 Apr 2013   license: CPOL
TCALLBACKPROC = function(strDataType:PChar; strDocument:PChar;strDriverName:PChar;strMachineName:PChar;strPrintername:PChar;strParameters:PChar; strPrintProcessor:PChar; JobId:Integer;PagesPrinted:Integer; Size:Integer; status:Integer; TotalPages:Integer; ...
Question 8 Apr 2013   license: CPOL
I am very new to MySql; I am very efficient in c++; I want to start a project which will be written in C++ and MySql;The main spec of the demo will be: The program will query for one image from the database and show that in my C++ dialog based program;So, as a start up can any one help...
Question 6 Apr 2013   license: CPOL
Hi, I am signing a Setup.exe following Exe signing process?[^]It is successfully signing this Smart installer Setup.exe but corrupting it; I have tried with other simple console applications and mfc or win32 exe signing through this process and they are successfully signed as well as...
Question 4 Apr 2013   license: CPOL
I am setting option /clr to the the DLL project, and while loading that dll through a normal c+ code It is crashing...........But when /clr option is not set to the dll that same code or DLL is loaded successfully!!!!Any one have any clue why this is happening?The code base is...
C++
Question 3 Apr 2013   license: CPOL
Hi, I want to set up a CALLBACK function in a delphi code so that from a C++ dll I can call it; As of now I wrote following code:program Project1;{$APPTYPE CONSOLE}uses Windows;var fnSomeDllMethod:procedure() cdecl; m_hDll: HMODULE;typeTCALLBACKPROC =...
Question 1 Apr 2013   license: CPOL
The following code sets some text to an open notepad window. My question is how does it work safely?int _tmain(int argc, _TCHAR* argv[]){ HWND hwnd = FindWindow(_T("Notepad"),_T("Untitled - Notepad")); if(hwnd!=NULL) { ...
C++
Answer 1 Apr 2013   license: CPOL
C++ DLL: "MyDll.dll"/////////////////////////////////////////////////////typedef HRESULT (CALLBACK * CALLBACKPROC)(DWORD wEvent,LONG_PTR arg,PVOID pParam);/////////////////////////////////////////////////////CALLBACKPROC g_pCallback = NULL;LPVOID g_pCallbackParam =...
Question 29 Mar 2013   license: CPOL
Can any one help me writing the C++ equivalent of following code:if (programName.Equals("iexplore")) { foreach (InternetExplorer ie in new ShellWindows()) { var fileNameWithoutExtension = Path.GetFileNameWithoutExtension(ie.FullName); ...
Question 27 Mar 2013   license: CPOL
Hi,I want to write a program which will run every day, but show some information to user after 5 days. I am planning to do this by saving in the registry as a date. But can any one tell me the API which will help me getting the date after 5 day from current day???I mean I want a api...
Question 27 Mar 2013   license: CPOL
Hi,I have created an win32 dialog following this link:http://www.functionx.com/win32/Lesson02.htm[^]and it is working fine and a small window is coming as described.now I want to add an small image inside this this dialog, say a banner image type;can any one give me idea how can...
Question 25 Mar 2013   license: CPOL
How can I get the URL of the current page of the URL? (IE + FIREFOX + CHROME) what ever it is? Every one tellin gme to use followin gcode:using System;using System.Web;public class Program{ public static void Main() { Uri MyUrl =...
Question 21 Mar 2013   license: CPOL
Hi, Let me try to explain my problem here.I have a DLL, it is written in C++. It monitors all print objects for incoming print jobs (Through a Thread)and then fetch some information from print details. Upto here it is OK. Now I have to send this information to delphi project who loaded this...
Question 15 Mar 2013   license: CPOL
I am trying to make a directory via mkdir through following path:if(FALSE == mkdir($mystring)){ mkdir('false');}where content of $mystring is "Debghosh" (it is in unicode)Same problem as this:...
PHP
Question 3 Mar 2013   license: CPOL
Hi, I am using following code to receive data from a client PC. Then I am saving it in a text file. It is working for English. But, from server if I am sending NLS languages(Like Russians, or french), this files are showing garbage;Working fine: EnglishNot working: Russian$body =...
PHP
Question 1 Mar 2013   license: CPOL
Hi, I have to read a unicode file using Readfile api of MSDNhttp://msdn.microsoft.com/en-us/library/windows/desktop/aa365467(v=vs.85).aspx[^].char* pBuf = NULL;....pBuf = (char*)new char[ dwFileSize+1 ];bResult = ::ReadFile( hFile, pBuf, dwFileSize, &br, NULL );But it is coming...
Question 22 Feb 2013   license: CPOL
Hi, This is Debdipta. Can any one give me suggestion in writing a Facebook APPs. like 1)When you will die (It is a Simple app that will show some picture with your death).I have some small coding knowledge(CSS,HTML5,PHP,C++);Can any one please tell me from where I start? Or any...
Exe signing process? by bubaidada
Question 20 Feb 2013   license: CPOL
Hi,I wrote a program (Simply copies some dll to a location), but unfortunately Bit-defender virus is giving it a pop up showing that it is not digitally signed!!!Can any one tell me the step by step process?Verisign is process to do this. But I do not want to pay for...
Question 18 Feb 2013   license: CPOL
Hi, I have downloaded a open source game and want to modify it according to my need, It has following code in resource file:// Main Include Headers.#include // Required header for sprintf() & sprintf_s().#define DIRECTINPUT_VERSION 0x0800// Direct3D#include...
Question 17 Feb 2013   license: CPOL
Hi,I wrote a program for virtual keyboard- it is streaming key strokes to the windows message queue. I am using SendInput()http://msdn.microsoft.com/en-us/library/aa932480.aspx[^]for streaming. Now I have installed JAWS in my machine, and it now it is not working; I want to send INSERT+t...
Question 16 Feb 2013   license: CPOL
Hi, I want to upload a PDF file to server where a php script is running. I am new to PHP have no idea how to write this script. I cann't use FTP uploading. I have to use HTTP based uploading.More clarification:Upload will be done by C++ (I can do that)Receive will be done in PHP...
PHP
Question 16 Feb 2013   license: CPOL
Hi,Hope every body is familier with Google Chrome offline Installer. One have to just double click it, and after some time it will be installed without pop up. I want to create a installer same like it. But have no clue what technology used here (C++?)Any body have any Idea how they...

Page 1 of 1


Advertise | Privacy | Mobile
Web01 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid