468,301 Members | 1,532 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,301 developers. It's quick & easy.

copymemory wm_copy issue

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
2 1330
Jerre
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
1,754 Expert 1GB
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.

Similar topics

1 post views Thread by Mikael Lundberg | last post: by
5 posts views Thread by RaviAmbani | last post: by
5 posts views Thread by active | last post: by
9 posts views Thread by Paul W | last post: by
10 posts views Thread by Dennis | last post: by
3 posts views Thread by vb newbie | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.