Solved

CopyMemory question

Posted on 2002-06-03
12
278 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 2
  • 2
  • +1
12 Comments
 
LVL 38

Accepted Solution

by:
PaulHews earned 25 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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
Course of the Month5 days, 19 hours left to enroll

626 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