File  : C:\cbproj\WSQ2\Borland_Project\readme_wb.txt
Date  : 2014-02-15
Author: Wolfgang Buescher, DL4YHF
See also: C:\cbproj\WSQ2\Notes_DL4YHF\WSQ2_Readme_by_DL4YHF.txt


This folder contains the project file to compile WSQ with Borland C++ Builder V6,
along with some notes about compiling and debugging WSQ with Borland.




How to use (not just "compile") PortAudio in a Borland C++ Builder project
--------------------------------------------------------------------------


From http://edn.embarcadero.com/article/20941 :
>
> Appendix B: Creating a dsound import library 	TOC
>
> Chances are that you are going to have to create a import library
> for the dsound.dll. If you have DirectX installed on your machine,
> this DLL will live in the windows/system directory. If you don't have
> DirectX installed, go to Microsoft's site and download the SDK.
> Here are the steps for creating the import library:
>    open a command prompt
>    change directories to the c:/window/system directory (cd c:windowssystem)
>    type the following: implib <path to bcb>libdsound.lib dsound.dll
> This will create a dsound.lib file in your bcb/lib directory.
> To use this in your application link dsound.lib to your project.
>
>  NOTE -- If you get unresolved external linker errors on the DirectSound
>  functions this is more then likely your problem.
>  Make the import library and link it in and your linker errors will go away.
>


Here: Temporarily copied dsound.dll from c:\Windows\system32\, then ..


c:\cbproj\WSQ2\Borland_Project>implib libdsound.lib dsound.dll

Borland Implib Version 3.0.22 Copyright (c) 1991, 2000 Inprise Corporation

c:\cbproj\WSQ2\Borland_Project>

Add 'libdsound.lib' to the Borland project which needs it.


Replace the RC file from "PellesC" with one understood by Borland and others
---------------------------------------------------------------------------

The resource file originally generated by PellesC ( WSQ2/resource.rc + Rsrc.rc)
was incompatible with the original format used by Borland and Microsoft.
Examples:
> FONT 8, "Tahoma", 0, 0, 1  // only worked for PellesC, but not for BCB V6
> FONT 8, "Tahoma"           // was ok for Borland, and also for PellesC .





