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

20 Posted Topics

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
200
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
269
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
719
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
117
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
271
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
88
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
152
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
99
Member Avatar for aksshe10

sorry buddy, but i cannot understand a word you are saying. from this bit: [QUOTE]exe in which u enter the password the if decrypts it self i want something like that. A program that can modify, create and execute an exe[/QUOTE] i think you mean a program which packs and …

Member Avatar for aksshe10
0
186
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
79
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
600
Member Avatar for viper34j

why not c++, it can do (essentially) anything and fulfills all your requirements, except for the self-defeating "the language is not c++" one. what exactly do you not like about it? asm is quite useful as long as you are up for a challenge.

Member Avatar for Intrade
0
215
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
104
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
690
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
70
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
469
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
259
Member Avatar for cipherbeale

ok i am writing the same thing so i will point you in the right direction.. XOR encryption is the simplest it gets. for each bit of the data file, you xor it against each bit of the key, scambling the file. Be warned that this can be cracked in …

Member Avatar for shea279
0
109

The End.