I realise this seems a stupid question but I have googled this to death with no results so here goes:
I have two files, game.h and player.h. Each contains a reference to the other.
I started by simply putting an include to the other each file. This resulted in an infinite loop when I compiled...
I am new to C++ and I think I may have thrown myself in a bit too deep!! I have programmed before in Delphi and Java so I think this may be more of a syntaxical problem.
I am trying to create a class and, on calling the constructor, pass a filename to the constructor. As it stands I'm trying to...
While I am typing, and usually after the prompt box has popped up, Delphi sets the file I am editing to read only!!
It's only recently started happening and only seems to happen when the prompt box is displaying parts of an object I have created.
Sometimes I can set it back to edit and carry...
I am trying to assign values to two properties of an object I have created. The relevant parts of the declaration are below:
type TTagv2 = record
//Variables used by unit
exists: Boolean;
//Frame variables
UFID: array of record //Unique file identifier
owner: string...
I am using a media player object and I'm having trouble getting it to pause and resume.
Whenever I pause it, it seems to stop instead. The Mode property is mpStopped and even if I use Resume it still plays from the beginning.
Anyone got any ideas?
Gary
I'm trying to animate a part of my program, just a simple sliding effect.
My main form consists of 4 frames. I am trying to hide one by moving it (changing the left property) and using F_Main.Repaint after each step.
The only problem is, with each step all the frames flicker!
Is there any way...
I have a problem using the DeleteFile function in Delphi 2006.
I am using the following code:
DeleteFile(path + '\' + rec.name);
I have checked and the argument does represent a valid file.
The function returns false.
GetLastError returns 0 (no error)
The file has not been opened by the...
Im not sure this is the right place to post this but I couldn't find anywhere more suitable!!!
I am trying to write a library that will extract ID3 tag data from mp3 files. I have written the routines for ID3v1 and ID3v2 but when I came to test the v2 code I found that both winamp and windows...
I am trying to get data from a file which can be anywhere in the file. It works by reading in a block of data at a time and finding the position of the identifier of the required data within that block. The identifier is 'TAG'.
The problem comes when the identifier is in the first block read in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.