21 Discussion / Question Topics

Remove Filter
Member Avatar for Graphix

Hi, I've been trying to learn what pointers are and how they function, and I now finally understand most of it. However, I don't understand the assignment of strings to a char *, and what the values they have mean. I wrote a small program to learn: [CODE]#include <stdio.h> #include …

Member Avatar for Graphix
0
174
Member Avatar for Graphix

Hi everyone, I'm currently working on a cross-platform project to copy data from the computer onto a USB drive quickly. [B]Main problem: EOF in the middle of the file[/B] It's going good so far, but I stumbled across a problem in my copy_file function: [CODE]int copy_file(char *source_path, char *destination_path) { …

Member Avatar for Graphix
0
2K
Member Avatar for Graphix

Hi, I've been working on a project that needs to list all the drives on a computer (it's kind of a file explorer, but without using the standard one provided by windows). I've searched and found the function [URL="http://msdn.microsoft.com/en-us/library/windows/desktop/aa364972%28v=VS.85%29.aspx"]GetLogicalDrives()[/URL], which does exactly what I want. However, the return value is …

Member Avatar for rubberman
0
126
Member Avatar for Graphix

Hi, In the past few months I've been learning how to make applications for android by making small games just for the fun of it. I am stuck at the moment at the database object I created to manage the database, specifically the cursor: it won't close. A snippet of …

Member Avatar for Graphix
0
420
Member Avatar for Graphix

Hi, At the moment I am trying to open a log file with notepad.exe while the original process continues. As I am developing for Windows, fork() is not available for me. I googled alot and found a good reference to opening processes ([url]http://www.yolinux.com/TUTORIALS/ForkExecProcesses.html[/url]), however they all put the original process …

Member Avatar for Graphix
0
266
Member Avatar for Graphix

Hi, Recently I started working on a project (it's called 'fd') that needs to retrieve the current processes running. It is written in C using the WinAPI. I am running Windows XP SP3 and am using MinGW compiler with Code::Blocks. After much searching I found the PSAPI to provide the …

Member Avatar for m4ster_r0shi
0
941
Member Avatar for Graphix

I need to create a row and its content to be unchangeable and undeleteable, as a secure way to ensure that the administrator will always have access to the website. Does anyone have any idea how to do this? A Google Search gave no results, but perhaps someone knows how …

Member Avatar for pritaeas
0
90
Member Avatar for Graphix

Hey everybody, I am currently having difficulty using GetOpenFileName() and GetSaveFileName(). The keeps returning the error " undefined reference to `_GetOpenFileNameA@4' ". I can't seem to find a fault in my code, so is it the compiler or is it the code? I am using CodeBlocks. [CODE]void DoFileOpen(HWND hwnd) { …

Member Avatar for Graphix
0
2K
Member Avatar for Graphix

Hello everybody, I am currently developping a GUI interface game for windows XP. I am currently having difficulty changing the background of a EDIT box created with CreateWindowEx(). It's default background is white (which is the color I want). But the user is not supposed to be able to adjust …

Member Avatar for gashtio
0
4K
Member Avatar for Graphix

Hey everybody, I currently making a program that needs to activated on startup. So after extensive googling I decided to do it the registry way. However, creating a new value or editing an existing value, is not working. Could you explain how to edit and/or create a value in a …

Member Avatar for Graphix
0
275
Member Avatar for Graphix

Hello everybody, I am currently developping a virus scanner for Windows, and was searching for a virus database. Eventually I found a database which contains around 1000 virus names, however none of the virus names has the extension .exe . Is this extension neglected? Or does the virus have various …

Member Avatar for PhilliePhan
0
131
Member Avatar for Graphix

Perhaps I am blind, but I can't seem to find the "Start a new Tutorial" button or a option in the dropdownlist of the form that pops up when you click the button "Start a new Thread". How do you start a new tutorial? ~G

Member Avatar for diafol
0
174
Member Avatar for Graphix

Hello everybody, I am currently having a problem with my Packard Bell computer that has XP Home Edition (SP2). I was starting live messenger when it could not connect and gave a windows error screen. Then I decided to restart the computer, but now I can't start it due to …

Member Avatar for Graphix
0
370
Member Avatar for Graphix

Hi, I am currently learning C#, but when I made a program that allows the user to guess a word (in Dutch that's called "Galgje") it repeats the while-statement twice, ignoring the scanf(). I searched with Google and found out that the program is too fast for the user input. …

Member Avatar for Graphix
0
233
Member Avatar for Graphix

Hi all, I made a script that can be used as a captcha. It shows a random amount of (roman) letters sliding by every 2000 miliseconds (thats why its called [B]Matrix[/B]Captcha. But I am not sure wether it is able to stop bots from spamming. Does anyone have a suggestion …

0
116
Member Avatar for Graphix

Hi all, I am currently having a small problem with my Windows XP computer: when I am for example playing Call of Duty 4 or Age of Mythology, the computer minimalizes the window by itself every half hour (or something like that). It doesn't happen with browsers or other applications. …

Member Avatar for Graphix
0
224
Member Avatar for Graphix

I am currently having a problem with my BB-code editor, like most things it works great in FF, but i have an issue with IE: whenever i select a word that has already been previously typed, it selects that word instead of the one i selected. Here is the selection …

Member Avatar for Airshow
0
285
Member Avatar for Graphix

I am currently working on a small script that allows people to insert BB-codes to edit their text. They are able to click a button (for example underline) and then the bb-code will appear at the end of the textfield-value. How can i retrieve the current position of the cursor …

Member Avatar for Graphix
0
182
Member Avatar for Graphix

I'm having a problem with IE, while it works in FF: the var doesn't save any \n aka enter. I have the following code: [code] <script type="text/javascript"> function addu() { var message = window.prompt("Enter the text that needs to be underlined below"); if (message != "" && message != "null") …

Member Avatar for ShawnCplus
-1
155
Member Avatar for Graphix

How do you acces a folder beneath the current folder? The upload script is at: htdocs/mysite/management/upload.php and i want the files to be uploaded at: htdocs/mysite/images/ What should the directory be?

Member Avatar for Graphix
0
116
Member Avatar for Graphix

Hi, I am currently writing a chatprogram, and it works fine in FF but it doesnt refresh as it should every 1500ms (set with setInterval("retrieve_messages()",1500) in body tag) in IE. The object ajax is made in previous code. I wrote the following code: [code] function retrieve_messages() { // Checks wether …

Member Avatar for Graphix
0
187

The End.