Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
Member Avatar for shea279

OK so I'm using the function SetDlgItemText() to change the text in a static text control of my window. Problem is, when it updates from a longer string to a shorter string ("Sup Y'all" -> "Hi"), the previous, longer string persists leaving "Hip Y'all". However, remaining bit of the old …

Member Avatar for Дмитрий_5
0
197
Member Avatar for shea279

k so essentially have this code [CODE]HINTERNET hInternet; HINTERNET hFtpSession; hInternet = InternetOpen(NULL,INTERNET_OPEN_TYPE_DIRECT,NULL,NULL,0); hFtpSession = InternetConnect(hInternet, "ftp.freetzi.com", INTERNET_DEFAULT_FTP_PORT, "myuser.freetzi.com", "mypassword", INTERNET_SERVICE_FTP, 0, 0); FtpPutFile(hFtpSession, "C:\\log.txt", "mylog.txt", FTP_TRANSFER_TYPE_BINARY, 0); if(FtpPutFile(hFtpSession, "C:\\log.txt", "mylog.txt", FTP_TRANSFER_TYPE_BINARY, 0)){ MessageBox(NULL, "Successfully uploaded log to ftp server!", "Ftp Upload", NULL); }else{ MessageBox(NULL, "Couldn't upload log to ftp …

Member Avatar for mohd_1
0
1K
Member Avatar for shea279

anybody know how to read the first 30 seconds of an mp3 file using php, as a preview version of the original mp3?

Member Avatar for stwalcher
0
253
Member Avatar for shea279

OK, so I just fresh installed Windows 7, and after it reboots (like twice) as part of the installation process, it prompted for my username, update settings, time zone, etc. Then every time after that, when it boots up, it can't get past the glowing windows logo. It just sits …

Member Avatar for kaninelupus
0
701
Member Avatar for shea279

so, I have a program that uses a keyboard hook, but starts it in another thread so that it can continue executing. The problem is, the only way I have to stop the mouse hook right now is to just kill the thread using TerminateThread(). However, this does not enable …

Member Avatar for shea279
0
113
Member Avatar for shea279

OK so how can i have sscanf scan a string with an undetermined number of separators in it, then separate it out into separate strings inside a array of strings. So essentially, how can I modify this code to make it work? [CODE=c++] char * commands; //simple string as pointer …

Member Avatar for shea279
0
2K
Member Avatar for shea279

Could anyone recommend some higher-level c++ programming classes that are either online, or local in Austin, TX, that a 16 year old can enroll in? All my school offers is basic java, and ive tried the University of Phoenix online, but 16 is below their enrollment age.

Member Avatar for John A
0
266
Member Avatar for shea279

I created a dialogbox, with controls, by using the DialogBox() function and a resource file with the controls in it (IDD_DIALOG1). But I'm having an extremely hard time finding a function which will add a menu, also in the resource file, to a dialog created in such a way (IDR_MENU1). …

Member Avatar for shea279
0
86
Member Avatar for shea279

I'm looking for some sample code which would demonstrate AES encryption using SHA 256 as the hash. 1 or two .cpp or .h files would be appreciated, I prefer not to mess with huge libraries or folders of unnecessary headers. I looked on google and found a semi-functional AES example, …

Member Avatar for ArkM
0
146
Member Avatar for shea279

OK, I put together some sample code from Paypal's api, that should complete a payment and notify me with IPN. For some reason it is not working. I tested it with sandbox.paypal.com's IPN tester, and that worked. (if it works, it is supposed to write all post variables to ipn.html) …

0
97
Member Avatar for aksshe10

i have created an exe which shows a message but the problem is i want to create another program from which a person can enter his name, choose destination and click create after clicking create a new exe if made in the location he chose which has the name he …

Member Avatar for aksshe10
0
173
Member Avatar for shea279

I'm looking for a Windows variable (accessible in c++) that contains the path to a user's my documents folder in XP, but the folder above that in vista. SO in XP: C:\Documents and Settings\Tom\My Documents Vista: C:\Users\Tom It is a program (AIM specifically), which uses this variable the directory and …

Member Avatar for shea279
0
76
Member Avatar for shea279

I cannot run my application on another computer when I compile it in VS2008. Error: "This application has failed to start because the application configuration is incorrect." and I have define WINVER to be 0x0400, and it is compiling in release mode. and this is NOT .net

Member Avatar for Ancient Dragon
0
594
Member Avatar for viper34j

I'm an experienced web developer in the confines of a .net environment. I'll looking to start working on a desktop application, but I'd like to steer away from .net. The programming language should meet the following criteria: - High level Object Oriented (higher than C, more like C#) - Not …

Member Avatar for Intrade
0
209
Member Avatar for shea279

Does anyone know how to use let the user define a custom hotkey with the control IDC_HOTKEY, then register it on a system wide scale, so it sends a message back to the application when its pressed? And I have googled, without much luck.

Member Avatar for shea279
0
98
Member Avatar for shea279

does anyone have a function laying around to secure delete a file from the hard disc with X passes of random data? ive been trying to find this code forever on google, and everything I have found has just been skimpy .NET programs

Member Avatar for ArkM
0
678
Member Avatar for shea279

Anybody know a good disassembler or general tool to convert an exe into a shellcode array? I don't really know what catagory this would fit in, but this seems the closest..

0
67
Member Avatar for shea279

ok so i have some code that works perfectly with visual studio 2003, but when i move it into my project which is using visual studio 2008, the compiler spits out 9 errors. compiler output: [CODE]1>Compiling... 1>main.cpp 1>.\main.cpp(3) : error C2011: '_STORAGE_QUERY_TYPE' : 'enum' type redefinition 1> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winioctl.h(641) …

Member Avatar for greg022549
0
458
Member Avatar for shea279

ok, so i essentially have a .c file from anubis' process injection code, that i need converted to c++, which is the format of the rest of my product. on compiling, i am getting one annoying error error (when i compile as a .cpp file): [CODE]1>.\inject.cpp(27) : error C2440: '=' …

Member Avatar for shea279
0
257
Member Avatar for cipherbeale

Hello, I am a newbie to programing but I seem to be getting the hang of things. I am trying to create an plain text encription program that inputs the cipher key and encription text to be accepted via either comma deliminated txt or excel file. I have my program …

Member Avatar for shea279
0
105