5
голосов
2ответов
325 просмотров

Time limited trial and Windows Certification

If you want to implement a time limited trial for an application you would probably want to leave behind some flag (registry key, file etc) so a program couldn't just be re-installed. Are there any schemes that allow you to do this while still passing the various Windows Certification programs? ...

1
голосов
1ответов
288 просмотров

Can we Change the Value of ComponentsLocation from "Relative" to "HomeSite"?

hii, well i develop a setup.exe(bootstrapper) using GenerateBootstrapper.Bootstrapper to load my msi file after check and installing prerequisites.It perfectly running if i make ComponentsLocation *) either "HomeSite" to download prerequisites from the microsoft and install. *) or "Relative" t...

1
голосов
1ответов
430 просмотров

Active Wait in Windows I/O Driver

Continuing the question in: Keep windows trying to read a file Thanks to accepted answer in that question I realized that keeping windows waiting for data is a driver responsability. As i'm using Dokan, I am be able to look into the driver code. Dokan complete the IRP request with a STATUS_END...

0
голосов
3ответов
504 просмотров

How to work with startup in windows application(.net)

i created a small tool in windows application using (.net language C#). i created setup for my tool and also when we click on minimize button it will be in system tray. My requirement is i want to place my tool in start up (start>All Programs>Start up) when i start my system automatically m...

15
голосов
3ответов
8307 просмотров

Duplicate file descriptor with its own file offset

How can one create a new file descriptor from an existing file descriptor such that the new descriptor does not share the same internal file structure/entry in the file table? Specifically attributes such as file offset (and preferably permissions, sharing and modes) should not be shared between ...

3
голосов
3ответов
4872 просмотров

Oracle 10g express home page is not coming up

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. ...

2
голосов
3ответов
1388 просмотров

how to maximize a windows mobile window?

how to maximize a windows mobile window ?

16
голосов
4ответов
36662 просмотров

Hide console in C system() function, Win

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&g...

1
голосов
1ответов
160 просмотров

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::re...

6
голосов
5ответов
5287 просмотров

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. A...

6
голосов
3ответов
2307 просмотров

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. ...

0
голосов
1ответов
117 просмотров

windows + Mac + app

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 envi...

0
голосов
2ответов
2300 просмотров

System Wide Shell Hook from .NET using Unmanaged DLL

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 ma...

-1
голосов
8ответов
884 просмотров

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.

2
голосов
2ответов
3510 просмотров

Read a single registry key value on a remote machine

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...

0
голосов
1ответов
2860 просмотров

Java: dealing properly with pipes as stdin

I get a weird error ("The process tried to write to a nonexistent pipe.") if I stop reading from piped input, from a program that works fine for non-piped input. How can I avoid causing this error? code: package com.example.test; import java.io.BufferedReader; import java.io.IOException; impor...

4
голосов
6ответов
1722 просмотров

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?

3
голосов
7ответов
7239 просмотров

Win32 equivalent of getuid()

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?

1
голосов
1ответов
3219 просмотров

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?

1
голосов
2ответов
184 просмотров

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.

0
голосов
1ответов
1658 просмотров

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 ...

8
голосов
7ответов
2330 просмотров

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. Cross platform .Net?), but they may...

1
голосов
2ответов
280 просмотров

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

1
голосов
3ответов
325 просмотров

How do I calculate amount downloaded by a computer?

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. Wh...

0
голосов
1ответов
951 просмотров

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?

0
голосов
1ответов
108 просмотров

setup file for window application

I created a setup file. It is working fine, but I want an image for my setup. When I installed the setup in any system I want some images on my setup. Help me, thank u.

1
голосов
2ответов
3357 просмотров

Hudson as service on Windows - file system permissions

For some months we've run Hudson on a Windows XP "server" under a user account. This means someone manually logs in and starts Hudson via a .bat file (that sets up a few environment variables, then runs java -jar hudson.war) However a few recent power cuts have resulted in the requirement to hav...

0
голосов
1ответов
1972 просмотров

Reasons for windows service to stop

I have designed a windows service in C#, which runs continiously and spawns three threads. The first thread runs every 15 sec. The second thread runs every min. And the thirs runs only once. My problem is that this windows service somehow just stops after few days.There is nothing logged in the ...

0
голосов
1ответов
1975 просмотров

Creating a Windows Forms Control (C++)

trying to run this basic form control example on msdn. At step 1 of the portion "To add a custom property to a control" we place the ClickAnywhere code in the public section of the class. First error: "error C2144: syntax error : 'bool' should be preceded by ';'" Is this syntax correct ...

65
голосов
13ответов
119019 просмотров

C++, How to determine if a Windows Process is running?

This is concerning Windows XP processes. I have a process running, let's call it Process1. Process1 creates a new process, Process2, and saves its id. Now, at some point Process1 wants Process2 to do something, so it first needs to make sure that Process2 is still alive and that the user has no...