SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Oct 2002
    Location
    Calgary, Alberta, Canada
    Posts
    101
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Using pointers in windows API SendMessage()

    Hi,

    I am currently working with a custom grid control that Silk Test has many problems interacting with. One solution I am trying is to develop a SendMessage(hWnd, message, wParam, lParam) format so that I can send windows messages to the control, and the developers can write code to interact with my messages. Does anybody know how to create pointers to standard C datatypes using Silk Test commands that I can use in SendMessage?

    - NOTE: I read the User's Manual portion on sending pointers to DLL's, but this doesn't seem to work for SendMessage (since it expects type WPARAM AND LPARAM - unsigned int). Is there an address of operator or anything similar in Silk?

    ------------------
    Beware of bugs in the above code; I have only proved it correct, not tried it.
    --Donald Knuth

  2. #2
    Senior Member
    Join Date
    Oct 2001
    Location
    NC, United States
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Using pointers in windows API SendMessage()

    as far as i know there are no pointers in ST, usually strings are used instead. the LPARAM and WPARAM are declared in the mswtype.inc.

    ------------------
    -gram
    -gram

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 04:19 PM.

Copyright BetaSoft Inc.