使用瑞士星历来计算太阳星座ID [英] Use Swiss Ephemeris to calculate sun sign id

查看:204
本文介绍了使用瑞士星历来计算太阳星座ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我正在开发一个页面,其中将包含用户出生日期和时间.

当用户提交表单时,我将存储用户信息及其SUN签名ID,Moon SIgn ID,Ascendants签名ID.

我正在使用瑞士星历dll(vb.net)计算该登录ID.

您可以在此链接上找到dll的详细信息
http://www.astro.com/swisseph/ [

Hi Everyone

I am developing a page which will take User BirthDay Date and Time.

When user submits the form I am storing the User Info with its SUn Sign ID, Moon SIgn ID, Ascendants Sign ID.

I am calculating this Sign ID using Swiss Ephemeris dll (vb.net)

You can find details of the dll on this link
http://www.astro.com/swisseph/[^]

I am not getting which function in this dll will return these sign id.

Please anyone can help me out. Please find which function will return this id''s and how to use it using Platform Invoke.

Code Example: Other funtion which I use using this dll

<DllImport("swedll32.dll", CharSet:=CharSet.Ansi, EntryPoint:="swe_rise_trans")> _
    Private Shared Function xyz_swe_rise_trans(ByVal tjd_ut As Double, ByVal ipl As Integer, ByVal starname As String, ByVal epheflag As Integer, ByVal rsmi As Integer, ByVal geopos As Double(), _
 ByVal atpress As Double, ByVal attemp As Double, ByVal tret As Double(), ByVal serr As StringBuilder) As Integer
    End Function

推荐答案

我不会在某个伪科学网站上注册以便下载oreder中的dll或它的文档以阅读它并弄清楚您遇到的问题,而且我怀疑很少有人这样做. />
如果您是我,我将开始阅读您通过DLL下载的文档:该站点谈论的是我将开始的《程序员手册》.
找到所需的功能后,如果无法创建正确的签名,则专门发布有关此问题的问题,并提供DLL签名,以便我们提供帮助.

顺便说一句:请尝试保持一致:您的问题被标记为C#,您的代码示例是VB.选择一个.
I am not going to register with some pseudo-science web site in order to download the dll or it''d documentation in oreder to read it and work out what problem you are having, and I suspect that few people are.

If I was you, I would start reading the documentation you downloaded with the DLL: The site talks about a Programmers Manual which is where I would start.
When you have found the function(s) you need, if you cannot create the correct signatures, then post a question specifically about that, giving the DLL signatures so we can help.

BTW: Do try to be consistent: your question is tagged C#, your code sample is VB. Pick one.


这篇关于使用瑞士星历来计算太阳星座ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆