Is this text from Microsoft press really correct(exam 70-536)

T

Tony Johansson

Hi!

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.

//Tony
 
J

Jeff Johnson

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.

I agree with you, Tony: it sounds like they're saying the exact same thing
two different ways and telling you they're saying two different things. If
this were for a marketing campaign then I could totally believe it was just
weasel-speak, but in an exam it makes no sense whatsoever. I'd be very
interested in hearing how to do these "direct calls against Win32 DLLs," but
I doubt this ability exists as they have made it sound.
 
A

Arne Vajhøj

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 !

Arne
 
K

Konrad Neitzel

Hi Arne,

Arne Vajh?j wrote on 28.04.10
in microsoft.public.dotnet.languages.csharp
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.

So far I did the Exams 070-536 and 070-433 and the self-paced training
kits was my main source when I prepared myself. So in my opinion, the
books are not "lousy". (But maybe I would recommend to read the book
morein total and also use other sources of documentation - and simply play
around. In this case, Tony simply gave one sentence he found - I could
imagine that he found it in the Overview of a chapter. But the chapter
describes in detail, how something can be done and you get examples with
the book that you can use and modify and play with...

I am quite sure, that you will find errors in any big book. And some are
critical. But taking such a single sentence from a book is simply a shame
in my eyes and can quickly lead to wrong conclusions.

(And no, I have nothing to do with Tony Northrup nor MS Press :) )

Konrad
 
F

Finn Stampe Mikkelsen

Konrad Neitzel said:
Hi Arne,

Arne Vajh?j wrote on 28.04.10
in microsoft.public.dotnet.languages.csharp


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
 
T

Tony Johansson

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top