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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Saul775

  1. Saul775

    MouseProc OneShot

    Hello: I'm trying to accomplish a "One-Shot-Hook" on a WM_LBUTTONUP. When I mean one-shot, I mean I just want to hook the WM_LBUTTONUP ONCE and attain the x- and y-coordinates of the click. After the button is up on a specific window, I want the hook to be removed. I've completed an...
  2. Saul775

    Memory Allocation for a Function?

    Is it possible to allocate memory for a function? I'm running a program that consumes massive amounts of memory. I'm also interfacing with this program and checking various states of the program. After the program reaches a specific state, I exit my message loop and destroy my interfacing...
  3. Saul775

    Graphics in VC++

    I'm not really sure what you're trying to do, but here's a suggestion. I'm not sure if you're familiar with PGM and PBM files. You could look into these if you'd like. PGM has a range of 256 black and white colors, while PBM black or white. If you import from the PGM or PBM, you can put it...
  4. Saul775

    Debugging Error Message

    It just means that you have made a change to a file, which the program you created is dependent upon. It's not really an error. It's just instructing you that you have to update the program because you've changed a file. If you acknowledge it and say, "Yes." It will recompile your code. If...
  5. Saul775

    indefinite string entry

    Well, there's a couple of ways you can accomplish this. First, create an array of a large size that you know will not be exceeded. char largearray[100000]; Another approach, you can use a character pointer. The only problem with this is that if the string is REALLY large, you might...
  6. Saul775

    VARIANT Data Type

    Well, I solved the problem. One must note that a variant was passed into the function, and the type (data.vt = 8204). Well, while looking at the types, I determined that VT_ARRAY (8192) accompanied a bit-wise OR with VT_VARIANT (12), yields 8204, which is data.vt. In all, it's an ARRAY of...
  7. Saul775

    deleting multiple items from a list

    The code looks good, but the only discrepancy that I can see is that you should make currPtr a pointer... bool LinkedList::deleteFirstN(int N) { nodePtr* currPtr; // Not nodePtr currPtr; ... }
  8. Saul775

    VARIANT Data Type

    That is to say, when I try to acquire the value in the following fashion... float x; x = data.fltVal; or float x; x = (float)data.fltVal; *shrugs* I thought casting it might help. It doesn't. Any help would be much appreciated. Thank you, all.
  9. Saul775

    VARIANT Data Type

    Hello: I've a question about VARIANT. I'm calling an ActiveX method called GetData(). VARIANT data; Client->GetData(1, 1, 1, 1, &data); The arguments in the .tli are as follows... inline enum ReturnValue Server::GetData(short Address, short Parameter, short StartIndex, short NumValues...
  10. Saul775

    Automation Server

    Hello: I was trying to obtain some information from a control on a custom application. It seemed like I could GetWindowText(...) on the window, but it returned "". After using Spy++, I determined that the control was actually using WM_PAINT to display the information I needed. I contacted...
  11. Saul775

    Button Identification

    Hello: I'm trying to interact with another application running on the computer. It has some buttons that need to be sent some WM_LBUTTONUP. I'm using Spy++ to determine the buttons; however, I have twenty-five buttons on the window, they all are of the same class, and they all have a caption...

Part and Inventory Search

Back
Top