From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,abcf8f28a13e7dcf X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!newsfeed.arcor.de!news.arcor.de!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: DLL troubles on Windows XP Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1145455832.302091.124920@v46g2000cwv.googlegroups.com> Date: Thu, 20 Apr 2006 16:06:18 +0200 Message-ID: NNTP-Posting-Date: 20 Apr 2006 16:06:16 MEST NNTP-Posting-Host: 5765325d.newsread4.arcor-online.net X-Trace: DXC=]mVW2df7Nd=c]9?QGJT=S2:ejgIfPPld4jW\KbG]kaM8]kI_X=5Kea6nnAolk[G:]4[6LHn;2LCV>7enW;^6ZC`4IXm65S@:3>? X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:3877 Date: 2006-04-20T16:06:16+02:00 List-Id: On 19 Apr 2006 07:10:32 -0700, SLt wrote: > I have an ADA DLL, compiled on Windows NT using GNAT and used on > Windows NT via LabVIEW. > When I tried to use this DLL on Windows XP, I have troubles on one of > the function (not the first !). The error message is not clear because > it's only the message of LabVIEW. > Is it possible that DLL compiled on a previous operating system than > Windows XP does not work on Windows XP ? Possible, but not very likely. Is it the same version of LabView? It is possible that it has a different call convention. Also, I remotely remember that National Instruments switched the library format. Was it LabWindows/CVI or LabView? Is it the same threading model? I don't remember if LabView is multithreaded. There could be troubles with Ada tasks. P.S. You could browse National's knowledge base. It contains useful information about such and similar things. I would do it before checking for Windows API or GNAT issues. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de