Skip to content

Hardware & Devices

Discussions on hardware (choosing, setting up, troubleshooting) and device drivers (for those who like the colour blue)

This category can be followed from the open social web via the handle hardware-devices@forum.codeproject.com

1.5k Topics 6.1k Posts
  • trouble connecting 3 devices...

    help visual-studio tutorial question workspace
    3
    0 Votes
    3 Posts
    3 Views
    D
    Hey, I've difficulties beside setting up the jumpers, yes they are set up as supposed to:, master/slave etc. This doesen't solve the problem. Thanks for the support anyway
  • Palm OS LifeDrive

    javascript php html css sysadmin
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Ethernet vs. UBS

    performance visual-studio tutorial question
    8
    0 Votes
    8 Posts
    4 Views
    D
    Compared to the interface choices he has? Yes, its a small amount. I didn't make any comparison to the the speed offerings of any ISP. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
  • Choosing the Programming language for a microcontroller

    hardware tutorial java
    2
    0 Votes
    2 Posts
    3 Views
    H
    i know some of modules can convert the LAN to Serial Port. It also comes with a Java and C lib, for web application, i chose the java. for your case, maybe you can try the processor work with such kind of modules. it can save you alot of time by using the java lib.
  • hardware serial numùber

    hardware
    2
    0 Votes
    2 Posts
    3 Views
    D
    Most manufacturers don't expose this information using any programming technique. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
  • How to control muliti DVD Burner in same time.

    tutorial question
    2
    0 Votes
    2 Posts
    2 Views
    D
    Unless you have some special hardware supplying the data, I doubt the bus could even keep up feeding these drives data to burn all at the same time! RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
  • Help needed on developing USB application

    c++ help question
    3
    0 Votes
    3 Posts
    2 Views
    R
    This will be a normal LPT port. So you don't need write drivers for usb. To work with LPT from your program you need a DLL that has API for it. Se this http://www.begemotik.ee/e107\_plugins/content/content.php?type.1.content.2 below is a link to download DLL.
  • WTF

    help question
    19
    0 Votes
    19 Posts
    7 Views
    R
    your system might be infected with virus. try installing an antivirus program.
  • CD Real Serial Number

    tutorial question csharp c++
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • google earth

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Reading data Samples from sound card

    help graphics game-dev tutorial
    2
    0 Votes
    2 Posts
    4 Views
    T
    Watch for 1) http://www.codeproject.com/audio/VoiceRecording.asp[^] or 2) http://www.codeproject.com/cs/media/cswavrec.asp[^] 3) http://www.un4seen.com/[^] for BASS Com object lib. :-D -- modified at 9:55 Wednesday 8th March, 2006
  • LCD DISPLAY CONTROLLER

    question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • WDF driver installation

    question help
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • How to open a **.exe file in a wdm driver program?

    question json tutorial
    6
    0 Votes
    6 Posts
    2 Views
    B
    Oh yes, running a process from KernelMode CAN be done, though it is complicated.. Here it is: By: valerino I don't think this code needs any comment. Say welcome to usermode calls in kernel land..... with this technique you can even call MessageBox from inside your driver. No more ugly non-working phrack samples, this is the real stuff :) 1) The APC injector //************************************************************************ // NTSTATUS UtilInstallUserModeApcForCreateProcess(char* CommandLine, PKTHREAD pTargetThread, PKPROCESS pTargetProcess) // // Setup usermode APC to execute a process //************************************************************************/ NTSTATUS UtilInstallUserModeApcForCreateProcess(char* CommandLine, PKTHREAD pTargetThread, PEPROCESS pTargetProcess) { PRKAPC pApc = NULL; PMDL pMdl = NULL; PVOID MappedAddress = NULL; ULONG size; KAPC_STATE ApcState; PKEVENT pEvent = NULL; // check params if (!pTargetThread || !pTargetProcess) return STATUS_UNSUCCESSFUL; // allocate memory for apc and event pApc = ExAllocatePool (NonPagedPool,sizeof (KAPC)); if (!pApc) return STATUS_INSUFFICIENT_RESOURCES; pEvent = ExAllocatePool (NonPagedPool,sizeof (KEVENT)); if (!pEvent) { ExFreePool (pApc); return STATUS_INSUFFICIENT_RESOURCES; } // allocate mdl big enough to map the code to be executed size = (unsigned char*)UtilUserApcCreateProcessEnd - (unsigned char*)UtilUserApcCreateProcess; pMdl = IoAllocateMdl (UtilUserApcCreateProcess, size, FALSE,FALSE,NULL); if (!pMdl) { ExFreePool (pEvent); ExFreePool (pApc); return STATUS_INSUFFICIENT_RESOURCES; } // lock the pages in memory __try { MmProbeAndLockPages (pMdl,KernelMode,IoWriteAccess); } __except (EXCEPTION_EXECUTE_HANDLER) { IoFreeMdl (pMdl); ExFreePool (pEvent); ExFreePool (pApc); return STATUS_UNSUCCESSFUL; } // map the pages into the specified process KeStackAttachProcess (pTargetProcess,&ApcState); MappedAddress = MmMapLockedPagesSpecifyCache (pMdl,UserMode,MmCached,NULL,FALSE,NormalPagePriority); if (!MappedAddress) { // cannot map address KeUnstackDetachProcess (&ApcState); IoFreeMdl (pMdl); ExFreePool (pEvent); ExFreePoo
  • How to get drive lettle in driver program?

    json tutorial question
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • sir,can you help me?

    question help
    6
    0 Votes
    6 Posts
    2 Views
    M
    Hi! fat_boy, Thank you very much!I will have a try.
  • What kenel API does wdm driver use to open a exe file?

    json question
    3
    0 Votes
    3 Posts
    4 Views
    L
    ZwCrteateFile() is the kernel call to open any file. Nunc est bibendum
  • 0 Votes
    2 Posts
    3 Views
    E
    nripun wrote: I am a novice when it comes to h/w , so please pardon incase me post sounds funny to anyone here basically it will come down to your choice in embedded system. There are few standards in embedded systems. In fact you can even get a PC based embedded system, kiosk style or much smaller. Image collection will be even less uniform, we use one brand of capture boards which includes a image processing library (though we found that Intel's was faster). In the end, "how" will come down to what hardware you choose for the embedded system. _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
  • Importing GPS data into Matlab

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Tranfering files by Modem

    json help
    4
    0 Votes
    4 Posts
    5 Views
    T
    sockets through TCP is the right way... TOXCCT >>> GEII power [toxcct][VisualCalc 2.24][3.0 soon...]