|
Any one have codes/samples to load large TIFF image > 3 GB
and drag it around.
Any ideas how could I implement it using MFC/VC++ 6.0
Thank you.
|
|
|
|
|
how can I Append an AVI file in C++ ?
I can make interleaving of two video file but I can not append one in the other, can someone help ???
|
|
|
|
|
AVI is a kind of RIFF file format, to combine more than one avi file with your own code, you must know AVI file format in byte depth..
You can get enough information from search engines, like AVI header and, index entry table etc...
try these useful search keys; RIFF, avih, strh, strf, idx1, 00db, 00dc, 00wb, idx1
|
|
|
|
|
Thank you Erkan, I saw some of this headers but I was trying to use some simple, I am able to use the microsoft API for videos (vfw32, or video for windows), but this API seams to not work fine, or I am using wrongly because it always make the interleaving of all streams, and seams to discard the delay structure of the stream. If you know something of this kind or line I will be real greatfull, otherwise, Thanks.
Allan
|
|
|
|
|
when I add MsFlexgrid ActiveX to my VC workspace and make Execute from it .In other computer that Microsoft VC++ haven't be installed ,this program causes error.what can I do for it?
|
|
|
|
|
MsFlexgrid needs to be installed at other locations as well
copying the EXE alone won't work
use Depends.exe to find out the dependencies of ur EXE
then copy them also to the desired PC
Use Regsvr32 ro register the MSFlexGrid Control
That is why we need installers
Live as if your were to die tomorrow. Learn as if you were to live forever.
-Mahatma Gandhi
|
|
|
|
|
Thanks for helping me and your beautiful final sentence.![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
We provide a DLL workspace to our internal users that allows them to update our core product / add new routines. The DLL links against the main EXE lib file and imports some routines / memory blocks from the executable.
For our latest release, somehow, the lib file we have under source control does not seem to be compatible with the executable. At least, if I use it to create a DLL, the DLL compiles and links OK, is loaded by the EXE OK, but under debug shows that the imported variables have not been imported correctly.
Does anybody have any ideas about how to track this? Ideally, I'd like to be able to create a DLL workspace including a lib file compatible with the EXE we've already released. I guess I'd need a tool that could tell me if a lib file is compatible with its EXE equivalent - anyone know of such a thing?
I have done a full recompile on the released sources and that produces internally consistent results - an EXE and lib file that can by used with the DLL workspace, but that lib file does not seem to be compatible with the released EXE either.
Help greatly appreciated on this one,
Dan
|
|
|
|
|
Anyone know how I can set the icon type of the list in a CFileDialog.
In the "View Menu" you can select eg "Details" and "Thumbnails".
In particular I'd like to set the list to "Thumbnail".
Anyone know how please?
I've thought of finding the list boxes ID, and setting the style, however what is the setting for the "Thumbnail" style?
Thanks in advance.
I feel like I'm diagonally parked in a parallel universe
Jerry Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
Anyone know of some freeware functions that do GetPixel and SetPixel on a CBitmap? I'm using CDC::GetPixel and CDC::SetPixel and they are sooooooooo slow. I've tried with a CBitmap myself but I don't understand quite how CBitmaps store their bits.
Any examples and/or pointers will be much appreciated.
Someone
I feel like I'm diagonally parked in a parallel universe
Jerry Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
Whats ur problm exactly ? is it to copy the DC to Bitmap or Bitmap to DC ?
Regards,
Jijo.
________________________________
Yesterday is history,
Tomorrow is a mystery,
But today is a present.
|
|
|
|
|
Jijoraj wrote:
Whats ur problm exactly ? is it to copy the DC to Bitmap or Bitmap to DC ?
Sorry if I wasn't making myself clear!
(1) I have a CBitmap and I'd like to find out what colour the pixel at x,y is.
(2) I'd like to set the pixel at x,y in a CBitmap to a specified colour.
I basically have the CBitmap OK, and can BitBlt it OK, but I'd like to access and change the CBitmap's pixels before I BitBlt the CBitmap.
Ta
I feel like I'm diagonally parked in a parallel universe
Jerry Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
Dear Jerry,
I think - first Get the whole bitmap data by calling GetBitmapBits () to an array, then process the array by using pointers and then setback the bitmap data by using SetBitmapBits (). I think it will increase perfomance. Then take care that allocate the array at heap using "new" operator.
Regards,
Jijo.
________________________________
Yesterday is history,
Tomorrow is a mystery,
But today is a present.
|
|
|
|
|
Thanks. However how do I decode the bitmap bits into pixel colours, and then encode them back into bitmap bits? The number of bits used for each pixel vary according to the colour depth of the bitmap.
I feel like I'm diagonally parked in a parallel universe
Jerry Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
For finding the colordepth of the bitmap, Use
BITMAP bmpInfo;
bitmap.GetBitmap (&bmpInfo);
then bmpInfo.bmBitsPixel will give you the color depth. Now the rest is easy, you got how many bits are used to represent each pixel of the bitmap and you had the bitmap data with you.
Simple, isn't it ?
Regards,
Jijo.
________________________________
Yesterday is history,
Tomorrow is a mystery,
But today is a present.
|
|
|
|
|
|
Hi all!
can anybody help me change a application language (GUI) from one to another (immediately)
Ex: japanese -> English or vice versa
Thanks,
(![Frown | :(](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_frown.gif)
|
|
|
|
|
I'm sure there is a activex control that you can put on your application, that will allow you to just click somewhere on your application (EX. button), which will translate all text on that dialog to another language. Just search google.com for "free multilingual activex". Hope this helps.
|
|
|
|
|
First you need to compile your MFC application with unicode support (unicode MFC compilation in win9x does not work)
Then you put all your text elements of the dialog item in the resource and retrive the resouce string and update the ui in InitDialog(...)
So when you want to switch between languages, you simple change the text the resource table and that will be reflected on your application,
for this you need to recompile you code to make the switch.
In another case what you can do is to seperate out the resoure into seperate dll, Then load the resouce during runtime and also the strings from that dll,
so if you can have english.dll chinese.dll, depending on the dll you load your ui will be updated with the corresponding language.
I Touched Osama Bin Ladens Bushy Beard
|
|
|
|
|
Hi
I need some help in writing a windows console application that accepts non English input and output (Arabic) I tried to use console functions provided by the winapi but I didn’t succeed, what I tried was changing the code page but although it was changed I still couldn’t print non English characters.
|
|
|
|
|
Hi friends,
i am just now stepping into vc++. i want to develop some graphics applications using directx.
can any body help me in doing this.
if u can plz send me some code that demonstrated some basic functions for beginning in directx application.
ramachandran m s
|
|
|
|
|
|
1. Get the DirectX SDK: http://msdn.microsoft.com/directx/[^]
2. Run the DirectX Sample Browser. The sample browser contains many small examples and tutorials, written in C++, C#, and VB.
The SDK also includes a C++ DirectX Project Wizard for Visual Studio .NET that generates a small DirectX app based on the same example framework that the samples use.
- Mike
|
|
|
|
|
I have used two dialogs for my Tabbed Dialog control.
In my First Tab Page Contain one ListBox, I can't add/get the ListBox informations FROM 2Page.Kindly help me.
|
|
|
|
|
Depending on your application design, what you'd like to do eventualy is to get a list-box pointer to the second page.
Your options:
1. Use 'GetListBoxCtrl()' and 'SetListBoxCtrl()' (methods you'll have to write by yourself) from the piece of code that created Both pages and thus transfer a pointer, or the HWND of the ListBox to the second page.
2. Use a global variable to store the ListBox Pointer/HWND.
3. Use a singleton object to hold the same information.
|
|
|
|