Article View: borland.public.cppbuilder.nativeapi
Article #1493Re: Explicit link to DLL, problem in BCB but not in MSVC
From: Bob Gonder
Date: Mon, 13 Aug 2007 22:25
Date: Mon, 13 Aug 2007 22:25
15 lines
1332 bytes
1332 bytes
Boris Epel wrote: >HINSTANCE handle = LoadLibrary(_library); >DAQmxGetChanType_f DAQmxGetChanType = > (DAQmxGetChanType_f) GetProcAddress(handle, "DAQmxGetChanType"); >first call of this function causes crash on _some_ computers. Which function? LoadLibrary ? GetProcAddress ? Or some code you haven't shown such as DAQmxGetChanType ? Do you check that the setup functions succeed?
Technical Details
Message-ID:
<qal1c35g92je4rjiu30a874oue16mifqlr@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<46c0a633$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1e7567d9fb04a084 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Explicit link to DLL, problem in BCB but not in MSVC Date: Mon, 13 Aug 2007 15:25:01 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <qal1c35g92je4rjiu30a874oue16mifqlr@4ax.com> References: <46c0a633$1@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.86.3 X-Trace: newsgroups.borland.com 1187043897 69.69.86.3 (13 Aug 2007 15:24:57 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail