715 Topics

Member Avatar for
Member Avatar for sss93

Ive just started going through and developing basic applications using the win32 API, and couple of times I have come across people mentioning that directly using win32 is not wise...I've just started using the library and personally think its nice and easy to use. However Ive been seeing things like …

Member Avatar for deceptikon
0
240
Member Avatar for sss93

Hey so for a couple of months now Ive been facinated with c++ and have been going through various tutorials and examples of creating console based applications dealing with arrays,pointers, classes, etc.So I really want to get into the GUI side of it. But from word of mouth I hear …

Member Avatar for mike_2000_17
0
386
Member Avatar for Aia

Self-teaching Java, I am following a video tutorial about simple windows. Encountered a warning error using the example provided in the tutorial. Here's the piece of code. [CODE=Java]import java.awt.Frame; import java.awt.Label; import java.awt.AWTEvent; import java.awt.event.WindowEvent; public class HowdyByeWindow extends Frame { public static void main( String[] args ) { new …

Member Avatar for flash901
0
941
Member Avatar for Abhineet.Ayan

Hi All, I am somewhat confused about how to put this before you, so pardon me if it creates confusion in your head. **Requirement**:: To write a removal Tool for a Software. **Language**:: C (preferred), C++ (Will do), Windows API (Will also do) **Problem**:: The problem is where and how …

Member Avatar for WaltP
0
215
Member Avatar for kanonno.earhart.56

Hi guys! I'm not computer savvy and need your help and suggestions. And what do you think about my PC? Is it like really old? CPU-Z TXT Report ------------------------------------------------------------------------- Binaries ------------------------------------------------------------------------- CPU-Z version 1.61.2 Processors ------------------------------------------------------------------------- Number of processors 1 Number of threads 2 APICs ------------------------------------------------------------------------- Processor 0 -- Core …

Member Avatar for caperjack
0
374
Member Avatar for WolfShield

Hello everyone, I am working my way through the Forger's Win32 tutorial and am on the "Creating a Simple Application" part currently. I am using C++ (instead of C in the tutorial) and the WinGW compiler. When I compile the below code I get this error: main.cpp: In function 'LRESULT …

Member Avatar for ravenous
0
584
Member Avatar for complete

How does one write code to make drawings in the Windows main client area of a Win32 C++ app? I found an example online that uses the "eclipse" API but when I put it in my program, the IDE complained so it would not compile.

Member Avatar for Ancient Dragon
0
80
Member Avatar for jajack007

i have code for two place finder and direction drow in google map bt what i want when i click on any or both place marker and move that marker and leave that time i want the direction will be attached to anothe rmarker automatically and give direction correct. i …

0
73
Member Avatar for jajack007

Please help me out for this ill paste the code i want to move the markers in this code thnx in adv <%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs" Inherits="DesktopModules_Date_Time_WebUserControl" %> <link rel="stylesheet" type="text/css" media="screen" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css"> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <script type="text/javascript"> var location1; var location2; var address1; var address2; var latlng; var …

0
57
Member Avatar for FVphotography

Hi Everybody, i would like to develop an application, that can connect to mobile devices. In my case it is a MDE 3090 with Windows CE5 (http://www.ics-ident.de/ICS-Produkte/IT-Logistik-Systeme/Motorola-MC3090,49,96,69.html). What motivates me? I got to reset and re-install the MDE and you have to pay a lot of attention, which folder you …

0
186
Member Avatar for bearsomg

Hello, I am currently building a rendering engine in native C++ using Direct3D 10 and the Win32 API. The engine will have 2 separate windows, one being the rendering window and the other being a control window which is used to load models, animaitons, etc. It is also used to …

0
100
Member Avatar for ktsangop

Hi everybody! I am having some trouble running a detached process using CreateProcess function in C++. I have been using the following function to spawn processes in c++ for years now havnig no trouble. I have used it with console applications, mfc apps, dialog based ... etc : StartProc(char *callprogram, …

Member Avatar for ktsangop
0
825
Member Avatar for grvs

Hi I tried creating sftp server using OpenSSH and I get some errors. First I tried on Microsoft Windows Server 2003, R2, SP1 and then on Windows XP Professional, SP2 and the error is same. Installation went smoothly on both the OS (after a few complications, see note at bottom), …

Member Avatar for swapnakishore.p
0
400
Member Avatar for HTMLperson5

Well, as you might know, when you are attempting to run a script from poweshell and have not used: Get-ExecutionPolicy You will get File C:\scripts\test.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get- help about_signing" for more details. At line:1 char:19 + …

Member Avatar for khansen46
0
4K
Member Avatar for maurices5000

I'm just trying to get a bit more understanding about what seems to be to me a contradiction in the C# Pro book i bought. The book says >In simple terms,** a process is a running program**. However, formally speaking, a process is an operating system level concept used to …

0
139
Member Avatar for Cameron1012

Hey guys, so I was wondering if something is wrong with my PCI Express Card. I did the CPU-Z scan or whatever, and it says I have a PCI Express Card, but it also says the Link Width is x0 and the Max. Supported is x0. Is there something wrong …

Member Avatar for bnuppp
0
412
Member Avatar for DJWK

# Can You Program like McGee in NCIS # I was watching a NCIS rerun and started to wonder about McGee's superhuman programming skills. He sat down in front of a random computer in a suspects house, and yet again, within two to three seconds he hacked the system. This …

Member Avatar for MrUpsetter
0
258
Member Avatar for mr3army

Hi Trying to login to google accounts this is the code that I created but I get this error: Your browsers cookie functionality is turned off. Please turn it on. I dont want to use there api too as this is a learning for me thought I had it nailed …

Member Avatar for mr3army
0
206
Member Avatar for dorinpaunescu

Hi all ! I tried a lot of time to find something useful to get disk and network usage (separately) for a Windows process. Actualy I make use of [Windows Performance Counters](http://msdn.microsoft.com/en-us/library/windows/desktop/aa373083(v=vs.85).aspx) but it can't provide separated statistics, it provide me all IO activity. A disadvantage in Performance Counters are …

0
46
Member Avatar for cool_zephyr

hello everyone..i'm trying to create a simple window using Win API in visual studio 2010 using the code below #include <Windows.h> LPCTSTR g_lptstrClassName="myWindowClass"; LRESULT CALLBACK WndProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam) { switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hwnd,msg,wParam,lParam); } return 0; } int WINAPI …

Member Avatar for adityatandon
0
584
Member Avatar for citizen5

Small part of my code: `GetWindowThreadProcessId(hWnd, &dwID);` `hProcess = OpenProcess(PROCESS_ALL_ACCESS, NULL, dwID);` `string value =" [_this] exec \"\\newfolder\\scripts\\start.sqf\"";` `WriteProcessMemory(hProcess, (LPVOID) 0x09BA3F95, (LPVOID) &value, sizeof(&value), NULL);` I am 100 % sure it has to do with my `value` being a `string` but I haven't found anything helpful elsewhere, even though I've …

Member Avatar for citizen5
0
515
Member Avatar for iismitch55

I have been messing around with making a windows application in Dev-C++ I wanted to make it in a single source file, rather than a project to see if it worked. It did, other than the fact that I got the windows app, AND a DOS prompt behind it. Is …

Member Avatar for adityatandon
1
11K
Member Avatar for Labdabeta

I used to use a tutorial for windows console API, but the website was taken down :(. So now I need to ask how to do these things (which ALL were included on the website) in the console with windows API: * Mouse events (clicks and unclicks) * Cursor seeking …

Member Avatar for Labdabeta
0
200
Member Avatar for petzoldt01

Looking for some advice from a Windows perspective. Hopefully someone can relate, or at least understands what I am trying to accomplish (keep in mind the "path of least resistance"). I am open to multiple suggestions and paradigms, just try to sugar coat if you can :) I know something …

0
90
Member Avatar for nuclear

Maybe I'm just missing something but I was thinking what do you call something like a Windows Form Application in Visual Studio where you can drag and drop and stuff like that. Do you call that an API or SDK or GUI or something else? By the way, as I …

Member Avatar for mike_2000_17
0
246
Member Avatar for JQadrad

Hey all, I am working on a project with an FPGA but I need serial communication between the FPGA and the desktop since the memory of the FPGA is limited and I need to be able to send longer inputs to the FPGA by using buffers on the desktop. After …

0
175
Member Avatar for Rasool Ahmed

Hi gueys, I have question searched in google but without something that can help. **How to get the binary stream from files ( especially executable files) using winapi (CreateFile , etc)????** I learned in these days how to read write files using Createfile, ReadFile, WriteFile , etc and all these …

Member Avatar for Nick Evan
0
2K
Member Avatar for vergil1983

I have this sample of API code, i'm trying to embed my form into it. This code is in php. Below is the sample API code ----------------------------------------------------------------------------------- <?php echo(get_sentiment_rank_text("We like sharing our service with you. We hope you enjoy it as well.")); function get_sentiment_rank_text($content) { //get the sentiment scoring info …

Member Avatar for vergil1983
0
128
Member Avatar for stevo7624

I am new to Powershell and I am trying to get an understanding of it through borrowing script and making it work for my system. I have a script that I thought would take files from a target folder and zip them into a destination folder. It is creating zip …

Member Avatar for stevo7624
0
292
Member Avatar for HWK1982

hi everybody my problem is when i set timer for ftp to send me a file , the keylogger doesn't log or save any text in log file , i face this problem just when i set timer for ftp otherwise it work fine i mean without timer i set …

Member Avatar for triumphost
0
669
Member Avatar for Basteon

Is it possible to develop Win32 C++ applications under a Linux distribution? If it is then how do I do this? I know about Virtual machines, but I'm looking for something that wouldn't require to emulate a whole OS.

Member Avatar for jbennet
0
421
Member Avatar for Abhineet.Ayan

Hi All, Why my QueueUserWorkItem is not at all working. My code is here: [CODE] typedef struct { PCHAR URL[MAX_URL] ; PCHAR DestinationPath ; }MAINDATA, *PMAINDATA ; int main(int argc, char * argv[]) { PMAINDATA pData ; BOOL bQuwi ; DWORD dwIndex ; PCHAR pURL ; pData = (PMAINDATA)malloc(sizeof(MAINDATA)) ; …

Member Avatar for DeanMSands3
0
642
Member Avatar for MarcusMaximus

Hi. I'm new to python. First off I'd like some advice on where to find modules for python that I can trust don't do anything malicious. There seems to be a lot of modules availible for python but how do I know that they only do what they advertise they …

Member Avatar for MarcusMaximus
0
286
Member Avatar for predator78

Hello all.... Sorry if this is extremely simple and stupid but I was taking a look at the Forgers32 manuals just to have a poke at the win32 api. I was able to get his first example working to pop up a basic window but for some reason the title …

Member Avatar for jbennet
0
233
Member Avatar for stephen_UK

Hi, I am very much a js novice, and trying to follow a tutorial that plots markers on top of Ordnance Survey map. The code used works in part by loading the map, but the markers it loads from a locations_complete.xml file do not show, and no error message is …

Member Avatar for stephen_UK
0
232
Member Avatar for rushikesh jadha

when i run my code using IDE it run fine but when i run it using command prompt it show following errors Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Administrator>cd\ C:\>cd bank2 C:\bank2>javac *.java CurrentTransaction.java:2: error: package com.mysql.jdbc does not exist import com.mysql.jdbc.Connection; ^ CurrentTransaction.java:3: …

Member Avatar for rushikesh jadha
0
264
Member Avatar for LdaXy

back again with another question. i created a simple window in WIN32 mode, but it's giving me a linker error that i cannot isolate. [CODE]#include <windows.h> #include <tchar.h> #include <stdio.h> //defined this for all processes HINSTANCE hInstance; LRESULT CALLBACK WinProc(HWND hWnd, UINT msg, LPARAM lParam, WPARAM wParam); //WndProc Prototype. always …

Member Avatar for zazacofi
0
237
Member Avatar for C++ programmer

Hey guys, Recently I started learning win32 api using C but I am pretty scared of the Long and confusing Variables used in it. It appears alot difficult for me to learn those as I am learning myself. Will such kinds of variables will appear in future or not. Thanks. …

Member Avatar for thines01
0
254
Member Avatar for Clinton Portis

Fun game for the raging compulsive alchoholic gambler, such as myself. Although the game may vary among casinos, the basic premise is the user picks 10 numbers out of 80. The computer will randomly draw 20 numbers out of 80. If you matched with any of the computer picks, you …

Member Avatar for PrimePackster
0
1K
Member Avatar for J0hn30

Hello. I'm trying to create a software in VB.Net to disable the following from a Windows 7 pc. - Cut, copy, paste, rename, delete, open, print, share, create shortcut, open with, send to, properties. I want to give users the option of disabling them selectively/individually via checkboxes so those options …

Member Avatar for J0hn30
0
2K
Member Avatar for dbwalters67

Hello, I am using Visual Studio 2008 to create a program that utilizes Window's API to interact with a window that pops up on an external program. I am trying to populate a ListBox with particular text using LB_ADDSTRING & LB_SETITEMDATA but I am not having any luck in doing …

Member Avatar for dbwalters67
0
319
Member Avatar for stay_alive

Well hello, i'm about to start my little app. The only task i want it to perform is a left mouse click on a button on the browser, IE, Firefox, Safari... I wonder if this can be done as the click will be performed outside the program window or frame. …

Member Avatar for peter_budo
0
2K
Member Avatar for gfp91

hi. im programming a 2d game and on the university computers it runs nice and slow but on my i7 laptop the ball travels at a million miles per hour. how can i restrict the speed/fps.

Member Avatar for gfp91
0
121
Member Avatar for gfp91

hi all i am trying to make a pause in a 2d game on C++ im going to use a message box with answers yes and no..yes to continue and no for main menue. how do i make unsighned short w = the answer to textbox? ps i tried using …

Member Avatar for MandrewP
0
132
Member Avatar for naraayanan

Hi, I am new for C++ Program.I created a Exe using VC++.error message will occur when i run that exe(Ctrl+F5).The following error message will occur when exe run. [B]The thread 0x6CC has exited with code 0 (0x0). The thread 0xB10 has exited with code -1073741819 (0xC0000005). no matching symbolic information …

Member Avatar for Narue
0
172
Member Avatar for paulmcco

Hello, I have what seems to be a very common problem but after doing much research and trying to fix myself, I am unable to resolve the issue. I receive the following error when compiling my win32, directx 9 program: e:\...\game.cpp(228) : fatal error C1004: unexpected end-of-file found I receive …

Member Avatar for nezachem
0
439
Member Avatar for Ant70

Hi, I’m having difficulty with the GetForegroundWindow() API function and the .hWnd property. I want to check whether my application has the focus in the Windows environment and if it does, prevent an automatic time-out. I’m trying to do this by comparing the handle of the window that has the …

Member Avatar for Ant70
0
1K
Member Avatar for harvybcn

I have a Win32 Application in C++. At runtime, It loads a Matrix stored as TXT file in the working directory with I/O functions. I have problems to distribute my program (EXE and DLL) because people normally forget to move the text files together with the Application. How can I …

Member Avatar for alexb119
0
2K
Member Avatar for Raouldukey

I am writing a program to control other applications that are running. Essentially an automation UI program. I am using a combination of AutoIt and basic windows API calls (sendcommand). I am able to do almost everything that I need (read/write textboxes, labels, click buttons/checkboxes/radiobuttons) However, I cannot seem to …

0
120
Member Avatar for DavidKroukamp

For now the code isn't to complex. Built in Netbeans 7 java 6.... just the basis for now but its very safe connection so thought i'd post it for anyone who needs it. A quit command may be sent to any client by specifying its ID and then press enter …

0
433

The End.