Click here to Skip to main content
15,896,915 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Type non-English characters at GINA / Windows logon Pin
Richard MacCutchan17-Feb-11 22:05
mveRichard MacCutchan17-Feb-11 22:05 
GeneralRe: Type non-English characters at GINA / Windows logon Pin
Shashi.Shinde17-Feb-11 23:46
Shashi.Shinde17-Feb-11 23:46 
GeneralRe: Type non-English characters at GINA / Windows logon Pin
Richard MacCutchan18-Feb-11 1:29
mveRichard MacCutchan18-Feb-11 1:29 
AnswerRe: Type non-English characters at GINA / Windows logon Pin
ShilpiP18-Feb-11 5:57
ShilpiP18-Feb-11 5:57 
GeneralRe: Type non-English characters at GINA / Windows logon Pin
Shashi.Shinde20-Feb-11 19:45
Shashi.Shinde20-Feb-11 19:45 
QuestionNetwork Communication Pin
pix_programmer17-Feb-11 18:26
pix_programmer17-Feb-11 18:26 
AnswerRe: Network Communication [modified] Pin
LaxmikantYadav17-Feb-11 19:04
LaxmikantYadav17-Feb-11 19:04 
QuestionWich is the best way to launch/run an externall .exe app form vc++6 ? Pin
timbk17-Feb-11 10:53
timbk17-Feb-11 10:53 
AnswerRe: Wich is the best way to launch/run an externall .exe app form vc++6 ? Pin
Niklas L17-Feb-11 11:00
Niklas L17-Feb-11 11:00 
AnswerRe: Wich is the best way to launch/run an externall .exe app form vc++6 ? Pin
Hans Dietrich17-Feb-11 11:05
mentorHans Dietrich17-Feb-11 11:05 
AnswerRe: Wich is the best way to launch/run an externall .exe app form vc++6 ? Pin
Nish Nishant17-Feb-11 17:21
sitebuilderNish Nishant17-Feb-11 17:21 
AnswerRe: Wich is the best way to launch/run an externall .exe app form vc++6 ? Pin
LaxmikantYadav17-Feb-11 19:09
LaxmikantYadav17-Feb-11 19:09 
QuestionProblem reading Exif metadata [modified] Pin
David Crow17-Feb-11 4:35
David Crow17-Feb-11 4:35 
I've got code that reads Exif metadata from JPG files. One file in particular is giving me trouble when reading its PropertyTagEquipModel property. On my XP machine, it reads fine. On my Win7 machine, however, the call to GetPropertyItemSize(PropertyTagEquipModel) returns 0, thus the property itself cannot be read. I even dumped all of the properties using GetAllPropertyItems() and PropertyTagEquipModel was not one of them (it is on my XP machine, though).

To add to the confusion, if I right-click the file in Explorer on the Win7 machine and select Properties, it will find the PropertyTagEquipModel property. Further, I downloaded a few Exif viewer programs and they found the property just fine.

For what it's worth, here is my code that reads the PropertyTagEquipModel property:

UINT uSize = pImage->GetPropertyItemSize(PropertyTagEquipModel);
if (uSize > 0)
{
    PropertyItem *pItem = (PropertyItem *) new BYTE[uSize];
  
    if (pImage->GetPropertyItem(PropertyTagEquipModel, uSize, pItem) == Ok)
    {
        if (pItem->type == PropertyTagTypeASCII)
            // display the value
    }
  
    delete [] pItem;
}
Any ideas what I might be overlooking? All of my other 20,000+ files are working fine on both platforms.

[edit]
I got positive results by changing the GDI+ version in the manifest file. It defaults to v1.1, so by changing it to v1.0, I was able to read the property. That makes me wonder what feature(s) I might be missing by going "backward."
[/edit]

"One man's wage rise is another man's price increase." - Harold Wilson

"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

"Man who follows car will be exhausted." - Confucius


modified on Thursday, February 17, 2011 10:52 AM

QuestionRe: Problem reading Exif metadata Pin
CPallini17-Feb-11 7:55
mveCPallini17-Feb-11 7:55 
AnswerRe: Problem reading Exif metadata Pin
David Crow17-Feb-11 8:25
David Crow17-Feb-11 8:25 
GeneralRe: Problem reading Exif metadata Pin
CPallini17-Feb-11 9:26
mveCPallini17-Feb-11 9:26 
GeneralRe: Problem reading Exif metadata Pin
David Crow17-Feb-11 9:39
David Crow17-Feb-11 9:39 
GeneralRe: Problem reading Exif metadata Pin
CPallini17-Feb-11 9:44
mveCPallini17-Feb-11 9:44 
AnswerRe: Problem reading Exif metadata Pin
Niklas L17-Feb-11 11:11
Niklas L17-Feb-11 11:11 
QuestionRe: Problem reading Exif metadata Pin
David Crow17-Feb-11 14:36
David Crow17-Feb-11 14:36 
AnswerRe: Problem reading Exif metadata Pin
Niklas L17-Feb-11 19:53
Niklas L17-Feb-11 19:53 
Questionhow to sync google chrome bookmarks? Pin
yogish29317-Feb-11 0:07
yogish29317-Feb-11 0:07 
AnswerRe: how to sync google chrome bookmarks? Pin
phil.o17-Feb-11 0:59
professionalphil.o17-Feb-11 0:59 
GeneralRe: how to sync google chrome bookmarks? [modified] Pin
yogish29317-Feb-11 1:16
yogish29317-Feb-11 1:16 
GeneralRe: how to sync google chrome bookmarks? Pin
Richard MacCutchan17-Feb-11 4:48
mveRichard MacCutchan17-Feb-11 4:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.