Hello, I'd like to invite developers to new open source project - caching proxy server.
We'll use C++, STL, Boost.
It's very interesting and hard project.
If you're interested, please, send me e-mail with short description about your skills or CV to email@example.com
Any comments are welcome
I'm not sure is this the right place to ask, but I know that you are the right people
I want to draw an icon from an ico file on the screen (lets say main form).
Can you show me a fragment of code (C++ preferably, GDI+) that will load an icon file and display the second sub-icon from it (in the .ico I have one icon in three dimensions. I want to see the second dimension).
You could use something like difftime(). If you are using MFC, check out CTime or COLEDateTime. Short of that, you could convert each to a number in YYYYMMDD format and just compare like you would any other number.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
I have a DLL (DLL_1)for some measurement instrument that exports some functions, when I load DLL_1 from an MFC application and call Function_1 everything goes fine, but this not the way I want to use DLL_1. What I am trying to do is to create another DLL (DLL_2) to load the DLL_1 and call Function_1 but this always fails with a memory read error saying something like: "the memory at address 0x5435345 could not be read", this is wiered coz it is exactly the same code on the same machine.
btw: Function_1 has one integer parameter so I don't think it has anything to do with passing parameters to the function!
Could this have anything with the way DLLs manage memory? Any help? Any ideas?
And ever has it been that love knows not its own depth until the hour of separation
Last Visit: 31-Dec-99 18:00 Last Update: 27-Sep-23 13:07