.NETGURU
BITS, DOT NET framework and Visual C++ 6
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.sdk.

Post a new message to this list...

Gent
Does BITS (Background Intelligent Transfer Service) 1.5 require Dot
Net framework on the client side. From what I have read it seems like
Bits 2.0 needs the dot net framework but Bits 1.5 does not.

I am trying to write a wrapper for BITS(Background Intelligent
Transfer Service) to use in our VB 6 applications. At first I thought
about shelling out using bitsadmin.exe utility that comes with Bits
1.5 but then I ran into the problem of not being able to send
parameters (Such as transfer status) from the dos prompt back to my
application so I decided to go with C++. I have tried to run a few
examples available on Microsoft's website but they all require me to
include "bits.h" which I have not been able to find anywhere. Is the
Bits library available only for the Dot net environment/framework or
there is a file out there that can be used in Visual Studio C++ 6.

I have done some research on the internet and found out that there is
a wrapper available for Dot net but have not seen one out there for
Visual C++ 6 or any for VB 6. Has anyone tried to write an application
that uses BITS in a prior than Dot net development environment. Any VB
6 developpers out there that have written a wrapper that uses BITS.

Is there any advantages of using Dot Net instead of regular Visual
Studio 6?

Is the dot net framework required for using Bits on the client side?

Thank you for all your help and input.

Gent
Reply to this message...
 
    
Phil Wilson
There are BITS samples for generic VC++, but you need to get the Platform
SDK for Windows XP SP2, which was still in Beta when last I looked (so you
might need MSDN subscriber downloads). Bits.h is in the Include folder on
that version of the PSDK. If you're familiar with VC++ and COM, the VC++
samples are pretty straightforward. The .NET wrapper is easy for the end
user of the wrapper, but the interop layer that specifies the interfaces,
structs etc might be tedious if you're not familiar with pinvoke or interop
into COM interfaces with structs. I have prototyped uploads with .NET and a
wrapper, and also with C++, and I found the C++ is simpler because you're
not redefining all the structs and interfaces again in the wrapper. Swings
and roundabouts I guess.

.....platformsdk.base might be a good place to ask BITS questions - I got
some help there.

I don't believe BITS by itself requires the .NET framework.
--
Phil Wilson
[MVP Windows Installer]
Defitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-4696760

"Gent" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification