Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

CopyMemory question

Posted on 2002-06-03
12
Medium Priority
?
284 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 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
Technology Partners: 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

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!

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

730 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