January 6th, 2009 06:03 PM
That did the trick... Thanks you very much... Andrew
January 4th, 2009 02:28 PM
if by release build you mean that the active build is set to release and C++ Config to Multithreaded DLL (/MD) I did that....
I am using VS 2008
I had the users do a DirectX update to make...
January 4th, 2009 06:57 AM
I did. It is linked via the Project properties include and lib directories and I have added the seperate lib files d3dx9.lib and d3d9.lib
It did not work.
January 3rd, 2009 01:20 PM
Hi, I have an application that I wrote to convert .X files into a format needed for another application. In it I use various DirectX functions such as
LPDIRECT3D9 d3d = NULL;
HWND hD3DWnd =...
February 5th, 2007 04:02 PM
Good idea, and I thinkit explains why I was seing the intIndex values I was seing. However, changing the combobox to not sort while it did sort out what I was seing in the debug did nothing to...
February 5th, 2007 03:56 PM
When you declare a pointer you must allocate memory to it..
eg...
char * pData;
pData = new char[20];
This is rather simple but it emphasizes the point that we have now allocated...
February 5th, 2007 03:32 PM
Ok I have a data structure as follows
typedef struct
{
char ConstructionName[20];
}Constructions;
January 24th, 2007 09:24 AM
Great worked a treat, thank you very much
Amdrew
January 24th, 2007 09:17 AM
VS2005 allowed it... I changed it to [1536000]
January 24th, 2007 09:08 AM
First of all thanks for replying...
Replacing
FinalTGAFile tgaCell;
with
FinalTGAFile* tgaCell = new FinalTGAFile;
January 24th, 2007 08:51 AM
Ok, it seems I have made a beginners error. I have the following structures defined in my h file
typedef struct {
unsigned char B;
unsigned char G;
unsigned char R;
unsigned char A;...
January 24th, 2006 12:35 PM
so basically if I use unsigned char * pSrcData I can pass that to the function.....I will give that a go...
January 24th, 2006 12:03 PM
In summary I am trying to pass a compressed file to an uncompress function...
The uncompress function is defined as follows
...
January 10th, 2006 03:49 PM
Ok, I have written code to load a BMP including palette data and image data. To be compatible with the program I am writing for I need to take the image data piece only and compress it using an...
December 28th, 2005 10:47 AM
I only started C++ programming about 6 months ago in my spare time and so I must confess this is getting a little bit beyond me. Which probably explains why my code is a little inefficient.
I...
December 28th, 2005 10:15 AM
Now I have to figure out how to get to the data itself.
I am not sure that my line getVetexes is actually getting the vertes information because when I output it I am not getting a set of...
December 28th, 2005 09:38 AM
Ok taking what you posted as a guide I think I got it to work using the following
float * getTexCoords;
float * getVertexes;
getVertexes = new float[m.Objects[0].numVerts];...
December 28th, 2005 08:32 AM
ok, I am trying to extract some data and the size of that data out of a structure. the structure is inside a class.
Class is called MODEL_3DS and I have created an object instance of the class...
October 4th, 2005 05:08 PM
Its my project I guess I can do anything....hehe
EDIT:
Oops...guess not...Adding Unicode to the project properties C++ section caused a whole bunch of errors...so guess thats out...
A
October 4th, 2005 04:57 PM
Ok I think I am homing in on the problem...
The g_CatArray is a Wide Char array. As a result I think it may be terminating at the second byte. In order to feed the dialog I am assuming I have to...
October 4th, 2005 12:27 PM
Ok, so I am trying to take the structured array and populate the variables into a comboBox. I am using the following code
int nIndex;
int a;
for (a=0; a < 18; a++)
{
nIndex =...
September 20th, 2005 07:29 AM
Thanks...you nailed it....I looked in hex editor at the ascii to check for ... between each variable but on closer examination of the bytes they were not NULL eg 00 08 00 changing them to 00 fixed...