715 Topics

Member Avatar for
Member Avatar for XTRobot

Hi again,first i must say that i am familiar with c++ but only console programming. I am beginner so can you please be more gentle. I want to move on programming with buttons,windows,check boxs,input box and so on,i have heard of API and GUI what is the diference ? They …

Member Avatar for XTRobot
0
282
Member Avatar for Sky_Blue

Hey, I am curious about making an application that will show current printers that are installed on the computer, will be windows XP, and at first returning them back for the user to see in command prompt. Although I am unable to find out how I can check to see …

Member Avatar for Sky_Blue
0
137
Member Avatar for themaster

Does anyone know how to give a GUI look to your C++ "Console Application". I cannot use Win32 API or any other template except the console application because I use Turbo C++ 3.0 IDE for development and I want my Application to be platform independent while using WIN32 API will …

Member Avatar for Ancient Dragon
0
293
Member Avatar for Mijchael

I need to use a webcam for a project where I need to control cam's internal parameters. I know that I can find in the market cameras with some API's, like logitech. For the other side I know I can do something with DShow and Windows Driver Development kit. Someone …

0
71
Member Avatar for mostermand

Hi and sorry for the inconvenience I am trying to make an interface where a function is run given a number(windows API). I want a default function to be run if it hasn't been overwritten by the user. So my question is can i assign a number to a function/method …

Member Avatar for mostermand
0
149
Member Avatar for denis1401

What is the best way to do system wide user mode (NOT KERNEL MODE) api hook on Windows NT?

Member Avatar for MosaicFuneral
0
83
Member Avatar for bilawal420
Member Avatar for bilawal420

Using Windows API's how can i copy to another file and Get different properties of a file (size, type, date created and more). i had done reading and writing file plz someone reply me quickly

Member Avatar for siddhant3s
0
75
Member Avatar for kisky84

Hi all! I'm trying to implement a small program to test an API I've been provided, and since it's my first approach to C++ under Windows, I could use some help. I have this type definition: [CODE=CPP]typedef struct { const WCHAR* streetAddress; const WCHAR* city; const WCHAR* state; const WCHAR* …

Member Avatar for Ancient Dragon
0
177
Member Avatar for BruenorBH

I am new to Win32 API and am having trouble setting up the menu. Here is what I have at the moment (my new way of doing the main.cpp code is from another member) but I cannot understand where to put in the function call for the menu.. main.cpp [code] …

Member Avatar for nucleon
0
166
Member Avatar for axfv

I want to create a file in (drive letter):\Program Files\myprog\file.ext where (drive letter) is the drive letter where windows is installed (or the default drive). Is there an easy Windows API method to retrieve it? Thanks PS, here is what I'm currently using: [code] string mainDrive = ""; foreach (string …

Member Avatar for axfv
0
229
Member Avatar for TheBeast32

Hi, how would I get the temperature and percentage of load for my CPU, GPU, and other things like the hard drive? I'm on Windows XP. Is there something in the Win32 API or what?

Member Avatar for jephthah
0
3K
Member Avatar for timos

Is it possible to use web browser as GUI for C++? Possibly use Google Chrome as GUI instead of windows API. I would rather stay away from learning the windows API mess. I just need to get some inputs from user, and spit out a picture to the screen and …

Member Avatar for ShawnCplus
0
59
Member Avatar for BruenorBH

I am trying to create radio buttons in Dev-C++ using C. I am new to Win32 API programming also. What I have done so far is create the main app window, added textboxes, check boxes and a few radio buttons. The only issue I have now is that You cannot …

Member Avatar for BruenorBH
0
316
Member Avatar for NicAx64

hi I get interested about the PHP module architecture cos I get these errors , [code] Module compiled with module API=20050922, debug=0, thread-safety=1 PHP compiled with module API=20060613, debug=0, thread-safety=1 [/code] when I trying to load the php_ffi.dll inside the windows. How to fix this error ? more than that …

Member Avatar for cwarn23
0
124
Member Avatar for clutchkiller

If I were to work on say an Instant Messenger project, and wrote the gui and event handling using wxWdigets, could I then use the windows API and use winsock to connect the two computers? Basically are API's interchangble in source code?

Member Avatar for Ancient Dragon
0
130
Member Avatar for mikey123

In VS9, when i call the GetTickCount() function, it automatically converts it into the GetTickCount64() function upon compilation. This second function only works on Vista+, and thus my program errors when run on XP. I have tried adding the follow in 'targetver.h', but it did not make a difference: [code=c++]#define …

Member Avatar for mikey123
0
111
Member Avatar for ninadg

Hello, I would like to use a JSP script running on a Linux server, to be able to create a user account on a Windows 2003 server. My query is how do I access the Windows API from a different machine, and how does the JSP script authenticate itself to …

0
47
Member Avatar for nsvanjani

hello programmers is there any win32 api or technique by which we can fetch the address of the active window of explorer(not the internet explorer) please help

Member Avatar for MrSpigot
0
114
Member Avatar for MK12

Ok, so I have a project that I've written in Python(Actually it's not done yet), its the card game "Cheat" that you play in the command prompt with (until I learn wxPython -- GUI for Python) with computer players (or other people with you). I want to distribute it later, …

Member Avatar for MK12
0
172
Member Avatar for BruenorBH

I am sort of new to Win32 API programming with C++ and I am having an issue trying to save what is in the textboxes to a file when you hit the close button. I am using the WriteFile() and CreateFile() functions. Everytime I try to do it I get …

Member Avatar for BruenorBH
0
184
Member Avatar for dattaforit

Dear friends, I want to use the Win32::GuidGen() in my perl script. My Perl version is 5.8.9 and it is on windows(64 bit). For this function, i will require win32::API, for where can i get the win32::API module for windows 64 bit. Please do the needful. Thanks in advance. Regards,

0
47
Member Avatar for siddhant3s

I have read prior post on the forum but I came up with few specific questions about Porting Unix Socket(hereby calling it BSD socket) to Win32 Platform : First of all, I am a native Linux C/C++ Programmer. I program in Ubuntu with GCC. But, I usually also port my …

Member Avatar for siddhant3s
0
1K
Member Avatar for pedza95

I know that it is possible to output and get input from the console without using iostream and it's cout and cin using the Windows API. I don't know how to do this because I'm new to c++ but I know it has something to do with kernel32. Can anyone …

Member Avatar for MosaicFuneral
0
1K
Member Avatar for massivefermion

Hi people Can someone introduce me a website or e-book (but not a book) that explains each windows API function or data type or...one-by-one? thanks

Member Avatar for death_oclock
0
107
Member Avatar for TheBeast32

Hi, I was wondering if there was an alternative to the ShellExecute function of the Windows API; one that is universal on every OS. Is there one?

Member Avatar for death_oclock
0
84
Member Avatar for scru

Several things have led me to writing this post However, late last week I did some poking around in the Windows C API from ctypes (not using pywin32) for a project I was finishing up, and I [I]loved it[/I]! Since then I've been playing around with ctypes and Windows function …

Member Avatar for lllllIllIlllI
0
215
Member Avatar for umen

Hello all i need to be able to modify Microsoft office existing file like or rtf files adding text and misc options to the document and then saving it i don't what to be restricted to windows because most likely the process will be running on Linux . what is …

0
75
Member Avatar for scru

Is there a function in the Windows API I can use to get recent files opened by my application instead of just setting them? (Before you tell me; yes, I know it won't be hard to do myself.)

Member Avatar for Ancient Dragon
0
188
Member Avatar for noodlecode

Ok i have a few questions. I'm fairly new to programming. Im starting to get a little functional with java, i can handle GUI's, threads, exceptions, 2d graphics, JDBC etc. I took a class in C++ only to find that I am not even close to producing graphics or GUI's …

Member Avatar for Freaky_Chris
0
161
Member Avatar for int3grate

Hi all, I'm relatively new to python (I've been writing python code for about half a year now) and I'm trying to figure out how to use "seek" on larger files. I'm doing some work with large hard disk image files, and the raw devices themselves. I need the ability …

Member Avatar for woooee
0
291
Member Avatar for Marks256

Can someone please point me to a good windows api tutorial? The one that i found ([URL]http://www.winprog.org/tutorial/[/URL]) is nice, but it doesn't explain thing nearly enough. It kinda just drops the stuff on the person trying to "learn" it. I was able to follow through the first three sections, and …

Member Avatar for massivefermion
0
180
Member Avatar for DevGeek

hello all, i need some help regarding windows login.i have created an application in C# which replaces the windows-login and which gets username and password from the user to enter the windows. But my problem is that i have done the user authentication through win32 API function "LogonUser()" and it …

Member Avatar for DevGeek
0
2K
Member Avatar for DevGeek

Hello all, i want to login to windows programmatically,if some one had done such kind of thing please do help me.i have authenticate the user with LogonUser() funciton of win32 api and have also placed my application to windows logon by replacing logonui.exe in system32 folder.but i am unable to …

0
89
Member Avatar for Frederick2

Just downloaded VC++ 8.0 Express and tried to run a simple sdk style program to see what happens. I've been using Dev C++, CodeBlocks, and MS VC++ 6. I've been advised to get up to date. Anyway, to get the program to run I had to change all the Api …

Member Avatar for Frederick2
0
134
Member Avatar for Bhoot

I have been working on a program which requires to retrieve the names of all the current windows on the desktop. I can retrieve the name using the Windows API function GetWindowText(). But i require a function to retrieve the handles to all the windows. I want to know which …

Member Avatar for Bhoot
0
251
Member Avatar for myhangel

Hi All, I've read several threads with similar situations and tried to download all programs that have been suggested. Malwarebytes AntiMalware will download but not launch. Any other suggested detection programs, IE comes back with page unavailable. I was finally able to get an spyware search program called Spyware Cease. …

Member Avatar for crunchie
0
346
Member Avatar for walsug

hello, the windows API GetSystemTime() could return the current time by a SYSTEMTIME struct variable,then the windows API SystemTimeToFileTime could change this struct into the form of 100-nanoseconds that ever passed since since January 1, 1601 (UTC),this number is stored in a FILETIME struct which has a high part and …

Member Avatar for walsug
0
149
Member Avatar for spodder

I have a problem with the MoveFile() function of the Win32 API. I cant move files which are in the same directory as the exe file,if i specify the pathname,it dosent work.I dont know how this function works.Need urgent help....... [code] # include<windows.h> # include<iostream.h> int main() { MoveFile("C:\File1.txt","C:\New Folder\File2.txt"); …

Member Avatar for Freaky_Chris
0
139
Member Avatar for amerninja2

Hello. I have been learning C++ for a while now. I know how to create C++ Console applications, and im wondering if theres any good tutorials on using Sockets/Winsock2 in C++ Console apps. Please don't say I should learn Windows API, or MFC, I already know about those, and I …

Member Avatar for MosaicFuneral
-1
223
Member Avatar for bhoot_jb

After using MFC, I felt like throwing it away. I thought to move on to Win32 API programming (I work on Windows platform.) But then, it is all C. I dont say i dont like C, but is there any better OO alternative to MFC for Win32 platform? Or should …

Member Avatar for bhoot_jb
0
161
Member Avatar for f.ben.isaac

To make things easier for cosing in Win32 API, MFC is created which wraps Win32 API in classes. At the beginning i though MFC is there only to aid you making C/C++ GUI Application. For example, CSocket() wraps the function socket(), printf() gets wrapped in another class, and so on. …

Member Avatar for f.ben.isaac
0
244
Member Avatar for awthein

Hi, I have a windows service running in my own service framework. Currently, the service can be stopped by using SCM API by sending SERVICE_CONTROL_STOP control code. What I want to do is that the service will ignore the control code unless there is a registry key set (that will …

Member Avatar for Murtan
0
212
Member Avatar for AndyBT

I suppose this would be an advanced case. I have *at least* two viruses and some rootkits– the go.google virus and the adoginhispen Trojan/downloader. My internet connection is being rerouted through an external IP address. Search engines results redirect me to random web pages. I have upload and download activity …

Member Avatar for AndyBT
0
134
Member Avatar for xlx16

when i wrote the following program in turbo c,the out put was right but when i wroted it in borland c,the out put was wrong and the (*) was printed in wrong place,so what is the problem with borland c for dos.for another example i wrote a program which contained …

Member Avatar for ajay.krish123
0
116
Member Avatar for omaranwar

Hi every one. This is my first Post. I am an electronic engineer and currently enrolled in MS Embedded Systems Engineering. In my project, i have to interface an Altera DE3 board to a windows based PC and achieve a data transfer rate of 100+ Mbps usin USB port. The …

Member Avatar for Nick Evan
0
229
Member Avatar for Tracey33

Hi, Sorry if I post this in wrong section I have just registered. I was alerted that I had a Trojan Virus this morning, and when I did as the alert suggested (delete), my PC automatically closed down and re-booted, now I have an Icon on my PC "delself" and …

Member Avatar for Tracey33
0
162
Member Avatar for f.ben.isaac

I got some newbies questions, i hope to hear from you... Feel free to answer any! I will appreciate it so much if you answer them all :-) 1. Do AV's generally (windows security specifically) trust application written under .NET more than the ones written written under MFC & Win32 …

Member Avatar for ArkM
0
126
Member Avatar for shan_007
Member Avatar for indian143

Hi All, I have to create a directory by using Windows API, can anybody give me small code snippet for this. I am able to do it File System Objet but want to do it by using Win API. Can any body atleast tell me in which class or dll …

Member Avatar for Teme64
0
122

The End.