Solved

API's 16 to 32 bits(changes)...

Posted on 1998-12-02
4
571 Views
Last Modified: 2008-03-03
We use in VB3 application the next API's:
GetModuleHandle,
GetWinFlags,
GetFreeSpace
We need to upgrade the application to VB5(32bits), but, these API's does not exist in 32 bits,
How we can to replace these API's?
0
Comment
Question by:ogarcial
  • 2
4 Comments
 
LVL 2

Expert Comment

by:Poddy
ID: 1447892
it depends what you are trying to do
0
 
LVL 2

Accepted Solution

by:
trillo earned 50 total points
ID: 1447893
GetModuleHandle = GetModuleHandle (This is still available in Win32, but you can also use the LoadLibrary function)
GetWinFlags = GetSystemInfo
GetFreeSpace = GlobalMemoryStatus

If you need the functions' prototype, just tell me

Trillo
0
 

Author Comment

by:ogarcial
ID: 1447894
Thank you
0
 

Author Comment

by:ogarcial
ID: 1447895
I´m so glad
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Paint/Redraw window while dragging 16 68
MS Date Picker 64 bit 32 bit issue 12 49
MS SQL store procedure to calculate and return result 6 49
vbModal 12 35
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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

920 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

14 Experts available now in Live!

Get 1:1 Help Now