473,382 Members | 1,635 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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 1423
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

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

Similar topics

1
by: Mikael Lundberg | last post by:
Hi! Just one question Is it legal to copy the array descriptor in this way : Dim lngArr1() as Long Dim lngArr2() as Long Redim lngArr1(2) as Long
5
by: RaviAmbani | last post by:
I am facing a problem in copymemory api in vb.net . the problem is that i have used copymemory api extensively in my project originally written in vb6.0 , now when i'm migrating my project to...
5
by: active | last post by:
Has anyone used CopyMemory with DotNet? In this instance I define it as: Private Declare Sub CopyMemory Lib "KERNEL32" Alias "RtlMoveMemory" (ByRef hpvDest As DEVMODE, ByRef hpvSource As Byte,...
9
by: Paul W | last post by:
Hello Group, I'm a .net newbie with a couple of questions. First, Debug.WriteLine() doesn't send any output to the immediate window, anybody know why that might be? Second, what is the .net...
4
by: Turtle | last post by:
I've been using SendKeys to automate a small utility which doesn't expose an automation interface, but ran into a problem, for which I found the suggestion that I use the WinAPI SendInput call...
10
by: Dennis | last post by:
I am trying to use CopyMemory to copy arrays as follows: Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByVal pDst As Long, ByVal pSrc As Long, ByVal ByteLen As Integer) ...
0
by: android | last post by:
Hi all. I should migrate old vb6 code in vb.net but I been clashed with the copymemory api! Here below is a vb6 method that manages the current sample of a waveform file in a buffer for retrieving...
0
by: akumar | last post by:
Hello Please send me the syntax of CopyMemory function in VB.net thnax akumar
3
by: vb newbie | last post by:
I need to copy the contents of one byte array to another one. I was hoping to do it quickly uisng the CopyMemory api call. However, I'm getting: FatalExecutionEngineError was detected...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.