Re: Link errors using ddk with Visual C++ v6.0
From: Gary G. Little (gglittle.nospam_at_sbcglobal.net)
Date: 08/14/04
- Next message: Gary G. Little: "Re: newbie: ExAllocatePoolWithTag"
- Previous message: Jeff Henkels: "Re: Problems getting the 1394 ROM configuration info"
- In reply to: MikeDW: "RE: Link errors using ddk with Visual C++ v6.0"
- Next in thread: MikeDW: "Re: Link errors using ddk with Visual C++ v6.0"
- Reply: MikeDW: "Re: Link errors using ddk with Visual C++ v6.0"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 14 Aug 2004 19:35:34 GMT
You are attempting to link MFC into a driver? I assume this as a possibility
since you mention DDK in a response to someone making reference to MFC.
Simply stated --- you CANNOT do that and if you get a good link you will die
a miserable blue death when you run it. MFC is NOT supported in the DDK and
the DDK is NOT supported in the MFC. If you want to use a class library in
the kernel then look to either Compuware's Driver Studio (2K+) or Hollistech
(free).
-- The personal opinion of Gary G. Little "MikeDW" <MikeDW@discussions.microsoft.com> wrote in message news:783BC750-9E04-4CE5-A1ED-B4025637DFE1@microsoft.com... > Thanks! > > Now I just have to find a previous version of the DDK to download. > > "Bobby Mattappally [MS]" wrote: > > > > > -------------------- > > > > As I was typing, I just used the functions I needed, then at compile time I > > added #includes to add in the functions the compiler couldn't find. > > > > I don't remember needing them in before, but... > > > > It sure would be nice to know why I coundn't compile with MFC in place, > > though. That would save me alot of work on this project. > > > > Thanks for your help! > > > > > > > > "Yavin" wrote: > > > > > "MikeDW" wrote: > > > > windows.h, cfgmgr32.h, stdlib.h, and stdio.h > > > > > > Do you need the additional includes for stdlib.h and stdio.h? I think > > this > > > includes are not necessary because windows.h will include them!? > > > > Hi Mike, > > Most likely this due mismatch in library files. > > Your ddk libs are build with a newer version (7.0) of compiler and libs and > > you are trying to mix it with Vc6.0. > > Try using VC7.0 or using older version of DDK (eg win2k dkk). > > Hope this helps. > > > > Thank you, > > Bobby Mattappally > > Microsoft DDK Support > > > > This posting is provided "AS IS" with no warranties, and confers no rights
- Next message: Gary G. Little: "Re: newbie: ExAllocatePoolWithTag"
- Previous message: Jeff Henkels: "Re: Problems getting the 1394 ROM configuration info"
- In reply to: MikeDW: "RE: Link errors using ddk with Visual C++ v6.0"
- Next in thread: MikeDW: "Re: Link errors using ddk with Visual C++ v6.0"
- Reply: MikeDW: "Re: Link errors using ddk with Visual C++ v6.0"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|