summaryrefslogtreecommitdiffstats
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2008-06-02 18:41:30 (GMT)
committerThomas Heller <theller@ctypes.org>2008-06-02 18:41:30 (GMT)
commitde2d78a1531db5775878effa0e139a5468fc123e (patch)
tree64fa87b6dd901ad537990e526266b2fe97de5321 /Python/importdl.h
parentffe62ed46d93685353e0011ea1cf06169e2e9e06 (diff)
downloadcpython-de2d78a1531db5775878effa0e139a5468fc123e.zip
cpython-de2d78a1531db5775878effa0e139a5468fc123e.tar.gz
cpython-de2d78a1531db5775878effa0e139a5468fc123e.tar.bz2
Fix misspelled sys.platform name and misspelled filename.
Diffstat (limited to 'Python/importdl.h')
0 files changed, 0 insertions, 0 deletions
n> ** notice, this list of conditions and the following disclaimer. ** * Redistributions in binary form must reproduce the above copyright ** notice, this list of conditions and the following disclaimer in ** the documentation and/or other materials provided with the ** distribution. ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor ** the names of its contributors may be used to endorse or promote ** products derived from this software without specific prior written ** permission. ** ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." ** $QT_END_LICENSE$ ** ****************************************************************************/ //! [9] wchar_t* libraries[] = { L"QtCore4.dll", L"QtGui4.dll", 0 }; for (int i = 0; libraries[i] != 0; ++i) { HINSTANCE instance = LoadLibraryW(libraries[i]); OutputDebugStringW(libraries[i]); if (instance != NULL) { OutputDebugStringW(L" : Successfully instantiated\n"); FreeLibrary(instance); } else { OutputDebugStringW(L" : Could not be loaded\n"); } } //! [9]