Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

thready

@thready
About
Posts
5
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Linker problem with WinDDK
    T thready

    Well not a driver, but a USB HID device - so sort of a driver? I've got this credit card reader that is a USBHID device - so you need to use the WinDDK. Here's my story - I actually got this working in VC++ 6.0 about 3 years ago and now I can't figure out how to setup my project anymore. But that's just what I did - I created a COM object and linked to the DDK (from VC++ 6.0). Now I've upgraded to VC++ 2008 and just want to take the best route - if I have to learn the right way of doing it along the way, BONUS! I'm all ears. Just because I got it working before doesn't mean it was the best way of doing it anyway - and just the same, I can't get my project linked with MFC. Current project settings: (with errors below) Use MFC in a Static Library Not Using ATL Additional include directories: C:\WinDDK\7600.16385.0\inc C:\WinDDK\7600.16385.0\inc\api C:\WinDDK\7600.16385.0\inc\crt C:\WinDDK\7600.16385.0\inc\mfc42 C:\WinDDK\7600.16385.0\inc\ddk C:\WinDDK\7600.16385.0\inc\api\dao360 Ignore standard include path: No Additional library directories: C:\WinDDK\7600.16385.0\lib\wxp\i386 C:\WinDDK\7600.16385.0\lib\Mfc\i386 C:\WinDDK\7600.16385.0\lib\ATL\i386 Additional dependencies: ntdll.lib msvcrtd.lib Errors: 1>Linking... 1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/RELEASE' specification 1>LINK : warning LNK4075: ignoring '/DELAYLOAD' due to '/DRIVER' specification 1>MathHelper.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/DRIVER' specification 1> Creating library C:\dev\USBHIDCardReader\Debug\USBHIDCardReader.lib and object C:\dev\USBHIDCardReader\Debug\USBHIDCardReader.exp 1>LINK : error LNK2001: unresolved external symbol _DriverEntry 1>USBHIDCrdRdrThread.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE 1>MathHelper.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE 1>stdafx.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE 1>StringHelper.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE 1>USBHIDCardReader.obj : error LNK2001: unresolved external symbol __afxForceEXCLUDE 1>USBHIDCrdRdrThread.obj : error LNK2001: unresolved external symbol __afxForceUSRDLL 1>MathHelper.obj : error LNK2001: unresolved external symbol __afxForceUSRDLL 1>stdafx.obj : error LNK2001: unresolved external symbol __afxForceUSRDLL 1>StringHelper.obj : error LNK2001: unresolved external symbol __afxForceUSRDLL 1>USBHIDCardReader.obj : error LNK2001: un

    C / C++ / MFC c++ delphi help question

  • Linker problem with WinDDK
    T thready

    I need to create another project with its own import settings, so I thought a DLL would be my best bet, however I never understood how to properly export functions other than with COM. Using the "New Project" dialog in VC++, I thought my only option was to use "MFC DLL". You're saying otherwise though and that sure sounds good. What type of project should I create? And how do I add my COM class to this project once it's created?

    C / C++ / MFC c++ delphi help question

  • Linker problem with WinDDK
    T thready

    I'm trying to create a DLL that links to the DDK, with a COM object as my interface to the DLL... Can this be done without MFC? (there are no dialogs at all)...

    C / C++ / MFC c++ delphi help question

  • Linker problem with WinDDK
    T thready

    Did you ever figure out how to use the WinDDK with MFC? If yes, I'd so much appreciate it if you could tell me your project settings!

    C / C++ / MFC c++ delphi help question

  • Excel Automation - Please help ...
    T thready

    DavidCrow wrote:

    Range range = sheet.GetRange(COleVariant("A1"), COleVariant("A1"));Interior interior = range.GetInterior();interior.SetColorIndex(COleVariant(3L));

    I've been looking all over for how to change the color - thanks to you it works - but just a simple question- Why is 3L = red? How does this color index thing work? Is there a way to use RGB with the 3 params to get any color? Thank you again! Mike

    C / C++ / MFC question testing tools help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups