File indexing completed on 2024-12-22 04:17:17
0001 0002 #include <windows.h> 0003 0004 // Visual Leak Detector 0005 // http://sites.google.com/site/dmoulding/vld 0006 #include "vld.h" 0007 0008 0009 typedef int (*Main)(int argc, char *argv[]); 0010 0011 int main(int argc, char *argv[]) 0012 { 0013 // build kst as Dll 0014 HMODULE kst = LoadLibraryA("kst2d.exe"); 0015 0016 Main m = (Main)GetProcAddress(kst, "main"); 0017 0018 return (*m)(argc, argv); 0019 } 0020