By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,058 Members | 1,336 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,058 IT Pros & Developers. It's quick & easy.

copymemory wm_copy issue

P: 2
Hello,
I'm working on a program to control a lightning program (Martin Lightjockey) and the way to do this is send a wm_user command. Lightjockey returns with a wm_copy command with a pointer where it has copied its functions.

Now all of this is working very fine on my desktop pc (in ide mode and compiled) but when I move the project to my laptop, where the program has to run, the list gets totaly messed up.

It seems like the memory place where the pionter ponts at is filled up whit mess. The basic list name I can get out of it, so the info is over there.
Now I know that the lightning program is doing the right thing because I've got an other program in delphi (not mine) wich is getting the list allright (just as on my desktop).

Anyone that can see a solution to this problem? I've tried to zeromemory the part after reading, copymemory all bytes to zero, ....

code
ide: Vb6
Nov 28 '06 #1
Share this Question
Share on Google+
2 Replies


P: 2
Ok,
I've recompiled the program on my laptop and now everything is working fine.

Anybody got an explanation?!?
Nov 28 '06 #2

sashi
Expert 100+
P: 1,754
Ok,
I've recompiled the program on my laptop and now everything is working fine.

Anybody got an explanation?!?
Hi there,

This is common when it comes to different environment (OS), sometimes this is also caused by different version of runtime file. Anyway, good luck & Take care.
Nov 30 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.