[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

Cannot access a function

Aaron F Stanton

10/10/2002 10:27:00 PM

Hi -

I am trying to access the function D3DXMatrixLookAtRH in
dx8vb.dll, but tlbimp.exe doesn't seem to pick it up.

I'm using SP2 of the .NET SDK.

Any advice? I any other information needed?

Thanks,

Aaron
3 Answers

(Justin Wan[MS])

10/11/2002 11:46:00 AM

0

I can not confirm what function you want to call.

From Depends (one of vc tools), in my dx8vb.dll I found there is not
D3DXMatrixLookAtRH exposed to calling; however there is
VB_D3DXMatrixLookAtRH.

My framework is not same to yours, but you can check whether there is
D3DXMatrixLookAtRH in your dx8vb.dll which can be called with depends.

--------------------
::Content-Class: urn:content-classes:message
::From: "Aaron F Stanton" <arioch@in-motion.net>
::Sender: "Aaron F Stanton" <arioch@in-motion.net>
::Subject: Cannot access a function
::Date: Thu, 10 Oct 2002 13:27:43 -0700
::Lines: 12
::Message-ID: <14c601c2709b$7c7ace60$35ef2ecf@TKMSFTNGXA11>
::MIME-Version: 1.0
::Content-Type: text/plain;
:: charset="iso-8859-1"
::Content-Transfer-Encoding: 7bit
::X-Newsreader: Microsoft CDO for Windows 2000
::X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
::Thread-Index: AcJwm3x6zkID1h1kSdqHfbr/ba2xPA==
::Newsgroups: microsoft.public.dotnet.framework.sdk
::NNTP-Posting-Host: TKMSFTNGXA11 10.201.226.39
::Path: cpmsftngxa09!cpmsftngxa06
::Xref: cpmsftngxa09 microsoft.public.dotnet.framework.sdk:4720
::X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
::
::Hi -
::
::I am trying to access the function D3DXMatrixLookAtRH in
::dx8vb.dll, but tlbimp.exe doesn't seem to pick it up.
::
::I'm using SP2 of the .NET SDK.
::
::Any advice? I any other information needed?
::
::Thanks,
::
::Aaron
::

This posting is provided "AS IS" with no warranties, and confers no rights.

Aaron F Stanton

10/11/2002 4:29:00 PM

0

I figured it out.

[DllImport("dx8vb.dll",EntryPoint="VB_D3DXMatrixLookAtRH")]
public static extern void D3DXMatrixLookAtRH(
ref D3DMATRIX MOut,
ref D3DVECTOR VEye,
ref D3DVECTOR VAt,
ref D3DVECTOR VUp);

Thanks,

Aaron

"Justin Wan[MS]" <justinew@online.microsoft.com> wrote in message
news:IpQ6yrQcCHA.1800@cpmsftngxa08...
> I can not confirm what function you want to call.
>
> From Depends (one of vc tools), in my dx8vb.dll I found there is not
> D3DXMatrixLookAtRH exposed to calling; however there is
> VB_D3DXMatrixLookAtRH.
>
> My framework is not same to yours, but you can check whether there is
> D3DXMatrixLookAtRH in your dx8vb.dll which can be called with depends.
>
> --------------------
> ::Content-Class: urn:content-classes:message
> ::From: "Aaron F Stanton" <arioch@in-motion.net>
> ::Sender: "Aaron F Stanton" <arioch@in-motion.net>
> ::Subject: Cannot access a function
> ::Date: Thu, 10 Oct 2002 13:27:43 -0700
> ::Lines: 12
> ::Message-ID: <14c601c2709b$7c7ace60$35ef2ecf@TKMSFTNGXA11>
> ::MIME-Version: 1.0
> ::Content-Type: text/plain;
> :: charset="iso-8859-1"
> ::Content-Transfer-Encoding: 7bit
> ::X-Newsreader: Microsoft CDO for Windows 2000
> ::X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
> ::Thread-Index: AcJwm3x6zkID1h1kSdqHfbr/ba2xPA==
> ::Newsgroups: microsoft.public.dotnet.framework.sdk
> ::NNTP-Posting-Host: TKMSFTNGXA11 10.201.226.39
> ::Path: cpmsftngxa09!cpmsftngxa06
> ::Xref: cpmsftngxa09 microsoft.public.dotnet.framework.sdk:4720
> ::X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
> ::
> ::Hi -
> ::
> ::I am trying to access the function D3DXMatrixLookAtRH in
> ::dx8vb.dll, but tlbimp.exe doesn't seem to pick it up.
> ::
> ::I'm using SP2 of the .NET SDK.
> ::
> ::Any advice? I any other information needed?
> ::
> ::Thanks,
> ::
> ::Aaron
> ::
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>


(Justin Wan[MS])

10/13/2002 5:25:00 AM

0

You are welcome.
--------------------
::From: "Aaron F Stanton" <arioch@in-motion.net>
::Newsgroups: microsoft.public.dotnet.framework.sdk
::Subject: Re: Cannot access a function
::Date: Fri, 11 Oct 2002 09:29:15 -0500
::Organization: Posted via Supernews, http://www.sup...
::Message-ID: <uqdo51tmu93q77@corp.supernews.com>
::References: <14c601c2709b$7c7ace60$35ef2ecf@TKMSFTNGXA11>
<IpQ6yrQcCHA.1800@cpmsftngxa08>
::X-Priority: 3
::X-MSMail-Priority: Normal
::X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
::X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
::X-Complaints-To: abuse@supernews.com
::Lines: 64
::Path:
cpmsftngxa06!tkmsftngp01!newsfeed00.sul.t-online.de!t-online.de!news-spur1.m
axwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews
.com!corp.supernews.com!not-for-mail
::Xref: cpmsftngxa06 microsoft.public.dotnet.framework.sdk:4736
::X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
::
::I figured it out.
::
:: [DllImport("dx8vb.dll",EntryPoint="VB_D3DXMatrixLookAtRH")]
:: public static extern void D3DXMatrixLookAtRH(
:: ref D3DMATRIX MOut,
:: ref D3DVECTOR VEye,
:: ref D3DVECTOR VAt,
:: ref D3DVECTOR VUp);
::
::Thanks,
::
::Aaron
::
::"Justin Wan[MS]" <justinew@online.microsoft.com> wrote in message
::news:IpQ6yrQcCHA.1800@cpmsftngxa08...
::> I can not confirm what function you want to call.
::>
::> From Depends (one of vc tools), in my dx8vb.dll I found there is not
::> D3DXMatrixLookAtRH exposed to calling; however there is
::> VB_D3DXMatrixLookAtRH.
::>
::> My framework is not same to yours, but you can check whether there is
::> D3DXMatrixLookAtRH in your dx8vb.dll which can be called with depends.
::>
::> --------------------
::> ::Content-Class: urn:content-classes:message
::> ::From: "Aaron F Stanton" <arioch@in-motion.net>
::> ::Sender: "Aaron F Stanton" <arioch@in-motion.net>
::> ::Subject: Cannot access a function
::> ::Date: Thu, 10 Oct 2002 13:27:43 -0700
::> ::Lines: 12
::> ::Message-ID: <14c601c2709b$7c7ace60$35ef2ecf@TKMSFTNGXA11>
::> ::MIME-Version: 1.0
::> ::Content-Type: text/plain;
::> :: charset="iso-8859-1"
::> ::Content-Transfer-Encoding: 7bit
::> ::X-Newsreader: Microsoft CDO for Windows 2000
::> ::X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
::> ::Thread-Index: AcJwm3x6zkID1h1kSdqHfbr/ba2xPA==
::> ::Newsgroups: microsoft.public.dotnet.framework.sdk
::> ::NNTP-Posting-Host: TKMSFTNGXA11 10.201.226.39
::> ::Path: cpmsftngxa09!cpmsftngxa06
::> ::Xref: cpmsftngxa09 microsoft.public.dotnet.framework.sdk:4720
::> ::X-Tomcat-NG: microsoft.public.dotnet.framework.sdk
::> ::
::> ::Hi -
::> ::
::> ::I am trying to access the function D3DXMatrixLookAtRH in
::> ::dx8vb.dll, but tlbimp.exe doesn't seem to pick it up.
::> ::
::> ::I'm using SP2 of the .NET SDK.
::> ::
::> ::Any advice? I any other information needed?
::> ::
::> ::Thanks,
::> ::
::> ::Aaron
::> ::
::>
::> This posting is provided "AS IS" with no warranties, and confers no
::rights.
::>
::
::
::

This posting is provided "AS IS" with no warranties, and confers no rights.