|
When I rotate my bitmap to a degree which is not a multiple of 90 the size of the image increases to accommodate the new rotated bitmap. E.g. 45 degrees
My problem arises, when I rotate an image of resolution 768*576 the new size increases drastically. Will it be logical to rotate and then resize the bitmap back to the original size for every rotation?
I have also tried using XForm, it works great but it does not allow me to save the rotation. Is there an alternative. If not, where do I find an algorithm to resize a
24- Bit Bitmap.
|
|
|
|
|
Hello!
I'm testing and writing my documentation.
I do not know how to calculate minimum configuration for the program.
Thanks
|
|
|
|
|
Is it for a game or application?
When testing for a game, check which configuration is needed to play the game at minimum resolution (800 x 600 or something like that) at least at 25 fps.
See how much memory (ram) your application is using. If it is more than 16, users should have at least 32 (because other applications are using ram too).
Geert
Want to spread the newest version of your software automatically? Use Updater!
Visit my website: http://geert.yoki.org
|
|
|
|
|
How do I create a tlb-file using VS 6.0 / 2003.
_____________________________
...and justice for all
APe
|
|
|
|
|
|
toxcct wrote:
what do tbl files contain ?
it's not tbl,it's tlb,it's contain Interface decalaration in Binary Format, Understand only By COM Friendly Langauge!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
My goal is to create a dll that exposes some functions (from my classes).
This newly created dll is then going to be consumed by another application.
Don't know if a tlb-file is the right thing to do, but i've earlier imported oters tlb-files but never created my own one...
_____________________________
...and justice for all
APe
|
|
|
|
|
d00_ape wrote:
How do I create a tlb-file using VS 6.0 / 2003.
Run MIDL.exe on .idl File
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Ok, and how is the .idl file created.
If you have seen an article in this subject i'm pleased. I've searched but no success...
_____________________________
...and justice for all
APe
|
|
|
|
|
|
I have a .dll and .lib that are created by Borland CBuilder. And I want to use these two files in Visual C++. However, directly adding these files into my VC++ project generates error once I call any functions in the .dll.
What should I do so that I can re-use the Borland CBuilder .dll and .lib files in VC++?
|
|
|
|
|
Hi,
I am writing a software which generates a unique machine id for a machine based on hardware/software components.
Currently i am using the following parameters - mac address, windows serial key, c: volume info and cpu id.
I am in need of some more paramters like HDD id, Motherboard ID, CDROM-Drive id.
Is there any solution which possibly doesn't use MFC or read the registry ?
Adithya
|
|
|
|
|
|
Why not just use CoCreateGuid() instead?
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Hello Friends,
I have virtual function in my class and I don't want the vtable to be created. Can anybody help regarding this one. Is there any method for the above problem or any keyword, which helps the programmer to avoid creating vtable for the class.
Thanks in advance,
Neelesh K J Jain.
|
|
|
|
|
Neelesh K J Jain wrote:
Is there any method for the above problem or any keyword, which helps the programmer to avoid creating vtable for the class.
No. If you have a virtual function, there must be a vtable.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
I doubt you can do anything of that,
but incase if you were able to then your function would lose its advantage of being virtual and be as good as any other functions of your class.
If that's ok then why not to remove the virtual keyword of the function.
"Reading made Don Quixote a gentleman. Believing what he read made him mad"
- Nilesh
|
|
|
|
|
Neelesh K J Jain wrote:
I don't want the vtable to be created
Why you don't want to create VTABLE?, Any specfic reason!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Actually I had been asked this question in one of my interview recently. My feeling is that if we could be able to avoid creating of Vtable, then I agree with the reply of Nilesh.
No use of having virtual functions itself.
So, I just wanted to know whether we can avoid creation of vtable, then how?
Neelesh K J Jain.
|
|
|
|
|
Neelesh K J Jain wrote:
I had been asked this question in one of my interview recently
Hain, What's the result, Are you selected or Not!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
The interviewer probably wanted you to talk about the novtable attribute.
This attribute is microsoft specific and is declared in front of the class name as __declspec(novtable) .
Giving this will not put the code in the constructor of the class to initialize the virtual table pointer of the class. But the virtual table will still be created.
« Superman »
|
|
|
|
|
__declspec(novtable)
e.g.
class __declspec(novtable) MyVBase {
...
};
...cmk
Save the whales - collect the whole set
|
|
|
|
|
It throw out the error mssage
"preprocessor command must start as first nonwhite space"
when I compile the xxx.cpp and I found that it can't find the class definition,but I do include the .h file.
I don't know what is meaning of error message
"preprocessor command must start as first nonwhite space".
BTW: I haven't changed the settings in my project!
Don't look at me in that way!
|
|
|
|
|
|
white jungle wrote:
I don't know what is meaning of error message
Preprocessor commands (such as #include and #define) must be the first thing on the line. You can have spaces/tabs in front of them, but nothing else.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|