Search:
Type: Posts; User: Soul_Eater
Search:
Search took 0.02 seconds.
-
March 9th, 2005, 11:51 PM
-
March 7th, 2005, 06:45 PM
Hmm.
Ok now I have:
FILE* DB_handle = fopen (dbfile, "rb");
if (DB_handle!=NULL) {
-
March 6th, 2005, 07:06 PM
Ok.
This is what I have:
FILE* DB_handle = fopen (dbfile, "rb");
if (DB_handle!=NULL) {
-
February 23rd, 2005, 03:39 PM
I honestly don't know where to begin here.
I'm writing a program to read certain groups of bytes in a file, and then write them to a .html
I have it all set except the reading the byte...
-
January 26th, 2005, 02:09 AM
I'm using the following to get the hbitmap:
HWND hStatic = GetDlgItem(hWndDlg,ID_STATIC_1);
HDC staticDC = GetDC(hStatic);
hBitmap2 = (HBITMAP)SendMessage(hStatic, STM_GETIMAGE,...
-
January 26th, 2005, 12:29 AM
I got it working now, but for some reason, it's not working on my iRiver of all things.
-
January 25th, 2005, 03:11 AM
by "load" I mean open. Like in irfanview or mspaint or sometihng. not load in c++.
if i try to open the bitmap it writes, I get an error.
-
January 24th, 2005, 10:34 PM
I'm using functions from here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/bitmaps_7zfp.asp
if I try to open the new bmp, it says "Bitmap decode error" and cant load it...
-
January 23rd, 2005, 02:30 PM
-
January 23rd, 2005, 01:43 AM
I had a dialog with a bitmap static on it. It worked fine.
I edited the menu resource, and it asked to update the resource.h
i let it, and for some reason it removed the static from it.
The...
-
January 23rd, 2005, 12:23 AM
just wanted to say problem solved. Had to add a '(' bracket and comment out a #define.
-
January 22nd, 2005, 07:26 PM
I'm trying to compile Variant B here
http://www.codeguru.com/Cpp/G-M/bitmap/specialeffects/article.php/c4897/
And I get all these errors:
C:\Program Files\Microsoft Visual...
-
January 21st, 2005, 03:53 PM
That fixed the crashing. That's kinda weird that it's commented out by default.
Now for some reason, sometimes its drew images, sometimes it didn't, and currently I havent been able to get it to...
-
January 21st, 2005, 03:14 PM
ok. I'm using the following code from the archive
HBITMAP LoadAnImage(char* FileName)
{
// Use IPicture stuff to use JPG / GIF files
IPicture* p;
IStream* s;
IPersistStream*...
-
January 20th, 2005, 04:07 PM
thanks for all of your help
-
January 20th, 2005, 03:53 PM
I'll be damned. You were right! I reordered the headers and it compiled, now the only error I get is this one(which I was unsure about if I was doing it right anyway)
...
-
January 20th, 2005, 03:42 PM
C:\Program Files\Microsoft Visual Studio\MyProjects\RiverImage\RiverImage.cpp(53) : error C2065: 'OPENFILENAME' : undeclared identifier
C:\Program Files\Microsoft Visual...
-
January 20th, 2005, 03:05 PM
doh, thanks. Fixed the parentheses error, but I'm still getting compile errors from having the OFN code.
-
January 20th, 2005, 05:12 AM
Also now, if I comment the code thats causing errors out, I'm getting this error on the very last line:
fatal error C1004: unexpected end of file found
-
January 20th, 2005, 04:48 AM
Ok. I'm writing a small app to eventually resize images.
For some reason, I'm getting compile errors when I get to the OPENFILENAME part, even though I'm including the right headers.
After the...
-
December 28th, 2004, 02:39 PM
-
December 28th, 2004, 02:28 PM
found what i needed
SetClassLong(hwnd,GCL_HCURSOR,(LONG)hcursor);
:)
For some weird reason, I'm opening up Spy++ look for a window, but when I run spy++, it displays the main window, then...
-
December 28th, 2004, 02:15 PM
right, but then after the cursor moves, it changes back to what it was.
The code I had previously made the cursor stay to whatever I changed it to, AND didnt involve any window procs
-
December 28th, 2004, 01:56 PM
I'm not creating a new window, just changing the cursor in a window of a program
-
December 28th, 2004, 01:57 AM
My hard drive crashed and I lost some important source.
I was using LoadCursorFromFile
to load a cursor, then set it to an hwnd, and the cursor would be permanent and stay when moved.
I...
|
Click Here to Expand Forum to Full Width
|