Re: memory issue
- From: Ben <Ben@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Jun 2005 14:32:02 -0700
Thanks, guys. I'd tried Mike's suggestion too but came to no aval Simply
because I am accessing my dll exclicity at an access point. Loadlibrary
doesn't allows that it, instead it loads in an entire dll. I was supposed to
past a set of data trees to my fortran dll and it's going to fill up those.
Utilitizing loadlibrary method won't allow me doing that.
Anyone know if there is a site with proper instruction how communicate with
a COM, and memory related stuffs? Is it even possible to port my fortran dll
as a COM, anyone knows?
Thanks.
"Michael C" wrote:
> "Tom Esh" <tjeshGibberish@xxxxxxxxxx> wrote in message
> news:d7h6c1d7co94amnbu3fjakrl6ghul410p1@xxxxxxxxxx
> > VB loads the library dll the first time you call one of it's declared
>
> Hey Ben,
>
> Try this sample. Extract the files to a directory and double click
> project1.vbp in the debug directory and then push f5 to run the project.
> Push the "SomeFunction" button with task manager open and you'll see the dll
> load into memory and allocate 128MB of ram. If you hit it again it won't
> allocated any more ram so hit it as many times as you like. Then push
> LoadLib and then FreeLib twice and you'll see the memory go back down as the
> dll is unloaded. At this stage if you hit the SomeFunction button again vb
> will crash. But all you've got to do to get around that is push LoadLib
> again.
>
> http://mikesdriveway.com/misc/TestLoadLib.zip
>
> Michael
>
>
>
.
- Follow-Ups:
- Re: memory issue
- From: Michael C
- Re: memory issue
- Prev by Date: Re: MSHFlexGrid ShowCaret...
- Next by Date: VB.NET -- how pass data between forms
- Previous by thread: Re: MSHFlexGrid ShowCaret...
- Next by thread: Re: memory issue
- Index(es):