I have a dll in which I create a Popup Window. In the code for
creating the window I must supply an HINSTANCE to both the
WNDCLASS definition and in the call to CreateWindow().
I am not ...
Hi all,
I have a Win32 (MFC) application that serves as an interface to time-consuming scientific computation. Currently I have the main interface thread start the scientific computation in a...
I have a text file that has computer names
I need a Script that will run against each computer and reset the Local administrator passworf of each computer.
I would like to make sure that th...
I am trying to catch an integer overflow becuase my program adds up a bunch of large numbers with a potential for overflow. I read through the SEH docs/examples and I wrote up a simple test p...
We have an application that is known to be running with administrator privileges. It calls CreateProcess() to start a few other processes. We want all these other processes to start with adm...
How would I do a Post request using the WinInit APIs in VB6? I see from MS msdn that its possible but I'm not great at APIs, buffers and such.
I'm using the VB6 sample here for WinInit APIs...
I would like to avoid calling GetProcAddress, so I decided to use a static library instead. Somewhere in my projet, I have the following declarations:
extern "C" NTSYSAPI NTSTATUS NTAPI NtQ...
I want to intercept an API function call. I am writing a TCP/IP tunneling program and need to intercept all calls to winsock32.dll and then make those calls from with in my program. I do not...
I need to create a batch file that will ping in excess of 25 IP addresses and generate output to a .txt file. I'm sure this is a nice easy one for someboy to answer. I have already tried run...
My waitforsingleobject always results in a timeout and i am unable to figure out why.. Please look at my code below..
i have a read file call .that gets called as soon as i receive a charact...
Hello,
Which API supports Visual C++ 6.0 for parallel C/C++ programming?
Development environment must be:
- Windows xP Pro or xP x64 Pro
- VC++ 6.0 or, alternatively, Borland Builder C++...
Are there any Windows XP utilities or free programs that list activities on ports? e.g., if I start a server listening on port 2000, how do I see that?
Hello,
I created a batch file with following code:
@echo off
:START
set ERRORLEVEL=
ECHO 1. Change time
ECHO 2. List the user with admin rights
ECHO 3. Add adminrights for user in d...
I have a .msi file which I believe is nothing more than VBscript. I want to look at the source. Is there any possible way to do this or is it impossible?
Hi,
What have I done:
I've adapted and tested the code from http://www.vbforums.com/archive/index.php/t-422460.html and it works fine in the sub main of a console application.
Then I w...
In windows, you can adjust the treble and bass of your sound via the system tray icon and selecting advanced controls.
How can I get/set this value in my own program?
thanks
--chikem
LINK : fatal error LNK1104: cannot open file 'C:\Program.obj'
i have been getting this error for a while. I have mentioned all the libraries and directories required in the project properti...
I am looking for a 32-bit CRC implmentation (in C++ or C#) to implement the polynomial 0x04c11db7. It is to be used to calculate the CRC for a stream of bytes (or unsigned chars). I am develo...
Hi, please forgive and point me in the right direction if this is not the appropriate place to ask this question:
I have re-installed some 3rd party software since instally xp sp2.
Softwar...
I have written some basic code to install a simple keyboard hook that is thread specific and not a sytem wide hook.
THis code is shown below but doesn't work. It compiles and runs fine, bu...
I want to obtain the time difference between 2 SYSTEMTIME variables. I'm recommended to convert them to ULARGE_INTEGER before doing subtraction. But I don't know how to do ULARGE_INTEGER arith...
I am using Borland C++ Builder 1.0 to write an application that needs to monitor an Excel spreadshhet. I have coded and tested a DDE server for test purposes to chek my application and it work...
Using Visual SourceSafe Version 8.0.50727.42..
I'd like to know how to locate files that have changed since a particular label was applied.
I am looking into writing a Disclaimer program, that will be called up via a logon script, that asks the user to Agree to it and if they do, it logs on and if they disagree it will log them of...
I am attempting to create a driver for a virtual device which will attach to a Com port. It's using IoGetDeviceObjectPointer to get the com port device object to pass requests on to. I've cr...