File "checkdll.c"

Full path: E:/sites/Single15/tinmung2007/webroot/XAMMP/src/xampp-start-stop/checkdll.c
File size: 516 B
MIME-type:
Charset: utf-8

Download   Open   Back

// Copyright (C) 2007-2010 Kai Seidler, oswald@apachefriends.org, GPL-licensed

#include <windows.h>
#include <stdio.h>

int main(int argc, char **argv)
{
        if(argc!=2)
        {
                printf("Usage: %s <library name>\n",argv[0]);
                exit(2);
        }

        if(LoadLibrary(argv[1]))
        {
                printf("OK\n");
                exit(0);
        }
        else
        {
                printf("NOK\n");
                exit(1);
        }



}

PHP File Manager