Solved

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

Posted on 2013-01-05
3
220 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 45

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 45

Expert Comment

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

Marty - MVP 2009 to 2012
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

746 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

15 Experts available now in Live!

Get 1:1 Help Now