Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What the f... is this now
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01048571
Message ID:
01049630
Vues:
15
>
>Actually, I had collected several hints. But Sergey's hints is the one that inspired me.
>I just found your culprit. Take a look at your "IconBuddy.h" file.
>
>
>** change this one
>#define HANDLE   long
>
>** to this one (whatever you like as long as it's unique)
>#define API_HANDLE  long
>
>

Did You just hear that noise down there in Indonesia. That was my head I just banged against the table. Arrgh. This #define HANDLE long - stuff is from You, that's why it never came to my mind - I bet You did this on purpose, You little bastard. LOL

Copy and Paste is a programmer's death

Sh... I don't believe this. I think I would have never seen this. And as the small class does not include the h-file it properly worked there, And also in the debugger, where Constants are *not* visible.

I already said, I love You - be careful I might change sides BG

>
> Also, change all your API declaration that uses HANDLE to API_HANDLE.
>

I might just change them to LONG

>
>You will like this ;-)
>

>Hehehe.... <lol>
>

>
> BTW, there is another error on the CreateBmpInfoStruct(). At line "ls_BitmapInfo = ...."
> the last one is a "qw0" not "dw0". You can replace it with "dw0 + dw0". But you only replace
> with one dw0
>

Yes, I fell over it. But as I did not find a constant definition for it, I thought I accidentally changed it. I remembered You writing something about it but could not find the message. Thx

> Another thing is, for creating bmp file you can skip the call to IconHandle2Object() in
> GetAssocIconPairObjects(). Because you already have the HICON once it calls ShellGetFileInfo().
> But it's your choice

Yes, I know. But GetAssocIconPairObjects() was there before and is only "mis-used" for this purpose. Its original function is to return the objects.


... #define handle long... I don't believe it hahahahahaha... shi.. where have You been all the days? Did You really have to go to Your office hahahahaha..

this ist just tooo good!

ROFL ROFL ROFL ROFL ROFL ROFL ROFL ROFL
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform