windows

How can i CloseComm, OpenComm, WriteComm and ReadComm with the windows unit?

I have an old comm unit that uses WinTypes,WinProcs. As i understand these were merged too the Windows unit. Are there similar functions in the Windows unit? ...

How do I calculate amount downloaded by a computer?

Hi I'm currently working on a .NET Cybercafe management program and would like to calculate the amount of data downloaded from the Internet by each computer in the Cybercafe, since users have to pay for their download amount. I believe there has to be some sort of API in Windows to give me this. Where should I look? Thanks everyone. ...

working with system tray

i create a setup file for my window based project. it is working fine. my requirement is when i minimize the window it should come in system tray not in task bar. help me thank u ...

Is Mono really cross-platform?

Official Mono project website says that Mono works successfully on Windows, Linux and Mac OS X. Is that true? I want to build applications which work at least on Windows and Linux. Is it possible with Mono? P.S. I know that similar topics already exist (e.g. http://stackoverflow.com/questions/56013/cross-platform-net), but they may be...

How to set php cron job?

I am using windows server 2003. I set a cron job, open IE explorer and run cron.php file. Basically, what the cron.php does is just send email to my own email address. I set it run every 2 minutes and run for 2 hours. I start the cron services, and I received the first email, but after that, I waited few hours, I am still didn't receiv...

Cross platform COM development ...

COM as we know is language and platform independent standard, but all the time I see only articles on developing COM components on Windows. Could you share your thoughts on how to develop a true cross-platform application. ...

What is $Secure:$SDS:$DATA on Windows?

One of my customers has seen $Secure:$SDS:$DATA show up on their drive and it keeps growing while my app is running. I don't (knowingly) write to this file, and don't use any type of Windows secure storage (which might be related). Kind of stumped... Any thoughts on what this might be? ...

Win32 equivalent of getuid()

Hi.. I'm in the process of porting a C++ library from Linux to Windows, and am having problems with getuid(), which is not supported in Windows. Any ideas what I can use in its place? ...

How do I make my Delphi 5 app display password "blobs"?

Pretty simple one, but I can't find the answer. I'm building an app in Delphi 5 Enterprise, and want my app to use the new bold black dot in a password field instead of an asterisk. How can I do this? ...

Read a single registry key value on a remote machine using python 3

I am having a very tough time achieving this one seemingly very simple goal... I have to gather the value of a single registry key on several machines for the sake of auditing whether the machines scanned need to be patched with newer versions of software. I am only permitted to use python 3 as per our company policy (which is on drugs...

How can I make my C++ code cross platform capable?

How can I make my C++ code cross platform capable? I need it to work on Windows and Xubuntu. ...

System Wide Shell Hook from .NET using Unmanaged DLL

Hello everyone, I have used the code supplied in the following CodeProject article in the past with success, but it only seems to partially work on Vista/7 (I'm guessing because of UAC). It works for the current thread, but it doesn't pick up system wide activity. I've tried adding requireAdministrator in the manifests and signing both ...

Java / J2EE development on Windows 7

I want to buy a new laptop and I am wondering whether Windows 7 64 bits is the right OS for me. I need to work with the following software: MySQL, PostgreSQL Tomcat, Jetty ActiveMQ, JBossMQ Eclipse, Netbeans, Aptana, Tortoise SVN If it’s not the right choice, what else would you recommend? ...

windows + Mac + app

Hi Guys I have written an app for windows and Mac environments i.e I have 2 files -- 1) abc.exe and 2)abc.app which work on windows and Mac respt. Now i want to put these two files into one unit like a jar or tar ball and ship that unit. The unit will also contain a script which should recognize the environment in which the unit is doub...

How do I do a non-blocking IPC read on Windows?

I have a Perl script that uses an external tool (cleartool) to gather information about a list of files. I want to use IPC to avoid spawning a new process for each file: use IPC::Open2; my ($cin, $cout); my $child = open2($cout, $cin, 'cleartool'); Commands that return single-lines work well. e.g. print $cin "describe -short $file\n"...

How do I see the contents of Qt objects during debugging?

Many Qt classes uses pimpl, so they're very opaque to VS's debugger. This is bothersome when I want to check some internal Qt state to see if my code is doing it wrong or if I'm having wrong expectations of how things stand. I'm using the Qt VS add-in (1.1.0), but that doesn't seem to help. Any ideas? Update My autoexp.dat file is ...

Network File Streaming Performance Vista

How can I achieve the best file streaming performance in Vista? My goal is to read a large file (several hundred MB) over the network directly into memory. I've allocated a memory block the same size as the file. This is also my destination buffer. I've tried ReadFile, _read, fread, ifstream::read, and boost::iostreams::mapped_file::con...

Hide console in C system() function, Win.

Hello. I am coding a C program in Dev-C++, and I need to use a couple of Windows (CMD) commands. It is easy, but when the command in the system() function is executed, the program runs the console in the execution. An example: #include <stdio.h> #include <stdlib.h> #include <windows.h> int main() { system("if not exist ...

how to maximize a windows mobile window ?

how to maximize a windows mobile window ? ...

Oracle 10g express home page is not coming up

Hello All: My Oracle 10g Express Edition , I can login in the SQL plus but I cannot login into oracle via SQL developer and cannot view the Home page at link http://127.0.0.1:8080/apex. This was working fine until yesterday. I have checked via (WINDOWS)netstat -ab and no other app is using the 8080 port. The only thing I did today was...