|
-
Apr 15th, 2000, 01:15 AM
#1
Thread Starter
New Member
I am writing a program that passes an AddressOf to a dll. The dll interfaces between my program and some attached hardware. When the hardware issues an event the AddressOf function is called. When I try to access any other function or variable the program crashes. Microsoft has stated that the cause of the crash is due to an access violation. The calling dll creates a new thread and then calls the AddressOf function ergo the access violation. Article ID Q198607 explains it. Now I have contacted the manufacturer and they say its Microsoft's problem. It use to work in VB5 but no longer in VB6. I for one think it should work in VB6 but until that comes to pass I'm stuck.
Has anyone come across this problem and solved it? I don't want to write the system in C++.
I need a response in a hurry.
Many Thanks!
Jerry
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|