Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 19 APR 2002 10:30:23AM Colin Rule wrote:

I am trying to get my app into OI32, and I have many external API calls to DLLs, including KERNEL32.

I have changed the DLL declarations in SYSPROCS from KERNEL to KERNEL32 and run the DECLARE_FCNS.

When the program calls the DLL it cannot find the function call.

For example, GetSystemDirectory.

It reports that it cannot find it in KERNEL however.

I have changed this to GetSystemDirectoryA (ir giving it a new name)and this works.

It is necessary for me to rename all the commands, or is there some way to get the system to clear our all the DLL links and start again.

Or.. perhaps I am doing things in the wrong manner.

Is there a document that describes moving to 32 bit DLLs?

Help pleaseā€¦.

Colin


At 19 APR 2002 10:57AM [url=http://www.sprezzatura.com" onMouseOver=window.status= Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

Colin

Revelation have provided 32 bit definitions for the DLLs that were provided in OI16. If a developer prototypes their own DLL definitions it is that developer's responsibility to prototype the corresponding Win32API definitions where it is possible to do so. (Some commands have been removed necessitating usage of alternative routines).

If you have any problems feel free to drop us a mail as we've gained a lot of experience with this moving our various utilities into 32 bit OI!

The Sprezzatura Group

[i]Celebrate CeBIT with Sprezz Local![/i]


At 19 APR 2002 11:13AM Mike Ruane wrote:

Colin-

Check out msdn.microsoft.com for tips on changing to 32-bit dlls. The A addition to the dll name is for Ansi, as the version of OI32 you are working with is the Ansi version, not a Unicode version. We also now use the STDCALL calling convention. From the new documentation:

If you are unsure of the calling convention for a function, assume that it is STDCALL.

Hope it helps-

Mike

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/b508926b2b7b319f88256ba0004faf9e.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1