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 SkipVought 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: *

  1. MacGyverS2000

    USB driver enumeration failure at high levels

    Some more info, just in case anyone has suggestions: If the driver is installed while the peripheral is plugged in to a high-level port (say level 5), it will continue to operate appropriately. If the peripheral is unplugged and plugged back into a lower-level port (say level 4), it will no...
  2. MacGyverS2000

    USB driver enumeration failure at high levels

    Not quite a C# question, but figured this was the best place to ask... On an embedded system project, we're in need of a lot of USB ports. The motherboard itself has two hubs. Hub level 1 has several ports (which we do not have direct access to), and the hubs connect here. Therefore, the...
  3. MacGyverS2000

    MDI child window titlebar max/min/close buttons

    Miros, Thanks for the suggestions, but I decided to take another tack on this one... I'm rewriting it from scratch ;-) Needless to say, the program now offers a LOT more functionality with a LOT less headaches.
  4. MacGyverS2000

    Loading custom control/DLL into toolbox

    A quick bump to the top. I haven't resolved this issue yet, and so far no amount of Googling has provided a solution.
  5. MacGyverS2000

    Random picked numbers

    Why can you not pre-generate them? A number that's random at 4:45 is going to be just as random at 8:20. Generate 12 random values at 8:00 and place them into an array... call it Value. Also at 8:00, generate another 12 random numbers between 1 and 120, also placed into an array... we'll call...
  6. MacGyverS2000

    Loading custom control/DLL into toolbox

    I created a custom progress bar control and compiled it into a DLL. I added it to the IDE's toolbox, but it appears grayed out. Do I need to do something special when creating the DLL itself or when adding it to the toolbox? This is in Visual C++ .net, 2002.
  7. MacGyverS2000

    MDI child window titlebar max/min/close buttons

    Modifying an existing program... The child window is a 2x10 frame with some pull-down menus at the top. I'm trying to get rid of the minimize, maximize, and close buttons at the top. The same buttons on the parent window should be the only ones available to the user. The window is created...
  8. MacGyverS2000

    Mutex arrays

    Ark, That's exactly what I was looking for... sometimes it's difficult to see the forest through the trees. After years of working with 2D arrays for graphics, I should have realized I needed to create/initialize each lock one at a time. A star for you :-)
  9. MacGyverS2000

    Mutex arrays

    Ah, I believe I have figured out the format (at least partially). Here was the original constructor: Foo::Foo():Mut1(FALSE, NULL, &Security), Mut2(FALSE, NULL, &Security), Mut3(FALSE, NULL, &Security), Mut4(FALSE, NULL, &Security) {} Everything after the...
  10. MacGyverS2000

    Mutex arrays

    Ark, thanks for the reply. I had to read your reply multiple times to get the jist of what you're saying, though I have to admit I still don't comprehend all of it. I'm not an OOP guy, and I'll have to wait until mid-February before my 5-day crash-course in C++ training happens, so until then...
  11. MacGyverS2000

    Mutex arrays

    I've come across a sticky wicket. I inherited a spaghetti code program that had four mutexes spelled out explicitly. In the public section of the class: CMutex Mut1; CMutex Mut2; CMutex Mut3; CMutex Mut4; With the following empty constructor: CFoo::CFoo():Mut1(FALSE, NULL, &Security)...

Part and Inventory Search

Back
Top