Forum: C Feb 12th, 2009 |
| Replies: 13 Views: 2,131 Hi Prabakar,
What I've found out is GetDesktopWindow() works a bit different in Vista: it does not accept the directory info in the third parameter. So you have to indicate the directory in the... |
Forum: C Feb 11th, 2009 |
| Replies: 13 Views: 2,131 Hey Prabakar,
You mentioned you use a portable reader. Maybe this is a solution, where do I get it?
I've googled it and found so many different options... is there one from Adobe?
Thanks! |
Forum: C Feb 11th, 2009 |
| Replies: 13 Views: 2,131 Well.... I was too quick to celebrate...
It works fine in Win XP, but not on Vista.... oh well...
I wonder why!! |
Forum: C Feb 11th, 2009 |
| Replies: 13 Views: 2,131 THANK YOU!!!
Thank you VERY MUCH!
You saved my day!!!
Thanks!
All the Best! |
Forum: C Feb 9th, 2009 |
| Replies: 13 Views: 2,131 Well, so far I've not succeeded in making it work.
It is very easy to get the righ result when you open PDF files in a web browser: all you have to do is follow the PDF file name with the #page=n... |
Forum: C Feb 6th, 2009 |
| Replies: 13 Views: 2,131 Hi!
I'm using a C program to open PDF files with this code:
ShellExecute(GetDesktopWindow(), "open", "c:\\someFolder\\myFile.pdf", NULL, NULL, SW_SHOWNORMAL);
Now I need to go furthrer; I... |
Forum: C Feb 6th, 2009 |
| Replies: 4 Views: 408 Great! Actually, there is:
Toos->Compiler Options->Settings->Links->Do not create a console windows->Yes.
Thank you. |
Forum: C Feb 6th, 2009 |
| Replies: 4 Views: 408 You're right. Actually my original file did have different letters after the slash ahd DID work. Anyway thanks for the tip.
I will ask this in a different way. Forget Windows. How do I get... |
Forum: C Feb 6th, 2009 |
| Replies: 4 Views: 408 Hello there!
I need to open PDF files from a C program. So, initially I have this solution:
ShellExecute(GetDesktopWindow(), "open", "c:\somefolder\myFile.pdf", NULL, NULL, SW_SHOWNORMAL);
... |
Forum: C Sep 28th, 2008 |
| Replies: 4 Views: 7,589 Hello there!
How can I convert an INT value into a string?
I used the itoa function successfully in Windows:
itoa(the_int_number, the_string, 10);
It worked fine in Windows (DevC++) but... |
Forum: C Sep 14th, 2008 |
| Replies: 2 Views: 560 Indeed!
Solved the problem.
I specified the array dimensions and things worked perfeclty.
This is what happens when you stop working with a language for some time and delve into another one.... |
Forum: C Sep 13th, 2008 |
| Replies: 2 Views: 560 Hello there!
I wrote a small program in C on Windows using DevC++. It works perfectly, but when I try to run it on Linux I get compiler erros at these lines:
void printOctets(int octets[][],... |
Forum: C Aug 26th, 2008 |
| Replies: 5 Views: 976 Hello there!
I've built a simple server and a simple client in C (Linux).
Among other tasks, I need the server to send the timestamp (using time.h) to the client.
Then I need the client to... |