Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What the f... is this now
Message
 
To
14/09/2005 15:55:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01048571
Message ID:
01049630
Views:
18
>
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform