- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
40 Posted Topics
I heard a rumour that there is a program named "PHP Tripod" that does the same thing as PHP, MySQL and Apache. Like "three in one". The reason I am looking for this program is having troubles with Apache. Do you know how can I get this program? I searched … | |
Re: [QUOTE]Return Value If the function succeeds, the return value is the handle to the dialog box. If the function fails, the return value is NULL. To get extended error information, call GetLastError. [/QUOTE] Try using GetLastError() function. | |
Re: The best way is to create your own classes in such situations. It is not difficult to find sample code on the net. Even if you find it, it won't be handy, because your own code can't take the place of someone else's. I think it is a waste of … | |
Re: What is this :#include"C:\windows\desktop\input.h" | |
Here is my code : #include <iostream.h> int main (int argc, char * argv[]) { struct { short Signture; long FileSize; short Reserved1; short Reserved2; long ImgDataStartOff; long InfoHeaderSize; long Width; long Height; short Planes; short NumbOfPix; long Compression; long SizeOfImgData; long HRes; long VRes; long NumOfCol; long NumOfImpCol; } … | |
| |
First, I prepared the class blow : [CODE]class UserDefinedWindow { public: WNDCLASSEX WindowClass; DWORD dwExStyle; LPCTSTR lpClassName; LPCTSTR lpWindowName; DWORD dwStyle; int x; int y; int nWidth; int nHeight; HWND hWndParent; HMENU hMenu; HINSTANCE hProgInst; LPVOID lpParam; char ClassName[MAX_LOADSTRING]; char Caption[MAX_LOADSTRING]; HWND hWnd; UserDefinedWindow() { dwExStyle = 0; //These are … | |
You know better, if you let a CRT monitor keep an image on its screen for a long time it makes tracks on it. Is it same for the LCD monitors? Is it a must to use screen saver for LCD monitors too? | |
Recently I installed Visual Studio 2005 .NET on my computer. I wrote a Win32 program. But my program doesn't run on PCs that doesn't have Framework 2 installed on. Is there any settings for VS 2005 .NET to make my code run on all PCs? Or what DLL file should … | |
Re: [QUOTE=LieAfterLie]So how can i write a GUI in C++ without the console window?[/QUOTE] To use GUI you should first learn Win32 API and/or MFC. I suggest you learn C++ throughout in the first place. | |
I want to write a very simple browser program, and learn web structure. What should I learn first? ![]() | |
Re: Of course. Apache is full compatible with PHP. Install them in this order : Apache, PHP (do the settings), MySQL. Later on, you may have problems while combining Apache and PHP. If so, have a look at the documentation supported with PHP. Good luck! | |
[CODE]<html> <head> <meta http-equiv="Content-Type"content="text/html; charset=windows-1254"> <title>JavaScript</title> </head> <body bgcolor="#000000" text="#ffffff" vlink="#99FF33" link="#FF99FF"> <script language="javascript"> function ShowValue() { document.TextBox.value = "You clicked the button."; //Error on this line } </script> <input type="text" name="TextBox" width="128"><br> <input type="button" name="Show" value="Show" onClick="ShowValue();"> </body> </html>[/CODE] Text control doesn't show the text. Why doesn't it? | |
I have an HTML which posts a form to a PHP page. The PHP page encodes the password from the form using md5() function. And then I tried to save this MD5 code into a file using fwrite() function. Here the error occures. fwrite() only accepts string parameter, but the … | |
My code :[CODE]int _tmain(int argc, _TCHAR* argv[]) { HINTERNET hInternet; BOOL bResult; hInternet = InternetOpen( (LPCTSTR) "NoAgent", (DWORD) INTERNET_OPEN_TYPE_DIRECT, (LPCTSTR) NULL, (LPCTSTR) NULL, (DWORD) INTERNET_FLAG_ASYNC); if (hInternet == NULL) { DebugTest("hInternet == NULL"); } DebugTest("Internet handle created!"); bResult = InternetCloseHandle((HINTERNET) hInternet); if (bResult == NULL) { DebugTest("InternetCloseHandle((HINTERNET) hInternet) == NULL"); … | |
You know glVertex2f(), glVertex3f() and glVertex4f() functions have upper and lower boundaries of -1.0f and +1.0f. And, can you tell me what boundaries[INDENT]glVertex2d(x, y); glVertex2i(x, y); glVertex2s(x, y);[/INDENT]x and y parameters have for the functions above? And one more thing... What is the 4th parameter of glVertex4?() is for? | |
I had been studying OpenGL in DevCPP all the time. Using DevCPP you link OpenGL library files libopengl32.a and libglu32.a adjusting project options. But I dont know how to do this in VC++. Can you help me what files to link and how to link in Visual Studio 2005 for … | |
Re: Yes, you had better sending your entire code. It's impossible to understand a program with just a piece of it. | |
Hello guys. I'm capturing the keyboard input using the class below. And I have no problem doing that. What I wanna ask is how to understand if a key is pressed, released or being pressed. Let me explain more... When ever any key is pressed the member function GetData() returns … | |
Re: [CODE]double dNum = 4.33; int iNum; int DecPnt = 0; for(int i=1; true; i*=10) { dNum*=i; iNum=(int) dNum; if (iNum==dNum) break; DecPnt++; }[/CODE] | |
Re: May be you can use a random word buffer. Store 100 random words to a buffer in one time. After user finishes 100 words (i now no such a person!), read another 100 words. | |
Re: The function "Information" must have a Begin/End; block, and so the case statement must be encapsulated with a Begin/End; block. Just put a Begin/End; block there. | |
I wrote down a program code that recognizes the keyboard as an HID device and gets input (the key pressed) from it. Then displays it on an edit control. Here is the code :[CODE]#include "stdafx.h" #define _WIN32_WINNT 0x0502 #include <windows.h> #include "HID Input.h" #define MAX_LOADSTRING 100 RAWINPUTDEVICE Rid; USHORT usVKey; … | |
Re: [QUOTE=johnroach1985]Hi.I have been trying to write a simple program that teaches how to read and write Japanese.Unfortunately not every windows does not support Jpanese characters.So like when my program starts I have a pop up which has to give a japanese chared message altough I write the code as such … | |
I have an URL of a file on the Web stored in a string. I want to start the download dialog box of Internet Explorer in order to download the file. Do you know any APIs? | |
We have a struct defined as : typedef struct tagWINDOWPOS { /* wp */ HWND hwnd; HWND hwndInsertAfter; int x; int y; int cx; int cy; UINT flags; } WINDOWPOS; Then we are sent a message... WM_WINDOWPOSCHANGING WPARAM wParam LPARAM lParam; Parameters wParam This parameter is not used. lParam Pointer … | |
I am trying to write down a Win32 program that recovers corrupted files on CDs and DVDs. I used ReadFile() function to read the corrupted file. ReadFile() is supposed to return ERROR_READ_FAULT value whenever any read error occurs. Unfortunately, the program stucks at the ReadFile() function when there exist a … | |
I have frames page. In ("index.php"="main.php"+"button.php"+"banner.php") format. Using Apache 2.0. The problem is, when I open a link in the home page, it opens in the main fram, as I want, but the address in the address-bar does not change, remains "http://localhost/site/index.php". Always stays as is. What can be the … | |
I am using BloodshedDev-CPP GNU. Assembly codes are written in this format : int Variable=45; /*a random value*/ __asm(mov %ax,_Degisken); The crap compiler uses 'AT&T Assembly Syntax'. The problem is I don't know that AT&T stuff and I want to call some interrupts in my program. In the [I]normal[/I] assambly … |
The End.