Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CopyMemory question

Posted on 2002-06-03
12
Medium Priority
?
290 Views
Last Modified: 2011-09-20
I am trying to use a class I found on a website called CSHFileOp and is located here:

http://www.softcircuits.com/dev/vb_res/tip200106.shtml

When I attempt to use it it dies as soon as it hits the first CopyMemory statement in the code. Can someone else try this class and see if it is something I'm doing wrong? If so, what is giving me the problems? Is it because I'm doing it under NT? I have checked the code twice now and everything looks fine in what I have. Any clues to what is going on? Thanks for any help,

guidway
0
Comment
Question by:guidway
  • 7
  • 2
  • 2
  • +1
12 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 100 total points
ID: 7052171
What error are you getting?  Tried it here on 2000 and works ok.
0
 
LVL 28

Expert Comment

by:vinnyd79
ID: 7052180
Tried it on NT and it worked.
0
 
LVL 12

Author Comment

by:guidway
ID: 7052184
Nothing. Just the entire program it runs with shuts down. No errors, no messages, nothing. Not even with a On error goto statement.  Did you do anything different to the code?
Thanks for the help,

guidway
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 28

Expert Comment

by:vinnyd79
ID: 7052188
What NT service pack are you running?If you are not running SP6a,try installing it and see if it helps.If you are running SP6a,try re-applying it.
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 7052195
No I didn't change anything.  CopyMemory works fine on NT.  Make sure you are setting up the class properly (not adding too many source files and not enough destination files or something like that.)
0
 
LVL 12

Author Comment

by:guidway
ID: 7052208
Strange... I do have SP6a on the computer. Maybe it is just something I did wrong. I'll try again. Are ya'll on as Administrator or would it not matter? I'm not. Thanks again, I'll let you know what happens. I'll try it and get back to you in the morning...

guidway
0
 
LVL 12

Author Comment

by:guidway
ID: 7052228
Strange enough I copied the class over again and now everything is working fine... Maybe I messed up something when I was transferring the file or something. Oh well. Thanks for testing it. I'll have a moderator split the points between ya'll so as to be fair. Thanks again,

guidway
0
 
LVL 12

Author Comment

by:guidway
ID: 7052244
Strange enough I copied the class over again and now everything is working fine... Maybe I messed up something when I was transferring the file or something. Oh well. Thanks for testing it. I'll have a moderator split the points between ya'll so as to be fair. Thanks again,

guidway
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7052332
I have refunded 25 points to you to help facilitate the point split you are about to process, as requested in your Community Support question request.
Thanks,
Moondancer - EE Moderator
0
 
LVL 12

Author Comment

by:guidway
ID: 7053616
PaulHews,

Thanks for trying that. Here are some points for the help.

guidway
0
 
LVL 12

Author Comment

by:guidway
ID: 7053634
vinnyd79,

I will give you some points, however I am having a slight problem because the form will not allow me to give you 25 points. I have asked the moderator to look into this issue for me. Thanks for your help and I will give you the points as soon as he responds to my posting. Thanks again,

guidway
0
 
LVL 12

Author Comment

by:guidway
ID: 7053681
vinnyd79,

Your points for this question are here:

http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=visualbasic&qid=20307627

Thanks for the help.

guidway
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question