Forum: C Jun 4th, 2006 |
| Replies: 3 Views: 972 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 Mar 10th, 2006 |
| Replies: 0 Views: 1,100 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 1st, 2006 |
| Replies: 5 Views: 3,855 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,855 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,855 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: 17 Views: 3,125 winbatch, your avatar is so cool! |
Forum: C Feb 26th, 2006 |
| Replies: 17 Views: 3,125 |
Forum: C Feb 26th, 2006 |
| Replies: 5 Views: 6,086 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: 17 Views: 3,125 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: 6,086 First, I prepared the class blow :
class UserDefinedWindow
{
public:
WNDCLASSEX WindowClass;
DWORD dwExStyle;
LPCTSTR lpClassName;
LPCTSTR lpWindowName;
DWORD dwStyle; |
Forum: C Feb 14th, 2006 |
| Replies: 2 Views: 3,437 Yes, thanks.
It works now. |
Forum: C Feb 14th, 2006 |
| Replies: 2 Views: 3,437 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 Oct 31st, 2005 |
| Replies: 1 Views: 3,120 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,771 Thanks.
Type conversion works well. |
Forum: C Oct 11th, 2005 |
| Replies: 4 Views: 1,771 Isconvenient?
Then we can access to the sub-fields this way : |
Forum: C Oct 11th, 2005 |
| Replies: 4 Views: 1,771 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 Jul 11th, 2005 |
| Replies: 4 Views: 2,096 OK, thanks, I will give it a try. |
Forum: C Jul 11th, 2005 |
| Replies: 4 Views: 2,096 Compiler has a sample program which uses the same function in the same way. It doesn't give any errors. |
Forum: C Jul 11th, 2005 |
| Replies: 4 Views: 2,096 May please one of you explain me what the hell are these sucking error messages and how can they be fixed that the sucking DevCPP compiler generates out for no reason which I have been trying to... |
Forum: C May 6th, 2005 |
| Replies: 7 Views: 45,698 What is this :#include"C:\windows\desktop\input.h" |
Forum: C Apr 25th, 2005 |
| Replies: 3 Views: 1,618 What does it mean that a string is greater than the other?
What a kind of comparision do we do? |
Forum: C Apr 19th, 2005 |
| Replies: 5 Views: 10,443 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... |