{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/11138","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/11138/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/11138/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/11138/events","html_url":"https://github.com/JuliaLang/julia/issues/11138","id":73384614,"number":11138,"title":"Function in class in DLL","user":{"login":"easleykg","id":12188122,"avatar_url":"https://avatars.githubusercontent.com/u/12188122?v=3","gravatar_id":"","url":"https://api.github.com/users/easleykg","html_url":"https://github.com/easleykg","followers_url":"https://api.github.com/users/easleykg/followers","following_url":"https://api.github.com/users/easleykg/following{/other_user}","gists_url":"https://api.github.com/users/easleykg/gists{/gist_id}","starred_url":"https://api.github.com/users/easleykg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easleykg/subscriptions","organizations_url":"https://api.github.com/users/easleykg/orgs","repos_url":"https://api.github.com/users/easleykg/repos","events_url":"https://api.github.com/users/easleykg/events{/privacy}","received_events_url":"https://api.github.com/users/easleykg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-05T18:02:48Z","updated_at":"2015-05-05T18:59:14Z","closed_at":"2015-05-05T18:10:04Z","body":"I am using a DLL in Excel VBA that opens with the statement below. The function I call is Start(0).\r\n\r\nSet MyObj = NEW DLLName.CLASS\r\n\r\nI have found examples of ccall as in:\r\n\r\nccall((:GetKeyState,\"User32\"), stdcall, Uint16, (Ptr{Uint16},), 20)\r\n\r\nbut NOTHING that hints how to reference MyObj.Start(0) using Julia. It'll probably be stupid simple when I see it...\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/99182208","html_url":"https://github.com/JuliaLang/julia/issues/11138#issuecomment-99182208","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/11138","id":99182208,"user":{"login":"easleykg","id":12188122,"avatar_url":"https://avatars.githubusercontent.com/u/12188122?v=3","gravatar_id":"","url":"https://api.github.com/users/easleykg","html_url":"https://github.com/easleykg","followers_url":"https://api.github.com/users/easleykg/followers","following_url":"https://api.github.com/users/easleykg/following{/other_user}","gists_url":"https://api.github.com/users/easleykg/gists{/gist_id}","starred_url":"https://api.github.com/users/easleykg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/easleykg/subscriptions","organizations_url":"https://api.github.com/users/easleykg/orgs","repos_url":"https://api.github.com/users/easleykg/repos","events_url":"https://api.github.com/users/easleykg/events{/privacy}","received_events_url":"https://api.github.com/users/easleykg/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T18:59:14Z","updated_at":"2015-05-05T18:59:14Z","body":"I just re-read this and you said “I can help *there*”. Sorry.\r\n\r\n\r\nFrom: Jameson Nash [mailto:notifications@github.com]\r\nSent: Tuesday, May 05, 2015 1:10 PM\r\nTo: JuliaLang/julia\r\nCc: Easley, Kevin\r\nSubject: Re: [julia] Function in class in DLL (#11138)\r\n\r\n\r\na better place for this question would be SO or the julia-users mailing list.\r\n\r\nI can help there, but please include what DLL you are trying to load. I expect this is a COM library, but it's a little hard to tell from your question.\r\n\r\n—\r\nReply to this email directly or view it on GitHub<https://github.com/JuliaLang/julia/issues/11138#issuecomment-99162907>.\r\n"}}