Re: DLL or OCX calls from VB

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jonathan Wood (jwood_at_softcircuits.com)
Date: 12/28/04


Date: Tue, 28 Dec 2004 13:12:16 -0700

If you need to call standard DLL functions (not object methods), there is a
free DLL on our Web site that will allow you to call a function from a
pointer (which you can obtain using LoadLibrary and GetProcAddress).

-- 
Jonathan Wood
SoftCircuits
http://www.softcircuits.com
Available for consulting: http://www.softcircuits.com/jwood/resume.htm
"Derek" <Derek@discussions.microsoft.com> wrote in message
news:BB3666C8-D9B4-468F-B46A-7F2C01F8A590@microsoft.com...
> I am trying to make an app that will be able to: call functions with
return
> values from an OCS or dll. The trick is that I will NOT know the name of
the
> functions until runtime. At runtime I will be able to get the name of the
> function. I will know what the return values will be (string, number,
etc.)
> and how many retuurn values will be there. I just need to know if there is
a
> way to call a function from a known dll or ocx file, but without knowing
the
> function names at design time.
> Thanks for any help.


Relevant Pages

  • Re: Whats diference?
    ... However Bruce asserts that Web Site projects are preferable, ... using it since the beta version of it and I only have the one dll for the ... that visual studio compiles the codebehind files into one dll, ... in a web site the pages are independent and if a page references another ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Dumb question
    ... With both you can make a DLL. ... each one is a class project. ... Second project has aspx files in it and a webconfig file, ... I'm not used to doing web site ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Finding all Web Forms in a web site using reflection
    ... class that inherits System.Web.UI.Page) in the same assembly don't show ... seperate dll. ... Development Server and a web site published with the ASP.NET compiler ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: where did my dll go?
    ... By default with Publish Web Site command in VS2005 ... If you want to get to the model where you get single dll for building the ... Deployment Project add-on. ... you'll have an App_Licenses.dll in the bin folder. ...
    (microsoft.public.dotnet.framework.aspnet)
  • CHttpFile problem accessing HTTPS from ATL
    ... And i want to access from this component some secure web site ... to post data. ... Then i extract this code and put in separated dll. ... whatever i put as method it issue "GET" to the server and never "POST" ...
    (microsoft.public.vc.atl)