Thread: Troubleshooting DDE

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    2

    Question Troubleshooting DDE

    I'm not a C programmer but I need to troubleshoot a problem with some C code that does DDE peeks and pokes with Excel.
    The peeks work fine but when poking, only the left 5 characters of any string are poking. The only thing I can think of is that a variable involved with the poke is not typed correctly. Any suggestions on what I should look for?

    Thanks,
    Dave

  2. #2
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    Wow, not a real great discription, but maybe you should see about the size of the string you're putting it into. If you the size is too small, it won't store those x amount of last chars.

    --Garfield
    1978 Silver Anniversary Corvette

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    2

    Troubleshooting DDE

    Thanks and sorry about the weak description. Fact is.. I won't see the source until next week but I hoped to get as much advice as possible because I won't have long to resolve the problem.
    As for the string size, that is what I meant by "typed wrong", including size with type. Sorry for the confusion.
    Anyway I will review the sizes of all variables.
    Thanks again.
    Dave

  4. #4
    the Corvetter
    Join Date
    Sep 2001
    Posts
    1,584
    No problem. Tell me if that works when you get the source.
    1978 Silver Anniversary Corvette

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My program needs troubleshooting...
    By Rockiroad278 in forum C Programming
    Replies: 7
    Last Post: 12-16-2007, 08:34 PM
  2. confused n need urgent troubleshooting on C++ program
    By tezr87 in forum C++ Programming
    Replies: 2
    Last Post: 06-01-2006, 04:38 AM
  3. Troubleshooting code
    By bcianfrocca in forum C++ Programming
    Replies: 11
    Last Post: 11-17-2005, 05:46 PM
  4. Obscure errors, troubleshooting, anyone?
    By Golbez in forum Game Programming
    Replies: 5
    Last Post: 11-02-2002, 11:29 PM