Forum: C 19 Days Ago |
| Replies: 1 Views: 338 Hi,
Is there a way to write code or do functions exist for keypress down and keypress up of the keyboard.There are functions for mouseleft button down and mouse left button up.Is it possible with... |
Forum: C 20 Days Ago |
| Replies: 9 Views: 428 But one question still remains how to erase the previous draws.What I observed is when a new window is dragged onto the drawn area it acts as a refreshing thing and it gets erased.Any function in GDI... |
Forum: C 20 Days Ago |
| Replies: 9 Views: 428 |
Forum: C 20 Days Ago |
| Replies: 6 Views: 362 Reading here :
http://www.vbdotnetforums.com/graphics-gdi/27625-cant-find-any-way-remove-graphics-after-drawing-them.html
Tells me that there can be a transparent layer on the desktop which can be... |
Forum: C 20 Days Ago |
| Replies: 9 Views: 428 HDC hdct;
hdct = CreateDC("DISPLAY", NULL, NULL, NULL);
for(int i=0;i<100;i++)
{
TextOut(hdct, 200+i*2, 600, "hello world", 12);
} |
Forum: C 20 Days Ago |
| Replies: 9 Views: 428 #include <iostream>
#include <windows.h>
using namespace std;
int main(int argc, char* argv[])
{
HWND p = FindWindow("ProgMan", NULL);
HWND s = FindWindowEx(p, NULL, "SHELLDLL_DefView",... |
Forum: C 20 Days Ago |
| Replies: 6 Views: 362 |
Forum: C 20 Days Ago |
| Replies: 6 Views: 362 ok fine...will try and get back |
Forum: C 20 Days Ago |
| Replies: 9 Views: 428 I think it is possible.Look at this software.
http://downloads.zdnet.com/abstract.aspx?docid=819443 |
Forum: C 20 Days Ago |
| Replies: 6 Views: 362 //example of ShellExecute Function
#include <shellapi.h>
#pragma comment(lib,"shell32.lib")
static HWND hBut;
switch (message) |
Forum: C 20 Days Ago |
| Replies: 9 Views: 428 Hi
Thanks for the resource.But that is not what I am looking for.I want to draw directly onto the desktop. |
Forum: C 20 Days Ago |
| Replies: 9 Views: 428 Hi ,
Is there a way that I can draw lines or circles etcc..(graphics) onto windows screen?
Please let me know.Sample code would greatly help. |
Forum: C 20 Days Ago |
| Replies: 6 Views: 362 Hi,
I want to write code for opening an external file or program from the C program.Could anyone tell me how to do this?
Say if I want to open calculator.exe I mention the path in the program... |
Forum: C Dec 18th, 2008 |
| Replies: 1 Views: 848 I am thinking of using Microsoft speech recognition SDK
Download :http://www.microsoft.com/downloads/details.aspx?FamilyId=5E86EC97-40A7-453F-B0EE-6583171B4530&displaylang=en
Could some please... |
Forum: C++ Oct 30th, 2008 |
| Replies: 3 Views: 6,005 Dear David,
I am working on Opencv as well and is working with face detection .I want to do eye tracking and also detect the blink of eyes.Could you please guide me. |
Forum: C Oct 19th, 2008 |
| Replies: 1 Views: 848 Hi,I want to try out speech recognition with my robot.Like I say move and the robot moves forward.I want to do this in C (DevCpp)? Windows XP.I have used Open CV for Image Processing.Is there a... |
Forum: C Oct 9th, 2008 |
| Replies: 3 Views: 1,137 Yea,I am trying.It is working |
Forum: C Oct 9th, 2008 |
| Replies: 3 Views: 1,137 I found the respective functions in the MSDN library now.The following are the links which tell (which Library ,which dll and function syntax)
Get mouse position :
[/URL]
Set mouse pos:... |
Forum: C Oct 8th, 2008 |
| Replies: 3 Views: 1,137 Hi,
I want to write a simple code to change the mouse pointer position.Like I enter the value of X and Y and the mouse pointer should get positioned to that co-ordinates.What are the specific... |
Forum: C May 30th, 2008 |
| Replies: 0 Views: 699 I want to use cygwin compiler in DevCpp...how shall I?(I have been using cygwin to compile programs of Lnux in Windows) |
Forum: C++ Mar 12th, 2008 |
| Replies: 0 Views: 863 The following is the code for Serial comm in Dev Cpp (OS :WinXp) .It is a project .It has a main.cpp ,serial.cpp and serial.h
Serial.cpp
/*
Serial I/O class using the Win32 file funcions for... |
Forum: C Mar 6th, 2008 |
| Replies: 7 Views: 2,524 Solved now...It was with linking the lib file...Problem is different compilers have different ways of linking |
Forum: C Mar 6th, 2008 |
| Replies: 7 Views: 2,524 the following is the link to download the files.What I understand is that the cports.lib should be linked .How shall I like this to the comdemo.c file .Also how shall I create project file in Turbo... |
Forum: C Mar 6th, 2008 |
| Replies: 7 Views: 2,524 Also ancient dragon could you please re-format the first post .I mean you there are two header files cport.h and xmodem.h along with the comdemo.c file |
Forum: C Mar 6th, 2008 |
| Replies: 7 Views: 2,524 I am Using Turbo C 3.0 under Windows Xp |
Forum: C Mar 6th, 2008 |
| Replies: 7 Views: 2,524 Hello,I have this C program which is equivalent to the com port.Useful for data logging from the sensors.It consists of the .c file and two header files cport.h and xmodem.h .The code compiles fine... |
Forum: C Mar 5th, 2008 |
| Replies: 0 Views: 1,242 Hi,
I have just started using sensors and I did the coding for ADC.I am able to get the ADC values using the Hyperterminal.But I want to build real time graphs using C in DevCpp (Windows).Any... |
Forum: DaniWeb Community Feedback Mar 2nd, 2008 |
| Replies: 1 Views: 655 I want to have my account and all the posts that I posted deleted.I have been facing privacy problems. I want to start under a new account name.Please help |
Forum: C++ Jan 15th, 2008 |
| Replies: 3 Views: 4,182 In now solved the prob..basically it was a linker error |
Forum: C Jan 15th, 2008 |
| Replies: 3 Views: 1,451 I now solved the problem...basically had a linker error. |
Forum: C++ Jan 15th, 2008 |
| Replies: 3 Views: 4,182 The following steps tell how to create a project file to play a wav sound file
1- create a project file.
2-Choose Console Application in Basic tab.
3-After Create the Project File go to... |
Forum: C++ Jan 15th, 2008 |
| Replies: 3 Views: 6,589 Hey vegaseat,I was able to play the sound file (.wav) when i created a project.But now i require that i play the file just as a normal .cpp file (by not creating a project)How shall i do it?And... |
Forum: C Jan 15th, 2008 |
| Replies: 3 Views: 1,451 I have a C code and I when I compiled it as just a single file it did .But now I want to make a project and when I created the main.c with the same code I am getting the following error.
... |
Forum: C Jan 14th, 2008 |
| Replies: 14 Views: 8,541 The following code (.cpp for DevCpp, Windows) is for sending characters out from the serial port (com1 ,9600,no parity ,one stop bit).
But I am not getting any output from the serial port.As of now... |
Forum: C++ Dec 27th, 2007 |
| Replies: 15 Views: 11,699 I did the same and the wav file played (except that I had to comment the using namespace std to make it work).My task is how to make it run as a normal C file not as a project file.Because I have a... |
Forum: C Dec 27th, 2007 |
| Replies: 14 Views: 8,541 I dont want to use hypertermiaml..I want to have my own standard window where I can send and receive.I want to add more functionality to this and hyperterminal window will not serve that.I am using... |
Forum: C Dec 23rd, 2007 |
| Replies: 14 Views: 8,541 I want to know why the above code i mentioned is getting compiled in TC but not DEV CPP IDE and how to make it run in DEV CPP IDE 4.9.9.2 |
Forum: C Dec 22nd, 2007 |
| Replies: 14 Views: 8,541 I am doing it in windows Xp and I am unable to run that code.Plese tell me a simple program in DEV CPP Ide where I can send and recieve the data through the serial port. |
Forum: C Dec 22nd, 2007 |
| Replies: 14 Views: 8,541 Hello,I am doing a project in which i need to send and receive data from a microcontroller.I was trying to do this in DEV CPP IDE 4.9.9.2 but couldn't succeed till now.The following is the code i... |
Forum: C++ Dec 22nd, 2007 |
| Replies: 15 Views: 11,699 Just remove the "using namespace std" and you will see the code just working fine... :) |