|
|
On google, it's called EXIF information, I ever tried to use CXImage to read the EXIF info that's ok.
But CXImage doesn't support write EXIF info into jpeg file.
Someone could give me any ideas?
|
|
|
|
|
Best give me a source code
dddsdfdd
|
|
|
|
|
Has anyone gotten this to work, I a have a simple project DLL using MFC no .rc files, I have defined _USE_RTM_VERSION for all source files, but when I compile I see two entries in the embedded manifest file, and it refuses to load in depends, and I get SxS errors.
How do you uninstall SP1, there is no entry in add/remove programs, VS2005 repair does not do it.....
|
|
|
|
|
see if this helps you out with the _USE_RTM_VERSION problem.
I think that if you want to uninstall VS2005 SP1, you have to re-install VS. I am not sure about that but thatis the only thing I can think of ...
|
|
|
|
|
Chocolate fire guard, I have googled this already before posting this Q....nothing for it uninstall and reinstall.
|
|
|
|
|
Hi all,
I want to add gui(MFC based) into a lib code.....so for that i followed the following steps
1) Created a new windows based console application with option static lib file selected n by allowing MFC support to the application
2) from the project add....i selected add resource n then created a CDialog based gui into it
Upto then everything is fine.....now here something i dont understand
1) wat r the .h and .cpp files related to gui do i need to include n wat code to write in (MFC generates all the code itself in a MFC based application so i m not sure wat to include or wat not to include)
2)I am able to link to lib in my program (proc) without error.....Now how do i invoke the gui in lib from my proc
I am taking commandline arguement from the user.....if user says enable gui as arguement....then gui shud pop up or else it shud not pop up
How do i achieve it.....
Kunal
|
|
|
|
|
|
This[^] may help, but you'll get better answers in a more programming oriented forum. This one, Visual C++[^] or this one, Visual Studio 2005[^], perhaps.
"DLL Hell" is dead, long live "DLL Hell".
Chris Meech
I am Canadian. [heard in a local bar]
I agree with you that my argument is useless. [Red Stateler]
Hey, I am part of a special bread, we are called smart people [Captain See Sharp]
The zen of the soapbox is hard to attain...[Jörgen Sigvardsson]
I wish I could remember what it was like to only have a short term memory.[David Kentley]
|
|
|
|
|
The reason you got a lot of '1' votes is that you posted in the lounge, despite the big, red text, asking you not to. I've moved the question to the right place.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
My question is:
I have a program that connects to a remote server through a certain port.
I want to make a program which will be like a buffer between the program and the remote server so i can see all traffic going between them both and filter data i dont want the program to recieve.
I dont know how to that, how can i listen to the port and grab it when the program try to connect ? how can i complete the connection after my program manages to grab the port ?
thank you.
|
|
|
|
|
Do you have the source code for the program? If so, you know the protocol(s) the app is
communicating with so you can write a filter app that listens on an arbitrary port. When you
connect to the filter app, the filter app can connect to the remote server. The filter app needs
to forward all data it receives in both directions.
If you don't know the protocols used, there's a handy, free, packet capture library libpcap[^]
that may be helpful.
|
|
|
|
|
I dont have the programs source code.
Libcap can also drop packets before they rech the client ?
|
|
|
|
|
Kobi_Z wrote: Libcap can also drop packets before they rech the client ?
Probably not but there's lots of clues in their documentation how they get at the underlying
protocol layer.
|
|
|
|
|
Hi,
I have a static control derived from CStatic class. When user clicks on it I want that the static control should look like as it is pressed. The control is not a button, so I cannot do this directly. How can I achive this?
Regards,
Hemant
|
|
|
|
|
Set a recessed border and change the background color to a shade darker?
onwards and upwards...
|
|
|
|
|
if you derived CStatic you can use of WM_MOUSE* and WM_PAINT for change color when user click on that static.
|
|
|
|
|
I am working on a project involving huge amount of data. The memory space is alomst exhausted. My program terminates abnormally when the remaining mem is about 100M(indicated in Task Manager). The error message is
"abnornal program termination".
My problem is that I am not sure if the shortage of mem space OR bugs in my program caused the abnormal termination.
Anybody can help me diagnose this probelm by your experiences.
I wonder what is the best way to deal with huge amount of data. I do not have experiences with huge amount of data before.
I wonder if 'virtual mem' actually means some space on hard disk?
How to set the size of virtual memory. Can I use virtaul mem in my VC++ program. Can I set the size of virtual memory in my visual C++ program.
Is it true that the access speed for virtual mem is much slow than that for main memory?
by the way, wm PC (DELL Openlex GX620) has 1G main memory, running Windows 2000.
|
|
|
|
|
|
First of all , Problem could be memory leak or anything related with memory management.Your application may be trying to access a memory area that it's not allowed to.
Virtual memory is usage of hard-drive(or similar devices) space as memory area.Simply data is kept in drive as specified file.There are many virtual memory management algorithms that decides how,when and what to fetch.But it's performance is never as good as accessing real memory.Virtual Management is a trade-off between memory size and memory speed.
Also if you are programming a WIN32 application , memory allocation functions calls a specified system function that automatically allocates real or virtual memory.
[AGP]
|
|
|
|
|
thank you Gokalp Peker.
My appication is MFC based work instead of a Win32 application. In MFC, is virtual memory avaiable for storage?
|
|
|
|
|
If your progam is running under Windows, then it uses virtual memory. Virtual memory is handled by the operating system, it doesn't depend on what language or what toolkits you use in your program.
|
|
|
|
|
cy163@hotmail.com wrote: I wonder if 'virtual mem' actually means some space on hard disk?
How to set the size of virtual memory. Can I use virtaul mem in my VC++ program. Can I set the size of virtual memory in my visual C++ program.
This is all handled automatically by Windows.
cy163@hotmail.com wrote: Is it true that the access speed for virtual mem is much slow than that for main memory?
Of course, unless you have very slow RAM and a very fast HDD!
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I'm not sure if this is in play but do you know the default maximum size of a block of memory that you can allocate in 32 bit windows is around 1.2GB?
John
|
|
|
|