715 Topics

Member Avatar for
Member Avatar for Bob Jacobs

Easy really..just copy setvolumelabel from the windows API. Works fine but does not seem to want to change C: drive. Any ideas?

Member Avatar for debasisdas
0
51
Member Avatar for murderotica

Hello there, been researching and doing some Windows Service development these days. I want to take my learning in to a higher level, I want to make a simple windows service that listens all the time and detects if a usb is plugged. What API should I use? Any suggestions …

Member Avatar for selvaganapathy
0
180
Member Avatar for sarriss2

im using pure API on Vista, also im experimenting with the DWM(desktop window manager) for the glass effects including extending it into the client area like windows media player (lol just for fun mind) and im having a problem with drawing buttons ontop of the glass, it appers the when …

Member Avatar for sarriss2
0
223
Member Avatar for mybluehair2

I have a console game (DOS game) I created a wile ago to learn C++. But now I want to expand this game. So I started reading windows API tutorials. But I still need some help. I have no idea how to create buttons, and how to make something happen …

Member Avatar for marco93
0
119
Member Avatar for Sergei82

The problem: I have an executable and mylib.dll (C# class library) in the same directory. I have a subdirectory "Patch" in that directory containing another version of that mylib.dll. I need to make a sample application somehow that loads the first dll, than frees it (like LoadLibrary and FreeLibrary in …

Member Avatar for Sergei82
0
145
Member Avatar for paolomontero

Hello, Does anyone know which GDI API is called to draw menus and menu items on windows? I know its not DrawText, DrawTextEx, TextOut or ExtTextOut.

Member Avatar for marco93
0
139
Member Avatar for Himanshu1984

hi, I am developing an application in Windows CE platform is Windows Ce .net 4.2. i need to play media file through C code, i have managed to play media file in win32 through "system" command but this command is not available for Windows CE, i have tried CreateProcess function …

Member Avatar for Himanshu1984
0
283
Member Avatar for Himanshu1984

hi, I am developing an application in Windows CE platform is Windows Ce .net 4.2. i need to play media file through C code, i have managed to play media file in win32 through "system" command but this command is not available for Windows CE, i have tried CreateProcess function …

0
67
Member Avatar for BradenMurphy

Hey again. just want to know how to create a query such as an insert query with MS access and C++. this is the code im using to connect to the database and im using Dev C++ [CODE=syntax]#include <windows.h> #include <stdio.h> #include <string.h> #include <odbcinst.h> #include <sql.h> #include <sqlext.h> #include …

0
96
Member Avatar for BradenMurphy

Hi i've got a problem. I keep getting this awesome error "[Build Error] [Project1.exe] Error 1" I copied this source code from [url]http://www.daniweb.com/forums/thread56924.html[/url] I just can't seem to get it to work. can someone pls help [CODE]#include <windows.h> #include <stdio.h> #include <string.h> #include <odbcinst.h> #include <sql.h> #include <sqlext.h> #include <sqltypes.h> …

Member Avatar for BradenMurphy
0
332
Member Avatar for nanodano

I'm writing a Win32 application for Windows XP with Visual Studio 2005. It is a console program, and I'm trying to find the HWND attribute of my console. I need this because I need to use it as a parameter for a function. So, thanks to the MSDN library I …

Member Avatar for lenhattien
0
535
Member Avatar for wfhuang

I am writing a Webservice in C# . When the Webservice is called ,it will broadcast a message with the windows API,Postmessage . And other Applications can receive this message. developing tool: VS2005. the trouble: when I debug the Webservice, running in VS2005, the message can be post out. but …

Member Avatar for dickersonka
0
91
Member Avatar for toolmanx

I am working with a MDI in my program. I use .cpp to compile although I program primarily with api's. I'm not sure whether that places me in C++ or Windows threads. Since using .cpp I have to obey C++ rules so I'll list my thread in the C++ area. …

Member Avatar for toolmanx
0
303
Member Avatar for prasath_amd

Hi everyone, I am studying graphics programming using Direct3D in windows............To write a Direct3D program on windows..........I use the native Win32 API.........which includes all the datatypes, functions and other operations for the Windows OS & its windowing system.......... I wanna learn OpenGL so that i can develop graphics programming on …

Member Avatar for John A
0
172
Member Avatar for gaurav_chhabra

[B][/B]Hi, I am using cruise control on Windows XP. We have CVS as our version control tool. I am using the following four files to achieve build of my code. 1. config.xml (This file is present in cruise control directory and it calls up the file 'tc-build.xml'.) 2. tc-build.xml (This …

0
64
Member Avatar for turingmachine

Please help... I'm new to this topic. What is the best (are the good) SMS Java APIs available? (A SMS Java API that is comprehensive and/or easy to understand/integrate.) Is the SMSlib / smslib.org ok to use? (I'm trying to make a very simple program/connection between my pc/Windows XP to …

Member Avatar for peter_budo
0
98
Member Avatar for asihuay

Hi. my system is p4 3.0 windows xp sp2 excel 2003 I need api code to get all user created in my pc. I am using vba code to document and setting directory but do not obtain all users account only the users who before boot the system. Any account …

Member Avatar for Jx_Man
0
67
Member Avatar for np2100

Hello, I was wondering about something. Whats the point of learning console programming (The black screen that comes up) when Win32 or another windows api has completely different syntax. Eventually the person will want to make an actual windows application so what would be the point of learning console first. …

Member Avatar for yap.nice
0
133
Member Avatar for cam875

Is it possible to code the client application using winsock API so it can run for windows but the server with berkeley socket API so it can run for linux. I mean will they be able to establish a solid connection even though the socket API's and OS's are different. …

Member Avatar for cam875
0
240
Member Avatar for peyman_k

Hi All, I need a library in C++ for compressing audio from PCM format (obtained using waveIn* API) to AGC or MP3. I am using windows Vista as platform and to me compression speed is of great importance, i mean if two library is doing the same thing but one …

0
50
Member Avatar for peyman_k

Is there any built-in/ 3rd party libraries in C++ or any windows API that I can use to capture audio in windows? Thanks, Peyman

Member Avatar for peyman_k
0
97
Member Avatar for dmf1978

Hi friends, I'm coding an application using VB.Net 2008 Express which work with images. It can save the results of this work in a file using an own format (not a regular image file) for future re-processing. I wish to put a thumbnail inside the saved file, so it can …

0
62
Member Avatar for Maulth

Hello. hai 2 u. Now that I am done typing my 1337 5p3ak, hello. I've been browsing these forums for a couple of weeks, making a post or two here or their. A bit about myself? I like programming in C++, the small bit of the language I actually know. …

Member Avatar for MakeMoneyOnline
0
187
Member Avatar for TheBeast32

Hi, I have bought [U]Programming Windows Fifth Edition[/U] by Charles Petzold. I was wondering if there are any differences between the Win32 API talked about in this book and the one that applies to Vista or anything newer than Windows 2000. Also, my book didn't come with the CD (I …

Member Avatar for TheBeast32
0
87
Member Avatar for Prathvi

Hi, [B][COLOR="Green"]How to retrieve the phone number stored as work number in Contacts list of Windows mobile?[/COLOR][/B] It has several fields like Mobile number,home number,bussiness number... I could able to retrieve these fields as there is direct API in IPoutlook. problem is with Work number.

Member Avatar for writem
0
73
Member Avatar for ninjaneer

I've been floating around the web looking for a way to add a cap to my Cpp program's processor use, and so far I've only come across a few painful looking Cpp-to-assembly tutorials and a bindprocessor function in an IBM API. I was wondering if any of you wizards knew …

Member Avatar for ninjaneer
0
112
Member Avatar for Dionysus
Member Avatar for ekb606

and also in Rhapsody now that it finally allegedly supports XP64. Napster used to work, but quit ... since I don't really use it that often I can't remember when it last worked so a rollback isn't really feasible. Problem does not exist in any other of hundreds of programs …

0
59
Member Avatar for yakmanz

Need help! I can not change the about:blank home page. I have run hikacker and this is the log. Can anyone help. Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 9:32:34 AM, on 6/22/2008 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16674) Boot mode: Normal Running …

Member Avatar for crunchie
0
232
Member Avatar for masoud87

hello i have a program that is written by Borland C++Builder 6 it is a program for writing binary files using ofstream. but when i ship this program to Borland C++Builder 2006/2007 and compile it,the run time of program increased very much. for example you can test this standard code …

Member Avatar for Ancient Dragon
0
327
Member Avatar for masoud87

hi all i have a program for reading/writing files using windows API this program works properly but i have problem with program speed the time of reading the file is good but it takes very more time for writing the file here is the standard source code that my program …

Member Avatar for dougy83
1
116
Member Avatar for marizion

recently i was reading a tutorial about the ole api and i think i managed to get through the whole tutorial but when i try to use some of the functions the tutorial uses like oleuninitialize then i get an error saying undefined reference i would like to know what …

Member Avatar for marizion
0
130
Member Avatar for myusernotyours

hi all, Am hell bent on creating a window that behaves like the windows taskbar in that it appears on top of the screen and all the other windows give way. Can someone suggest an API for doing this in visual c++?

Member Avatar for mitrmkar
0
74
Member Avatar for myusernotyours

Hi ya all. Am creating an application that should display a Floating dock window like the windows taskbar. It should never be obscured by other windows. Now, The JDIC project has developed an API for this that is in incubation but problem is it only works for linux and my …

0
78
Member Avatar for Johabbes

I have a problem with my msn messenger. Its sending out viruses! here is my Hijackthis log.. Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 14:42:53, on 2008-05-31 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v7.00 (7.00.6000.16640) Boot mode: Normal Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\Ati2evxx.exe …

Member Avatar for crunchie
0
197
Member Avatar for n00b3

Hello, I am trying to read text from a third party's application, of which I do not have the source code. I am using c++ and I am trying to stick to the windows API. I am relatively new to windows programming, though I have looked through MSDN and google …

0
75
Member Avatar for JaY_2

Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 16:55:00, on 09.04.2008 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Boot mode: Normal Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\System32\WLTRYSVC.EXE C:\WINDOWS\System32\bcmwltry.exe C:\Programfiler\Lavasoft\Ad-Aware 2007\aawservice.exe C:\WINDOWS\system32\LEXBCES.EXE C:\WINDOWS\system32\spoolsv.exe C:\WINDOWS\system32\LEXPPS.EXE C:\WINDOWS\system32\nvsvc32.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\Explorer.EXE C:\WINDOWS\system32\wscntfy.exe C:\WINDOWS\BCMSMMSG.exe C:\Programfiler\Synaptics\SynTP\SynTPLpr.exe C:\Programfiler\Synaptics\SynTP\SynTPEnh.exe C:\Programfiler\Java\jre1.5.0_06\bin\jusched.exe …

Member Avatar for gerbil
0
183
Member Avatar for learning C

i have to write an image processing program that can invert, blur, sharpen, threshold, and then resave an image. here is what i have so far: [code=c] //---------------------------------------------------------------------- // SECTION 1: Preprocessor Commands //---------------------------------------------------------------------- // Include Win32 API Libraries (headers) #include <windows.h> #include <windowsx.h> #include <commctrl.h> #include <string.h> #include <stdio.h> …

0
60
Member Avatar for isi4h

I'm using delphi 7, if anyone could let me know how to compile this code i would be grateful. thanks. [CODE]unit UIRT; interface uses SysUtils, Classes, Windows, SyncObjs, Dialogs; // USB-UIRT DLL API Constants... const CRLF: string = '\r\n'; INVALID_HANDLE_VALUE: integer = -1; ERROR_IO_PENDING: integer = 997; UUIRTDRV_ERR_NO_DEVICE: integer = …

Member Avatar for Duoas
0
149
Member Avatar for paurik

Hi i am using java wrapper service api to launch my application as os service. i already configure this service for window os. but ther is problem for linux os. when i run myapplication.sh file it gives me java.lang.noclassdefFounderror error. i put my config my file follow if if some …

Member Avatar for blufab
0
208
Member Avatar for DigitalPackrat

I searched the forums for Windows API tutorials and have found [URL="http://www.winprog.org/tutorial/"]this[/URL]. Is it necessary to do everything manually like in the tutorial and after getting the hang of it move on to QT or should I jump into QT right now?

Member Avatar for eager
0
253
Member Avatar for SonxQ7

Hi all, new here so have 1 question... Am wondering this forum has a section for Windows Programming discussions

Member Avatar for Ancient Dragon
0
88
Member Avatar for Quintillus

I've just started trying to learn how to implement Windows API calls in VB, as the graphics in VB themselves seem to respond rather slowly no matter what computer I run them on, but ran into a couple problems. The graphics at first wouldn't appear until I went over each …

Member Avatar for Quintillus
0
133
Member Avatar for ulrik04

Hello :) I'm making a very simple game in C++ (very much like the old DOS game Supaplex if anybody know that :P). I'm using the windows API, not GDI, DirectX or anything like that. I've only just begun learning the Win Api some days ago :) I have the …

Member Avatar for ulrik04
0
77
Member Avatar for Numinel

Although not a C++ specific problem but you may have an idea how to help me anyway. A program that has worked for a long time suddenly stopped working and I suspect it's a security patch issue. Background: I've made a program on a Pocket PC (Windows Mobile 5) that …

0
48
Member Avatar for nabilchampion

Hi all there is a Windows API function as [CODE]HANDLE CreateFile( LPCTSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile ); [/CODE] This function contains argument for share mode.. When I provide it 0 value then no other process can open/access the file already opened …

Member Avatar for Ancient Dragon
0
119
Member Avatar for trey.jonn

Problems using GetShortPathName I'm using the UNC prefix for the Path:'[B]\\?\unc\heathers-bill\D$\aFileWithALongName.exe[/B]' GetShortPathName returns 0 & using GetLastError() returns the error 'The filename, directory name, or volume label syntax is incorrect. ' even though Windows Explorer can access the same path Since I can navigate to this path using Windows Explorer, …

Member Avatar for Walter.Worhol
0
249
Member Avatar for sunne

Hi, I am new to this community. I have a problem described below. I need to write a java code which would archive a set of files in "newc" format and then compress it using gzip. There are apis to compress in gzip format but couldnt find an api that …

Member Avatar for jwenting
0
140
Member Avatar for DangerDev

Hi I m basically windows programmer, worked always for windows platform, I m good in web based programming also. But i want to move. I always wanted to work for linux. Its my dream to work in c or c++ under Linux platform, I want to do some Networking kinda …

Member Avatar for jbennet
0
215
Member Avatar for shaikh_mshariq

I want to develop process viewer for windows in c or c++. Is there any api or any information so i can start from that. Anyone know about this please help. Thanx in advance.

Member Avatar for shaikh_mshariq
0
104

The End.