Re: use a DLL created in Visual Foxpro 9 in VB6 sp5

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Jeff,

I Used these 3 API

URLDownloadToFile , InternetCheckConnection ,DeleteUrlCacheEntry

So VB Can Access method with '_' ?

I just Tried to open the dll with Object Browser and I am able to see all
the Method of my dll Except that Each Method start with '_' is Hidden?

thanks in advance.

Samir Ibrahim

"Jeff Johnson" <i.get@xxxxxxxxxxx> wrote in message
news:DoudnYDziJznkarVnZ2dnUVZ_qXinZ2d@xxxxxxxxxxxxxxxxx
"Samir Ibrahim" <samir.ibrahim@xxxxxxxxxxx> wrote in message
news:%23fi0jAMvIHA.3792@xxxxxxxxxxxxxxxxxxxxxxx

I have created a DLL in VFP9 and I include _ in the beginning of the
Method name such as mydll.._MyMethod()

Why? What other API have you used that did this? Outside of a very few
things in the Windows API, I've never seen it, and as such would never
copy such a convention. Sometimes "following the crowd" is a good thing.



.



Relevant Pages

  • Re: RUNDLL32.EXE
    ... 0x66800000 0x155000 Windows Shell Common Dll ... 0x75FA0000 0xA000 BSD Socket API for Windows ... 0x794D0000 0x15000 Microsoft WinSock Extension APIs ...
    (comp.security.firewalls)
  • Re: ZoneAlarm -- Alert for "Run a DLL"
    ... I am blocking it from accessing the internet also... ... DLL file called SENSAPI.DLL. ... 0x60000000 0x5000 SENS Connectivity API DLL ... 0x794D0000 0x15000 Microsoft WinSock Extension APIs ...
    (comp.security.firewalls)
  • Re: API PrntDlg function
    ... You're supposed to also follow the instructions to register the DLL using ... more or less the same job without requiring you to use any API functions. ... anything to the chosen printer you still need to use the VB Printer Object ... printing methods in the normal way. ...
    (microsoft.public.vb.general.discussion)
  • Re: Polymorphism using DLL Declares?
    ... same API. ... MustOverride prototypes for the DLL calls, ... SecondDll, and ThirdDll, and have the Declares override the DLL api ... Public MustInherit Class PublicApi ...
    (microsoft.public.dotnet.languages.vb)
  • Re: D3DXSaveSurfaceToFile() does not exist under C#!
    ... >> You will have to use interop to call API methods in the dll. ... >> Tom Tempelaere ... You will have to map the functions you use from the API, ...
    (microsoft.public.dotnet.languages.csharp)