Hi
 
I am attempting to compile and run the VST~ object from Thomas Grill but have a couple of problems. The first one is that the version 1.4 (no 1.5?) will not load into MSVC .NET 2003, but the 1.3 version will. The message I receive is that the file is corrupt even though I can open and read it in a text editor. When I run the 1.3 version I get a message from 'cl.exe' reporting there is no disk in the drive which repeats around 100 times and can only be removed by clicking the 'continue' button furiously. When it finally gets to the end there seem to be some errors in the code as shown below.
 

------ Build started: Project: vst, Configuration: Debug Win32 ------

Compiling...

VstHost.cpp

PopupWindow.cpp

WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)

d:\PD2\vst~\src\PopupWindow.cpp(29) : error C2039: 'OnEditorClose' : is not a member of 'VSTPlugin'

d:\PD2\vst~\src\VstHost.h(43) : see declaration of 'VSTPlugin'

d:\PD2\vst~\src\PopupWindow.cpp(73) : error C2660: 'VSTPlugin::GetEditorRect' : function does not take 0 arguments

d:\PD2\vst~\src\PopupWindow.cpp(74) : error C2039: 'getX' : is not a member of 'VSTPlugin'

d:\PD2\vst~\src\VstHost.h(43) : see declaration of 'VSTPlugin'

d:\PD2\vst~\src\PopupWindow.cpp(74) : error C2039: 'getY' : is not a member of 'VSTPlugin'

d:\PD2\vst~\src\VstHost.h(43) : see declaration of 'VSTPlugin'

d:\PD2\vst~\src\PopupWindow.cpp(105) : error C2039: 'setPos' : is not a member of 'VSTPlugin'

d:\PD2\vst~\src\VstHost.h(43) : see declaration of 'VSTPlugin'

EditorThread.cpp

WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)

StdAfx.cpp

main.cpp

WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)

Build log was saved at "file://d:\Pd2\vst~\pd-msvc\d\BuildLog.htm"

vst - 5 error(s), 0 warning(s)

 

---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped

 
Also is there a way of specifying the 'WINVER' as it is defaulting to XP. (I am running Windows 2000)
 
Thanks in advance for any help
 
Dave
 
------------------------
Dave Payling
Staffordshire University
FCET
PO Box 333
Beaconside
Stafford
ST18 0DF
 
e:  d.payling@staffs.ac.uk
w: http://www.staffs.ac.uk/personal/engineering_and_technology/dp11
Tel:    +44 (01785) 353717
Room:   C150
 

The information in this email is confidential and is intended solely for the addressee. Access to this email by anyone else is unauthorised.

If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, except for the purpose of delivery to the addressee, is prohibited and may be unlawful. Kindly notify the sender and delete the message and any attachment from your computer.