Interactive PowerBasic Forum

IT-Berater: Theo Gottwald (IT-Consultant) => SDK and Third Party Know-How => Topic started by: José Roca on December 30, 2007, 09:20:05 AM

Title: Using MSVCR80.DLL with PowerBASIC
Post by: José Roca on December 30, 2007, 09:20:05 AM
 
MSVCR80.DLL is the C-Runtime Library for Microsoft Visual C 2005.

To use it with PowerBASIC we need to follow these steps:


Example of resource file: MSVCR80.RC


1 24 "Microsoft.VC80.CRT.manifest"


Once compiled with the resource compiler (RC.EXE), include it in your application as follows:


#RESOURCE "MSVCR80.PBR"

Title: Re: Using MSVCR80.DLL with PowerBASIC
Post by: Greg Lyon on February 20, 2008, 05:17:40 AM
José,

Thanks for posting this, it helped me understand how to get a MASM program working that uses MSVCR80.DLL. It's the same principle and it also works for programs that use MSVCR90.DLL. I attached an example that does not require the DLLs to be copied to the application folder. It uses a slightly different manifest.

Title: Re: Using MSVCR80.DLL with PowerBASIC
Post by: Edwin Knoppert on February 20, 2008, 09:39:40 AM
Afaik this is a code library?
Why is the manifest needed?
Or is it a control's library?
Title: Re: Using MSVCR80.DLL with PowerBASIC
Post by: José Roca on February 20, 2008, 11:13:13 AM
 
Quote
Afaik this is a code library?

As stated in the first paragraph of my first post "MSVCR80.DLL is the C-Runtime Library for Microsoft Visual C 2005."

Quote
Why is the manifest needed?

Because M$ wants it.