Solved

Killing function execution in a third-party DLL writen in C++ from within a VB6 program

Posted on 2013-01-05
3
221 Views
Last Modified: 2013-01-21
I 've the following situation. From within a Visual Basic 6 app I call a function in a third-party DLL. This function waits for a physical event in order to terminate (eg.: touch a scanner screen), but that does not always happen.

Can I kill that execution from my VB6 app?

Tks in advance,
LR
0
Comment
Question by:leorocha
  • 2
3 Comments
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 38746868
I don't believe you can do that unless the dll provides an entry point to that functionality.
0
 

Author Closing Comment

by:leorocha
ID: 38801507
Sorry, out of office.
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 38801730
Not a problem. Glad I was able to "help".

Marty - MVP 2009 to 2012
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

929 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now