Search:
Type: Posts; User: c0ldshadow
Search:
Search took 0.03 seconds.
-
September 2nd, 2020, 08:29 PM
Hi, does anyone know how to rewrite these function to work without the inclusion of the header <codecvt> ? If I include include <locale> without <codecvt> code at bottom of this post doesn't...
-
April 24th, 2020, 10:31 AM
I found solution.... i put errorcount instead of groupcount below b/c that tells how many matches not groupcount.... regexbuddy software generates bad/incorrect C++ code
for (int i = 0; i...
-
April 24th, 2020, 09:42 AM
Hi Guys,
I'm having some trouble extracting subgroup patterns from a regex match with PCRE2... sample code below....
#include <iostream>
#include <string>
#include <windows.h>
#include...
-
September 3rd, 2009, 08:52 AM
Hi, I am trying to make a MySQL query that returns the date of the next friday for each line... right now I only have it so it prints the date of the friday after the LAST date value returned in the...
-
April 11th, 2008, 12:58 PM
so basically i could just manually add the network printers to the workstation my program runs on, and then somehow tell my application to print to that printer?
what functions/etc to i need to...
-
April 11th, 2008, 12:45 PM
I would like to be able to print a file to a network printer in C#
i have researched this thoroughly on google but I haven't found a working solution with example code.
my program will...
-
April 8th, 2008, 07:52 PM
Hey fellow gurus, I was wondering how I can go about intercepting data to be printed & pausing the printing.
For example, if a user tries to print something, I would like be able to pause the...
-
Thanks for your help, MikeAThon
So if only one thread is going to be accessing the variable for the IP address, it is safe to use the global variable?
-
sorry i wasn't more specific.
gethostbyaddr is returning zero, i tried adding a message box in there.
my sendingThread function is the IP address passed to it via CreateThread. I think the...
-
Hey guys
Below I have two functions, sendingThread() and listenThread()
These two functions are used in a program that allows a user to either receive files or send files. Two people can use...
-
March 23rd, 2007, 12:12 AM
i have a global variable:
static SOCKET mysock;
My program calls CreateThread() and launches a thread ThreadProc() that causes my application to listen for a connection on a TCP port.
...
-
March 18th, 2007, 12:29 AM
thanks. that was just what i was looking for
-
March 17th, 2007, 11:44 PM
A common problem with windows programs that I see today is that when a user clicks a button to perform a complex task, and the code is not executed in a new thread, the program stops responding when...
-
March 17th, 2007, 11:35 PM
I am writing a program in C++ and want add a button that when clicked opens a dialog box to allow a user to browse for a file
I am using raw C++ and the Win32 API
What functions do I need to...
-
February 2nd, 2007, 10:18 PM
I am working on a program to send and receive files with TCP. The program can either listen for a connection, or try attempting to another computer to send a file.
Does anyone see a problem with...
-
January 30th, 2007, 08:31 AM
Everything appears to be working ok. I know there are lots of more experienced coders than me though, all I'm asking is for tips or potential problems with the functionallity of my regshred function.
-
January 28th, 2007, 03:12 PM
Secure means overwriting data on the disk. This is to make it harder to recover data. This involves the registry, because the data in the registry is stored on hard drive just like any other data....
-
January 27th, 2007, 11:47 PM
I have been working on a static link library with a function to securely remove data from the registry. I was wondering if anyone sees any problems with my code. I am aware that the overwriting...
-
January 23rd, 2007, 01:00 PM
Is this correct now?
int b0=rand();
if(b0>(RAND_MAX-RAND_MAX%256))
{
b0=rand()%256;
}
...
-
January 23rd, 2007, 11:07 AM
for each BYTE should i just do
b0=rand()%256;
b1=rand()%256;
etc?
Thanks for the help as usual, wildfrog.
-
January 23rd, 2007, 10:43 AM
What is the simplest way to generate a random DWORD between 0 and 0xffffffff using rand() and srand()? I am constrained by RAND_MAX otherwise I would just do rand()%(0xffffffff)+1
My guess is that...
-
January 10th, 2007, 11:19 AM
-
January 10th, 2007, 11:08 AM
Is it possible to use auto radio buttons for 2 different areas in the same interface?
I want to be able to have an area like:
option1 option2 option3 (user can check an option here)
other1...
-
December 15th, 2006, 10:36 AM
I'm working on a DLL that has a dcmp32() function to decompress all compressed NTFS files on a drive. My code seems to be working well, but I was wondering if anyone sees any problems. The main thing...
-
December 11th, 2006, 09:35 AM
Calculator, I was going to implement another function to return the contents of megabuffer.
I think I found part of the problem... the program crashes when realloc returns NULL.
something is...
|
Click Here to Expand Forum to Full Width
|