Solved

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

Posted on 1998-12-02
4
576 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

809 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