Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Oxymoron
  • Order by date
  1. Oxymoron

    Assembly.LoadFrom(string) - help!

    I am using the code below to load an assembly from a .dll file. Each of the classes contained within are inspected to see if they implement my “IControl” interface. If they do, I began reflecting them to look at their properties and especially their custom Attributes. To look at their custom...
  2. Oxymoron

    XMLReader & XMLWriter

    Hello. I'm primarily a Java programmer but have just started using C#. I'm trying to write all attributes in a class to an XML file which I can do by explicitly naming the nodes and attributes to be written to the XML file. However in Java you could just pass the object to write to XML to the...
  3. Oxymoron

    How do i set a processes priority using win api????

    Hi, I've made a small program which listens on the parallel port for incoming data. The program works fine but uses alot of cpu time since it has an infinite do...while loop which listens. Is there a windows api method which can set a process' priority. I've heard there's one called...
  4. Oxymoron

    how do I wait x number of milliseconds??

    Hi. Using just an iterative loop I want to wait for say 400 ms. I dont want to use the sleep program, but if there are any other C functions or a way of figuring out how many iterations make up a millisecond that'd be great! Any and all suggestions welcome. Many thanks, jOe we are all of us...
  5. Oxymoron

    Parallel port at address 0x378 to 0x37F wont work????

    Hi again. I've just taken the case off my parallel port wire and have found that pins 2-4 (D0-D2) are not connected to any wires! How then do I send data of < 8??? Also, I'm still having problems sending specific data amounts to the data port. If I send 0x00 to the data register then toggle...
  6. Oxymoron

    Parallel port at address 0x378 to 0x37F wont work????

    Thankyou both, I understand it alot better now! Will get back to you if I have any further problems. (Have studied alot of the links given also) Many thanks, jOe we are all of us living in the gutter. But some of us are looking at the stars.
  7. Oxymoron

    Parallel port at address 0x378 to 0x37F wont work????

    Thankyou for your help. I'm still having trouble with my program though. This is my C code: ----------------------------------------------------------- #include <stdio.h> #include <windows.h> /* Definitions in the build of inpout32.dll are: */ /* short _stdcall Inp32(short...
  8. Oxymoron

    Parallel port at address 0x378 to 0x37F wont work????

    Hi, The title of my question is a little misleading. I am currently playing about with parallel port programming in windows xp using the C and the inpout32.dll (needed for access to the port). I have an LED connected to pin 25 (ground) and pin 5 (one of 8 data outs), and using a program I have...
  9. Oxymoron

    How to detect keypress in console?????

    Darwin on Mac OS X, but i want to the program to be compatible with all ANSI C compilers, and ideally work on Free BSD unix. we are all of us living in the gutter. But some of us are looking at the stars.
  10. Oxymoron

    How to detect keypress in console?????

    Hello, I'm a bit of a C newbie, and was wondering how I would go about detecting when a key has been pressed in a C program without the user having to signal the end of the input with a linefeed. (I want to be able to store users' past input, and when they press the UP arrow, their last command...
  11. Oxymoron

    Is Java's Object[] array a Linked List or ArrayList????

    Hi. Can anyone tell me or point me to some documentation explaining how Java's Object[] array implementation is??? Are elements stored next to each other in memory like C? Or is it like a linked list and each element points to the next? Because I'm finding Java's array notation is alot quicker...
  12. Oxymoron

    JVM accessing Objects compared to array notation??????????

    Hi, Can anyone tell me any resources or information concerning how the JVM accesses Objects in memory. Also how does the JVM access objects or types using the normal array notation. e.g. myLinkedList.get( i ); compared to myNormalObjArray[ i ]; Any information would be really useful...
  13. Oxymoron

    C files from Mac to Unix cause segmentation fault!

    Dear all, Please help, I've been working really hard on a uni project and have finished the project and my C program works fine written, compiled and run on the Mac iBook using Darwin and the gcc compiler that comes with it. I compile it always with the -ansi flag too. I tried compiling these...
  14. Oxymoron

    do...while loop problem

    Hello, just a quick question. Does anyone know why this do...while loop wont evaluate to true when either 'y' or 'n' is entered? do { printf("\nDo you wish to add more results manually?: "); scanf(" %c", &choice); }while((choice != 'y') || (choice != 'n')); However, when the...
  15. Oxymoron

    Is Initialising int's on OS X different to Unix??

    Hi, I'm a newbie C programmer, Iv been doing some small exercises using the gcc compiler on OS X, and am a-bit confused. In C I was told when you initialise an int, but do not assign it a value (int i;) it would assume an arbitary value. However on my Mac int i; will assign i the value 0. More...
  16. Oxymoron

    AIRPORT compatiblity question

    Hi, I'm thinking of getting an Airport card for my apple iBook, but don't know whether it wuold be compatible with the Thompson Speedtouch 570 wireless router???? I do not want to have to buy the airport base station too. Any and all suggestions would be very useful. Thankyou all, Oxy we are...
  17. Oxymoron

    How do I make a HASH (#) ascii character???

    Hi, I have just bought an apple iBook with OS X, and love it. However, there is no hash ascii character (#) on the keyboard and i need one for my university password. Any ideas how i can make one without copying it from a document? any and all suggestions welcome!! cheers, oxy we are all of...
  18. Oxymoron

    is OS X compatible with Unix software??

    Hi, I'm thinking abuot getting an Apple iBook running OS X, but want to know beforehand whether the Unix core allows users to run any/all Unix software? Or does the core just provide stability and security. Any suggestions, information or links would be great! Thankyou all, Joseph we are all...
  19. Oxymoron

    How do I save an Image object to file???

    Hi all, I have this line of code: RepaintManager manager = RepaintManager.currentManager(component); Image myImg= manager.getOffscreenBuffer(component, compWidth, compHeight); which captures a screen dump (as-it-were) of a swing component. I want to save this image ideally to a microsoft...
  20. Oxymoron

    Which is better: Object Output Stream or XMLEncoder???

    Hi. I was going to use XMLEncoder to store a variety of objects in an XML file. However I realise it can only store Java Bean's. Does XMLEncoder not save Object types as class attributes??? Also, in anyone's oppinion, which is better, ObjectOutputStream or XMLEncoder? Any and all comments...

Part and Inventory Search

Back
Top