From: Finn Stampe Mikkelsen on
"Konrad Neitzel" <neitzel(a)neitzel.de> skrev i meddelelsen
news:BNl$DFc81pB(a)neitzel...
> Hi Arne,
>
> Arne Vajh?j wrote on 28.04.10
> in microsoft.public.dotnet.languages.csharp
>> On 28-04-2010 08:02, Tony Johansson wrote:
>>> Here I have some text from Microsoft Press(exam 70-536) It says:
>>> "The .NET Framework provides you the ability to both import Win32
>>> functions
>>> using Dll import attribute and you can
>>> also use P/Invoke to make direct calls against Win32 DLLs."
>>>
>>> Now when I use P/Invoke I use the DLLImport attribute but what does the
>>> book mean in this text when it says "both import Win32 functions using
>>> Dll
>>> import attribute" but this is how P/Invoke is used and then the text
>>> says
>>> you can also use P/Invoke to make direct calls against Win32 DLLs.
>>>
>>> Does anyone understand what this text actually mean. It seems to me that
>>> the last part of the text is wrong when they say "you can also use
>>> P/Invoke
>>> to make direct calls against Win32 DLLs." becuse what they describe here
>>> is
>>> P/Invoke.
>
>> Two words: lousy book !
>
> I am just wondering, what book Tony is reading. I found the book "MCTS
> Self-Paced Training Kit (Exam 70-536): Microsoft .NET Framework:
> Aplication Development Foundation, Second Edition" from Tony northrup Not
> bad. I simply have the problem, that I do not find any other book from
> Microsoft Press about the exam 70-536 and at least in the 2nd edition I do
> not find this sentence at all. The book only covers how to interoperate
> with COM (Chapter 13). So maybe the first edition was much worse than the
> versions, that I have.
>
> So Tony: Which book do you use exactly? I am just curious.
>

I'm actually reading the SelfPaced Training Kit 70-536 at the moment too...

This one to be excact:

PUBLISHED BY
Microsoft Press
A Division of Microsoft Corporation
One Microsoft Way
Redmond, Washington 98052-6399
Copyright � 2006 by Tony Northrup, Shawn Wildermuth, Bill Ryan, and
GrandMasters, LLC
All rights reserved. No part of the contents of this book may be reproduced
or transmitted in any form or by
any means without the written permission of the publisher.
ISBN-13: 978-0-7356-2277-7
ISBN-10: 0-7356-2277-9
Library of Congress Control Number 2006924468

And i can find 18 references to P/Invoke, but none of them in the context
that Tony referred to. I have searched the PDF for the sentence Tone
mentioned with direct calls and found no hit. I'm guessing mine is the first
edition, since it is not the one with the black cover they use now and
"Second Edition" is not mentioned in the above text. But it seems silly to
have introduced so many errors into a second edition, that many here
consider the book to be silly at best and unusable at worst..

/Finn
>
From: Tony Johansson on
Actually I might mix this up this specific row was probably from the
e-learning that I also use.
I use the same Self-Paced Training Kit (Exam 70-536): Microsoft .NET
Framework:
Application Development Foundation, Second Edition" from Tony northrup
printed 2007.


//Tony

"Finn Stampe Mikkelsen" <stampe(a)city.dk> skrev i meddelandet
news:OCJLIV45KHA.5808(a)TK2MSFTNGP02.phx.gbl...
> "Konrad Neitzel" <neitzel(a)neitzel.de> skrev i meddelelsen
> news:BNl$DFc81pB(a)neitzel...
>> Hi Arne,
>>
>> Arne Vajh?j wrote on 28.04.10
>> in microsoft.public.dotnet.languages.csharp
>>> On 28-04-2010 08:02, Tony Johansson wrote:
>>>> Here I have some text from Microsoft Press(exam 70-536) It says:
>>>> "The .NET Framework provides you the ability to both import Win32
>>>> functions
>>>> using Dll import attribute and you can
>>>> also use P/Invoke to make direct calls against Win32 DLLs."
>>>>
>>>> Now when I use P/Invoke I use the DLLImport attribute but what does the
>>>> book mean in this text when it says "both import Win32 functions using
>>>> Dll
>>>> import attribute" but this is how P/Invoke is used and then the text
>>>> says
>>>> you can also use P/Invoke to make direct calls against Win32 DLLs.
>>>>
>>>> Does anyone understand what this text actually mean. It seems to me
>>>> that
>>>> the last part of the text is wrong when they say "you can also use
>>>> P/Invoke
>>>> to make direct calls against Win32 DLLs." becuse what they describe
>>>> here is
>>>> P/Invoke.
>>
>>> Two words: lousy book !
>>
>> I am just wondering, what book Tony is reading. I found the book "MCTS
>> Self-Paced Training Kit (Exam 70-536): Microsoft .NET Framework:
>> Aplication Development Foundation, Second Edition" from Tony northrup Not
>> bad. I simply have the problem, that I do not find any other book from
>> Microsoft Press about the exam 70-536 and at least in the 2nd edition I
>> do
>> not find this sentence at all. The book only covers how to interoperate
>> with COM (Chapter 13). So maybe the first edition was much worse than the
>> versions, that I have.
>>
>> So Tony: Which book do you use exactly? I am just curious.
>>
>
> I'm actually reading the SelfPaced Training Kit 70-536 at the moment
> too...
>
> This one to be excact:
>
> PUBLISHED BY
> Microsoft Press
> A Division of Microsoft Corporation
> One Microsoft Way
> Redmond, Washington 98052-6399
> Copyright � 2006 by Tony Northrup, Shawn Wildermuth, Bill Ryan, and
> GrandMasters, LLC
> All rights reserved. No part of the contents of this book may be
> reproduced or transmitted in any form or by
> any means without the written permission of the publisher.
> ISBN-13: 978-0-7356-2277-7
> ISBN-10: 0-7356-2277-9
> Library of Congress Control Number 2006924468
>
> And i can find 18 references to P/Invoke, but none of them in the context
> that Tony referred to. I have searched the PDF for the sentence Tone
> mentioned with direct calls and found no hit. I'm guessing mine is the
> first edition, since it is not the one with the black cover they use now
> and "Second Edition" is not mentioned in the above text. But it seems
> silly to have introduced so many errors into a second edition, that many
> here consider the book to be silly at best and unusable at worst..
>
> /Finn
>>