Forum: C Jun 4th, 2006 |
| Replies: 3 Views: 966 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... |
Forum: C++ Jun 4th, 2006 |
| Replies: 23 Views: 4,044 To use GUI you should first learn Win32 API and/or MFC.
I suggest you learn C++ throughout in the first place. |
Forum: HTML and CSS May 7th, 2006 |
| Replies: 1 Views: 971 I want to write a very simple browser program, and learn web structure. What should I learn first? |
Forum: JavaScript / DHTML / AJAX Apr 24th, 2006 |
| Replies: 2 Views: 2,412 <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">... |
Forum: PHP Apr 24th, 2006 |
| Replies: 2 Views: 65,902 I found the answer in documentation.
strval() --> num 2 str
intval() --> str 2 num |
Forum: PHP Apr 23rd, 2006 |
| Replies: 5 Views: 1,818 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... |
Forum: PHP Apr 23rd, 2006 |
| Replies: 2 Views: 65,902 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.
... |
Forum: C++ Apr 18th, 2006 |
| Replies: 3 Views: 5,313 My code :int _tmain(int argc, _TCHAR* argv[])
{
HINTERNET hInternet;
BOOL bResult;
hInternet = InternetOpen( (LPCTSTR) "NoAgent",
(DWORD) INTERNET_OPEN_TYPE_DIRECT,... |
Forum: C++ Apr 18th, 2006 |
| Replies: 8 Views: 11,683 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... |
Forum: C Mar 10th, 2006 |
| Replies: 0 Views: 1,088 You know glVertex2f(), glVertex3f() and glVertex4f() functions have upper and lower boundaries of -1.0f and +1.0f.
And, can you tell me what boundariesglVertex2d(x, y);
glVertex2i(x, y);... |
Forum: C++ Mar 5th, 2006 |
| Replies: 5 Views: 4,453 And also,#pragma comment(lib, "opengl32.lib");
#pragma comment(lib, "glu32.lib");may be added at the beginning of the program code as an alternative. |
Forum: C++ Mar 5th, 2006 |
| Replies: 5 Views: 4,453 It is well explained in MSDN :
Thanks everybody! |
Forum: C++ Mar 4th, 2006 |
| Replies: 5 Views: 4,453 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... |
Forum: C++ Mar 4th, 2006 |
| Replies: 5 Views: 1,520 Yes, you had better sending your entire code. It's impossible to understand a program with just a piece of it. |
Forum: C Mar 1st, 2006 |
| Replies: 5 Views: 3,798 But I cannot use WM_KEYDOWN or something else, because I already use WM_INPUT. I recieve the input with WM_INPUT, not with WM_KEYDOWN.
When user hits ALT key, WM_SYSKEYDOWN, WM_KEYUP,... |
Forum: C Mar 1st, 2006 |
| Replies: 5 Views: 3,798 Windows sends the key twice. First time it sends the key with a WM_KEYDOWN, and then with a WM_KEYUP message. As a special case, it sends WM_SYSKEYDOWN and WM_SYSKEYUP when ALT key is pressed. No... |
Forum: C Feb 28th, 2006 |
| Replies: 5 Views: 3,798 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... |
Forum: C++ Feb 26th, 2006 |
| Replies: 12 Views: 9,421 Code :1813
Error :The specified resource type cannot be found in the image file.
Const :ERROR_RESOURCE_TYPE_NOT_FOUND |
Forum: Monitors, Displays and Video Cards Feb 26th, 2006 |
| Replies: 2 Views: 1,892 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? |
Forum: C Feb 26th, 2006 |
| Replies: 17 Views: 3,092 winbatch, your avatar is so cool! |
Forum: C Feb 26th, 2006 |
| Replies: 17 Views: 3,092 |
Forum: C++ Feb 26th, 2006 |
| Replies: 5 Views: 3,007 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. |
Forum: C Feb 26th, 2006 |
| Replies: 5 Views: 5,971 Thanks for your help.
It OK now!
VOID ErrorTest(LPSTR lpzsErrorText);
VOID ErrorTest(INT nText);
class UserDefinedWindow
{
public:
WNDCLASSEX WindowClass; |
Forum: C++ Feb 25th, 2006 |
| Replies: 12 Views: 9,421 Try using GetLastError() function. |
Forum: C Feb 25th, 2006 |
| Replies: 17 Views: 3,092 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++;
} |
Forum: C Feb 25th, 2006 |
| Replies: 5 Views: 5,971 First, I prepared the class blow :
class UserDefinedWindow
{
public:
WNDCLASSEX WindowClass;
DWORD dwExStyle;
LPCTSTR lpClassName;
LPCTSTR lpWindowName;
DWORD dwStyle; |
Forum: Java Feb 18th, 2006 |
| Replies: 6 Views: 14,389 Yes, it is not explained where to get these jar files. |
Forum: C Feb 14th, 2006 |
| Replies: 2 Views: 3,396 Yes, thanks.
It works now. |
Forum: C Feb 14th, 2006 |
| Replies: 2 Views: 3,396 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 :#include "stdafx.h"... |
Forum: C++ Jan 30th, 2006 |
| Replies: 5 Views: 2,280 John-san,
Instead of using MessageBox(), you must use wide-char version of it, MessageBoxW(). Parametres are same for it, except for the title and text. Title and text must be in the WCHAR type.
... |
Forum: C Oct 31st, 2005 |
| Replies: 1 Views: 3,104 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? |
Forum: C Oct 12th, 2005 |
| Replies: 4 Views: 1,742 Thanks.
Type conversion works well. |
Forum: C Oct 11th, 2005 |
| Replies: 4 Views: 1,742 Isconvenient?
Then we can access to the sub-fields this way : |
Forum: C Oct 11th, 2005 |
| Replies: 4 Views: 1,742 We have a struct defined as :
Then we are sent a message...
And this is the code which gets the message
lParam contains the address of the struct. Here we want to access to the struct. |
Forum: C++ Oct 7th, 2005 |
| Replies: 2 Views: 2,091 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... |
Forum: HTML and CSS Aug 12th, 2005 |
| Replies: 5 Views: 1,761 What is the sollution?
How can I make the address of the page change? |
Forum: HTML and CSS Aug 12th, 2005 |
| Replies: 5 Views: 1,761 My is problem has nothing concerned with PHP. I have a HTM version of the Website, and that causes the same problem. I think, it is becuse of frame pages.
Please, someone help me! |
Forum: HTML and CSS Aug 8th, 2005 |
| Replies: 5 Views: 1,761 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... |
Forum: PHP Aug 4th, 2005 |
| Replies: 6 Views: 3,652 My platform is Apache 2.?, PHP 5, WinXP.
Apache gives an error message on this line :
LoadModule php5_module "C:/Prog/PHP/php5apache2.dll"
in the "httpd.conf" file.
Can any of you attach his... |