Remember how I mentioned placing any bitmap into the directory and naming it "pic.bmp"...
Also, I have updated news and am VERY excited. I have gotten cs to be much much faster! I just skipped over using some of it's convieniences like drawing with drawImage instead of BitBlt and especially the automatic double buffering, that made the biggest difference.
You will see that soon!
Last edited by aewarnick; Jul 20th, 2003 at 09:43 AM.
I think the error was some kind of Borland junk and that is why you didn't get the error. Dev does not get it either. I will try renaming the a.cpp file to a.h and see if Dev knows what prototypes are then.
You are right about that, however, my program barely has anything in it. A C# app with a bunch of code only compiles to 80kb.
I didn't use anything in the Borland dll's (that I know of). The same code I compiled with Borland I also just now compiled with Dev. One very very minor change to get Borland to compile the code but that would not use the dll's to do it.
Maybe I don't understand what is going on in the Dev compiler. I just see my code and say wow, a big file for such little code!
Last edited by aewarnick; Jul 21st, 2003 at 11:51 AM.
No need to be suspicious, I didn't say it was faster, I just said I made one of the C# programs faster than the other C# program by not using the SetStyle DoubleBuffer. I used my own double buffing technique. You will see that the C++ program is much much much much much much much faster! Not that much faster, but you get my point.
This is weird in the full definition of the word!!!!!______-----++==
I installed a program (Ulead Photo Express) on my computer, rebooted and when I ran the same programs I posted here the C++ program now runs as slow as the cs optimized program!!!
Before I restarted the computer it was at least twice as fast!!! What happed? There is no memory leak and the file was untouched.
I know Photo Express does not have a virus or anything like that.
I did recently just install a hard drive on my computer though (D and it is not installed properly. It isn't mounted, I just attatched the wires.
My one browser is acting strange too.
Is there any explanation for this??
Last edited by aewarnick; Jul 21st, 2003 at 01:20 PM.
I am glad I am not alone on that one.
By the way I did not use any other source code in any of those programs except my own. So I know my programs did not cause that weird stuff to happen.
It's just waiting there for me to finally getting around to testing it out. I have not used it yet but it will be part of the a class.
Do you want me to remove it?
What I meant above was in the C# apps where the source was not included. I had forgotten all the AlphaBlend code of yours in the C++ source. Sorry transendental, I forgot it was there or else I would have mentioned it.
Last edited by aewarnick; Jul 22nd, 2003 at 09:07 AM.