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 bkrike 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: MarkLaz
  • Content: Threads
  • Order by date
  1. MarkLaz

    Struct to Byte array

    Hello all, A relatively simple question I hope. I would like to convert a structure to a byte array, I thought the best way to do it would be by either incrementing a byte pointer for the start of the struct and writing it in, within a loop. Am I barking up the wrong tree? Is there a...
  2. MarkLaz

    Critical Sections....

    Good Morning (afternoon/evening) All, I am writing some code that explicitly accesses a piece of hardware on the PCI slot. This hardware can only be written to/ read from by one function/process/thread at a time. Due to the complexity of the program, I can't really put all the read and...
  3. MarkLaz

    While loop, Y or N answer...

    while (ReadyCheck(hSmx) == aCount); can I do this? I want the program flow to halt, repeatedly calling ReadyCheck() until it returns a value equal to aCount, ie, same functionality as: while (true) { i = ReadyCheck(hSmx); if (i == aCount) break; } I ask because I want to keep my...
  4. MarkLaz

    Structure...

    Hello all, Can I put a structure in a header file (as in, for use in main body of code, but to keep things tidy)? Cheers....
  5. MarkLaz

    Writing a hex value to a variable

    Hello again everyone, I need to write a hex value (0xA0A0) to a variable (int I suppose) but I'm not quite sure how to accomplish this. Does anyone have a suggestion? Thanks Mark
  6. MarkLaz

    DLL

    Hello all, Simple question for you I guess. I have a header file, a dll and a library file (all supplied by a third party) that I want to include and use in my code. How do I do it? I'm new to it (can you tell?) so a dummies guide would be much appreciated. Cheers Mark

Part and Inventory Search

Back
Top