Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Problem in 'hello world' program

hello world

  • Please log in to reply
16 replies to this topic

#13 RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1311 posts
  • Location:C:\Countries\US
  • Programming Language:C, Java, C++, PHP, Python, JavaScript

Posted 14 September 2011 - 05:14 PM

Isn't it possible to write drivers in assembly language? Or is WDK already assembly language and I'm being silly? :)

But for Windows executables it is possible to change things inside the file, if you have the PE/COFF specification for reference on what you're doing.
  • 0

#14 mebob

mebob

    CC Devotee

  • Validating
  • PipPipPipPipPipPip
  • 467 posts
  • Programming Language:C, C++, Assembly
  • Learning:PHP

Posted 14 September 2011 - 06:04 PM

Of course you can write them in assembly language, but you still need to use the WDK (I'm pretty sure so).
  • 0
Latinamne loqueris?

#15 RhetoricalRuvim

RhetoricalRuvim

    JavaScript Programmer

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1311 posts
  • Location:C:\Countries\US
  • Programming Language:C, Java, C++, PHP, Python, JavaScript

Posted 14 September 2011 - 08:26 PM

By 'assembly language' I mean something like writing a program in NASM, linking with ALINK, then changing the filename from *.exe to *.dll

There must be some way to do it like this, I think.
  • 0

#16 mebob

mebob

    CC Devotee

  • Validating
  • PipPipPipPipPipPip
  • 467 posts
  • Programming Language:C, C++, Assembly
  • Learning:PHP

Posted 15 September 2011 - 11:55 AM

I wouldn't count on it, really. I think there is more to making a driver than just compiling a DLL. But, why would you make an EXE and change it to a DLL instead of just linking it as a DLL?
  • 0
Latinamne loqueris?

#17 Gunner

Gunner

    CC Regular

  • Member
  • PipPipPip
  • 47 posts

Posted 15 September 2011 - 01:25 PM

DDK I have contains 12,997 files and 1,193 folders. I got the cd figuring one day I will toy with making a driver for something. From what I understand, drivers have different entry points than exe and dlls. Use different API calls, have to be signed (one of the reasons I finally got a code signing cert). The samples are in C/C++ but you use ASM if you want, just do some conversions. Drivers run in RING0 so it is more than changing the file extension...
  • 0





Also tagged with one or more of these keywords: hello world

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download