Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Delphi template  (Read 802 times)
AndyGFX
Community Member
*
Posts: 3


WWW
« on: September 03, 2007, 04:26:48 PM »

Missing TV3D65_TLB
Logged
darqSHADOW
Administrator
Community Member
*****
Posts: 2737


« Reply #1 on: September 03, 2007, 04:31:32 PM »

Looking into this now...

John
Logged

TrueVision3D Project Manager
The fast and simple way of 3D development.
Arli
Administrator
Community Member
*****
Posts: 993


« Reply #2 on: September 04, 2007, 02:51:30 AM »

Please read the getting started for templates, it will help you a lot. You must import the TV3D65.dll in your Delphi IDE. Delphi will automatically generate the TV3D65_TLB.pas file for you.

You can do this by clicking on Import Type Library and choose TV3D65.dll for Delphi/COM from the list.
Logged

Happy Coding

Arli
Truevision3D Developer
Arli@Truevision3D.com
StakFallT
Community Member
*
Posts: 141


« Reply #3 on: September 07, 2007, 04:47:27 PM »

There does seem to be one or two problems with the dcu that Delphi 7 (Maybe I should be using Turbo Delphi? Borland's Developer Studio product, the newer one...) creates though

Example line of code:
Code:
if TVScene.AdvancedCollision(TVCam.GetPosition,
TVGlobals.Vector3(TVCam.GetPosition.X, ((TVCam.GetPosition.Y) - (FallRate + PlayerHeight*6)),
TVCam.GetPosition.Z), CamCollisionResult, 0, 3, 1) = true Then
...

yields: Types of actual and formal var parameters must be identical.

Now my guess is, it HAS to be something I'm doing because the AdvancedCollision is not really an unordinary method and someone else who's using Delphi would most likely have hit the same issue (If it were a problem, unless they just figured a way around it). I just find it hard to beleive that, if it is a TV issue (Er rather the Delphi compiler being inaccurate in it's pas/dcu generation) nobody has hit the issue yet. However if it's like I said and anyone that has hit the problem has found a way around it then it would be believable.   

I also seen alot of the generated code in the pas file to have made the parameters SYSINT, that's NOT good especially when the 6.2 used Integer, not the end of the world (If I understand it correctly in that SYSINT is really just an integer but a slightly more specialized type), except it means redeclaring anything that's used in those functions. Still not really the end of the world, just don't fully understand the difference between SYSINT and Integers (At least not on a 100% confidence level).
« Last Edit: September 07, 2007, 04:50:11 PM by StakFallT » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks