Posted: Wed Feb 13, 2008 6:35 pm Post subject: stop running dll
Hi
In my vb.net application I use fortran dll for some calculations and I
was wondering how to stop running dll in the middle of the
calculations by pressing Esc key
Any help is welcome
Thanks
MK
Posted: Wed Feb 13, 2008 8:11 pm Post subject: Re: stop running dll
wrote in message @h11g2000prf.googlegroups.com...
> Hi
> In my vb.net application I use fortran dll for some calculations and I
> was wondering how to stop running dll in the middle of the
> calculations by pressing Esc key
> Any help is welcome
> Thanks
> MK
Boy... Off topic squared ... first comes the blurb...
This and all other groups on the MS server that start with
"microsoft.public.vb"
are for VB Classic (mostly VB5/6) and were in existance long before any .Net
products were released. While some of the code looks the same, they are very
different products and require a different set of groups.
Secondly, that Fortran DLL will need to specifically support the
functionality you require.... and I seriously doubt it does. Especially if
it's a "number crunching" dll. Doing calculations while checking for and
processing keystrokes takes considerably more time than just doing the
calculations. The author of that DLL probably optimized the code for
speed... which means... no keyboard/key processing support.
Posted: Fri Feb 15, 2008 5:50 pm Post subject: Re: stop running dll
wrote in message @h11g2000prf.googlegroups.com...
> Hi
> In my vb.net application I use fortran dll for some calculations and I
> was wondering how to stop running dll in the middle of the
> calculations by pressing Esc key
> Any help is welcome
The dll needs to raise some sort of event or callback. If the dll does not
support this then there is nothing you can do. If you have the source code
for the dll then you can add something that will raise a callback and check
for cancelling in that callback.
Posted: Fri Feb 15, 2008 5:51 pm Post subject: Re: stop running dll
"Bob Butler" wrote in message
news:%23ArdsoobIHA.1212@TK2MSFTNGP05.phx.gbl...
> wrote in message
> @h11g2000prf.googlegroups.com...
>> Hi
>> In my vb.net application
>
> VB.Net + Fortran? ROTFL
I see quite a lot of questions regarding fortran with .net lately.
How to stop an exe file running? Hi, I am developing a vb which can stop any exe(VC++) file that is running, how can I do it in vb6? Thanks joseph
stop the mouse Does anyone know how to stop the mouse from moving or have it move to the last position during a mouse move and Ctrl key being pressed down? I'm doing the code in VB 6, but any examples or solutions will be helpful.
Re:Stop Printing Hi All I am printing about 100 pages and if for some reason I want to stop printing Is there an API that can Cancel any printing on a printer. Thanks Garry
Stop form resizing Hi, I would like to stop a form from resizing when it reaches a certain size. I have been using the API function: Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtr
How do I stop an open process? Here is the deal: I have a VB program that opens and reads/writes to an EXCEL spreadsheet. This is done probably a couple hundred times over the course of several days and, every now and then, the program is interupted and when I look in the task manager
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum