Hello
I have 64 bit kernelcad 4.3.3753 installed. I have an error
error BC30002: Type 'IRelation' is not defined and others similar
when I compile VB .NET collisions example in visual studio 2008
Any suggestions would be appreciated
Dejan
Can't compile 64 bit collison example
Re: Can't compile 64 bit collison example
Hi Dejan
I assume you have changed the configuration to x64. Just in case: in VS Build : Config Manager : Active Solution platform should be x64. If you do not have it in the list select New to create. Make sure "Create new project platforms" is on.
Replace Dim m_iRel As IRelation and similar lines with:
#If KC_X64 Then
Dim m_iRel As IRelation64
#Else
Dim m_iRel As IRelation
#End If
Also add KC_X64 to Project Properties : Compile : Advanced Compiler Options : Custom Constants
I have copied this code from v4.4. x64 seem to be handled little better there
Ron
I assume you have changed the configuration to x64. Just in case: in VS Build : Config Manager : Active Solution platform should be x64. If you do not have it in the list select New to create. Make sure "Create new project platforms" is on.
Replace Dim m_iRel As IRelation and similar lines with:
#If KC_X64 Then
Dim m_iRel As IRelation64
#Else
Dim m_iRel As IRelation
#End If
Also add KC_X64 to Project Properties : Compile : Advanced Compiler Options : Custom Constants
I have copied this code from v4.4. x64 seem to be handled little better there
Ron