- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 4
- Upvoting Members
- 5
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
59 Posted Topics
// Example program #include <iostream> #include <string> int main() { int i=1; int x; x = ++i + ++i + ++i; std::cout<< x; return 0; } ////////Why am I getting 10 and not 9 ? /* if i starts at 1, increment operator takes precedence so that means 2 3 … | |
I wrote this code : #include <stdio.h> int main() { int a,b = 10,c,d; a = printf("b is %d\n",b); c = printf("a is %d\n",a); d = printf("c is %d\n",c); printf("d is %d\n",d); // lose a null terminator in the previous strings ?? c and d // are 7, but a … | |
Here's what I need to accomplish. So any help on this would be absolutely magnificent. I've programmed in WinAPI32, but for fast development I'm looking to use QT IDE in order to connect to an SQL database. I need to run queries on addresses for stored patience. The address is … | |
Re: OMG this person litterally held my hand through winAPI32 C programming and taught me so much that year to year I looked forward to AD giving me a code fix to my novice programming problems. I miss him already. Rest in peace Melvin, and GOD bless !! :( | |
OK down below where my IDM button is under WM_COMMAND: is my checkbox processing body. Under WM_CREATE is the checkbox being created. The problem is my application always starts with the check box checked, and will NOT let me uncheck it with the mouse. Please help would be great! /********************************************************************/ … | |
Can someone please tell me why when I check one of my boxes, and click the button I get no message box in accordance to which checkbox I checked. #include <windows.h> #include <dos.h> #include <stdlib.h> #include <fstream> using namespace std; #define IDC_MAIN_BUTTON 101 // Button identifier #define IDC_MAIN_EDIT 102 // … | |
**Sure hope your still around Ancient Dragon your a life saver, and a great teacher** What I'm after-->I am trying to send a message to a button on the parent window-- Ok here's my problem. I am trying to automate an install for various applications. For my first automation process. … | |
Ok so this is the code. hEdit=CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "", WS_CHILD|WS_VISIBLE|ES_MULTILINE|ES_AUTOVSCROLL|ES_AUTOHSCROLL, 50, 100, 200, 100, hWnd, (HMENU)IDC_MAIN_EDIT, GetModuleHandle(NULL), NULL); ok so that creates the asset (our edit field to type into). I can use the below code to display what is in the text box in a message box. LPWSTR buffer[256]; … | |
**Ok the problem is this. I have the groups I want added to the administrator, and remote desktop users group on the local machine, and all that works fine. If you hit windowsKey+pause , or right click on "My Computer" and go to advanced settings, remote tab. At the top … | |
in my code for what happens when I click on my MAIN BUTTON runs my function light hack. Inside my lighthack function is a for(;;) {} forever loop. Inside this forever loop is a break when a condition is met. The problem I am having is when I click on … | |
I am currently following tutorials on c# as I am a c++ programmer, and am wanting to see what all the .NET talk is about with c# ;). Here is what I want my program to do. It asks the user to input title, author, subject, and bookID for 3 … | |
Ok the output of this code is Element[0] = 100 Element[0] = 101 Element[0] = 102 Element[0] = 103 Element[0] = 104 Element[0] = 105 Element[0] = 106 Element[0] = 107 Element[0] = 108 Element[9] = 109 its supposed to be Element[0] = 100 Element[1] = 101 Element[2] = 102 … | |
I am used to c++ straight forward winAPI functions, but decided I need to learn c# and this whole .NET stuff since I'm stubborn like that. What I'm wondering is how do I set an HWND ? In c++ I would use something like HWND hwnd1 = FindWindow(0,"Title of the … | |
Ok basically what I am trying to do is this. There is a game and it has an address that changes but always contains the same value. So what I'm trying to do is enumerate from a starting address of this running process in this case 0x0120DE13 and read what … | |
Re: Ancient Dragon * Just wanted to say thank you for still contributing here. You helped me so much in the past (2-3yrs ago) and are a major reason I stay visiting Daniweb. I learned allot from you sir. Your time is very appreciated. Time you help other humans to become … | |
I cannot get the microsoft SDK installed. This is the log file. I'm on windows 7 pro 64bit. I am running Kaspersky Internet Security 2013 if this may be an issue. Any help would be appreciated. 10:29:27 AM Sunday, May 19, 2013: ------------------------------------------------------------------------------------------------- 10:29:27 AM Sunday, May 19, 2013: [SDKSetup:Info] … | |
Is there a simple function that will allow me to output an out file stream to hex from an int. Let me give you an example of what I am trying to do. { ofstream out; out.open("c:\\test.txt"); for(int i = 0; i<20;i++) { out::ios::hex<<i; }; the above code does not … | |
Ok I have the hwnd to a process I am wanting to perform my memory scan on. Here is the problem and why I am making this program. I am looking for address X??????? which contains value 5555 the problem is address X??????? constantly changes when the program is executed. … | |
I am just researched out in frustration. No matter what I do I get an error trying to declare InternetOpen. [CODE] #include <WININET.h> #include <windows.h> int main() { /// Other includes were taken out to keep post small HINTERNET hInternet = InternetOpen( "TestApp", INTERNET_OPEN_TYPE_PROXY, "www.oebelknives.com",0, INTERNET_FLAG_ASYNC ); //HINTERNET FTPOpen = … | |
**2 things needed.** **1.** Ok the customer wants a splash page to play an animation for about 3 seconds, and then load to the home page. I have access to an Adobe CS 6 suite at my work ;). Which tools would easily help me with this? **2.** Also I … ![]() | |
OK I figured after looking at some of my top down style original application that I wanted to make it a bit more classy, and organized as well as simply just use a class to both keep familiar and give me dynamic options. I have ran into problems and cannot … | |
OK im having a problem which I feel should be super easy within windows API gui programming, but I dont know how to go about it the right way. On a givin HWND when a single mouse click is qued and my program recognizes it and my windproc processes it … | |
I am using the free alternative to SPY ++ known as Winspector, and was suggested to start using this to get more familiar with windows and handles and process handles etc... My question here is I notice when I put the crosshair over certain windows I get WINDOWS and a … | |
Ok.. this is actually regarding game hacking, but I wish to gain knowledge from this procedure. Here is the scenario. The game is a server based multiplayer role playing game in basic 2d form. What I want to be able to do is simply manipulate what I see. For example.. … | |
Maybe you can help me here triumph, or anyone else for that matter. I have users running my program on various operating systems, and am running into two common problems. The window\game window my program sends messages to and gets pixels from is an older direct x game coded in … | |
Ok ... I have a handle to a game window in which inside this game my little character picks up items off the ground and drops them onto himself. It is done with drag and drop. I left click down drag the item to the character and release the leftclick … | |
What I am trying to do is simply get a coordinate system in which to run mouse commands in a window I have the handle to. What I am trying to do is macro my mouse. The catch is my mouse pointer has to move along with commands such as … | |
OK... I have a program that runs and sends output to a game window. It is a magic roleplaying game online. I am using getpixel to look for when my energy is down and then I send a double click to my healing potions. All is well and working. This … | |
I have an application in which is compiled on my win32 development machine, but I need this application to be windows 7, 64 bit compatible. How can I do this on my 32bit development machine? | |
I am using the following code and it's working perfectly for windows XP. The game I am creating this for is known as Dransik. What this does is when I my character gets poisoned. My program automatically cures this issue using basic macro's. The problem is my program is not … | |
Ok, I have code that needs to forever loop, and process. My code in the windows procedure has a case WM_LBUTTONDOWN: . I left click on the client area of the window and it processes the code accordingly. Now so that it keeps processing code at the end of the … | |
Ok I have the Hwnd to a particular window I want to work with. Lets call this windows program the "UNWANTED". This UNWANTED window has two things I wish to identify it by. The first one I already have.. which is it's windows handle! Second.. is what I need to … | |
I am programming in windows api, and I am familiar with using the ScreenToClient() function, and passing in a POINT structure variable for LPARAM with the coordinates defined in the point struct to simply send mouse clicks and so forth to the window in which I have the handle to. … | |
Ok I am doing some windows API programming that deals with two applications\windows. One window is my program, the other is a games window. I am building my application to output the coordinates to my applications screen. The coordinates are to be retrieved and are needs to be relative to … | |
Ok here is what I am doing! I got a game that I am hacking\creating auto healing macro. *I am using DEVC++ by BloodShed \ Also have CodeBlocks and Visual c++ *Using windows 32 API framework I understand some basics of windows API, and getting handles, and device contexts and … | |
OK here is what I am after and here is the bumps in the road. I am selling but ONE product, and this ONE product I am selling can be sold in different quantities of course. So after selling this product on the streets of my town to know it's … | |
Re: [code=c++] #include <iostream.h> #include <fstream.h> int main() { /* open the file to read from in this case being your text file*/ char chars[50]; char newline = '\n'; // for the get line function's 3rd argument .. acts as a terminating delimeter. ifstream in("c:\\documents and settings\\your profile name\\desktop\\theNameOftheTXTfile.txt"); while(! in.eof()) … | |
So far no one has been able to tell me why this code is not working, or what I need to do to THIS code to make it work. Can someone simply show using MY code below where the problem is, and why it's not working properly? Problem: I am … | |
I am programming with visual studio express using the Dark GDK libraries, and If I wanted to conceal my hard artwork such as pictures and artwork I developed so that no one could take it from my project directory to play my game how can I compile all of the … | |
Re: HANDS DOWN .. Program with either Allegro, or if you want probably the easiest to learn yet can go to professional commercial developmental levels I would highly suggest DARK GDK. It is simple as pie and there are more than enough resources and tutorials to learn from. Its about as … | |
Ok so heres what I am trying to do to help you understand my question. I am making my WINAPI load hidden so it's not in the taskbar and is only running as a process using ShowWindow(hwnd, SW_HIDE) on case WM_CREATE: Now what I am trying to do is make … | |
Re: #include <iostream> #include <stdlib.h> int main() { const int board=8; const int pop=20; using std::cout; using std::endl; double table[board][board]; int r; int c; system("pause"); // Initialize random number generator. for(r=0; r<pop; r++)//row { for(c=0; c<board; c++) { table[r][c] = rand() % 8 -1 ;// % board-1; } cout << table[r][c] … | |
Re: [QUOTE=n0mi;1072748]can anyone tell me .....how to make c++ program that gives command as output to the robot that connected to usb port....[/QUOTE] Well first your robot would have to been built with a processor, designed with all the proper AND\OR gates IC's for the overall function of the robot itself. … | |
I got this to compile, but it's not popping my Dialog box. The tutorial from [url]www.winprog.org/tutorial[/url] didnt necessarily specify where my AboutDlgProc() is suppose to go ? I assumed it went above the Default but I am unsure... I'm trying to understand why it's not popping my Aboout Dialog when … | |
Compiler: DEV BloodShed C++ (latest release) I am following this windows api tutorial and am at this step [url]http://www.winprog.org/tutorial/menus.html[/url] [CODE] //FILE: resource.h // the below code is in a resource.h file // as stated in the instructions. #define IDR_MYMENU 101 #define IDI_MYICON 201 #define ID_FILE_EXIT 9001 #define ID_STUFF_GO 9002 [/CODE] … | |
Re: If you are familiar with HEX EDITING servers for hacking computers using remote trojans that have been tagged and are detectable by common antiviruses. You can hex edit your remote trojan to not be detected by an antivirus. Without explaining this difficult process I will say Kaspersky is a pain … | |
Ok I am here cramming as much knowledge before this big job interview as I possibly can. Here is what I am trying to peice together most. Ok, so Ive studied HAL's, and more in regards to creating an image. Here is what the job is needing. Someone to create … | |
I am wondering if theres code for removing this software completely, but through code ? It has been a while since I have been working on this type of a project, but now that I am trying I noticed security centers such as norton, and mcafee have changed a bit … | |
Ok.. I use c++ numerous times to stream an output to script's to do further operations. Sometimes I need an email script, and will output one and manipulate the script with c++. As dumb as a question as this is I just want to clear my confusion before I go … | |
Ok, I have noticed that everything I like to do in windows using c++ can easily be done with .vbs scripts. Just to clarify the books I looked into buying to teach me .vbs all mostly talk about vbscripting for html??????????????? Is that what .vbs scripting is usually for .. … |
The End.