[code error] Dll c++ unexpected error while runing
Halaman 1 dari 1
[code error] Dll c++ unexpected error while runing
Mau tanya donk ini kenapa unexpected error while running??
main.h
main.h
- Code:
#ifndef _FSize
#define _FSize
#define _dllexport extern "C" __declspec(dllexport)
_dllexport long get_fsize(char *fdir);
#endif
- Code:
#include <iostream>
#include "main.h"
_dllexport long get_fsize(char *fdir){
FILE *f;
long sizef;
f=fopen(fdir,"rb");
if (f=NULL) {return -1;}
else {fseek(f,0,SEEK_END);
sizef=ftell(f);
fclose(f);
return sizef;}
}
Zihad Rizky Edwin Fikri- GM Beginner
-
Jumlah posting : 409
Points : 431
Join date : 12.05.13
Age : 26
Lokasi : jaktim
Similar topics
» [Game] unexpected puzzle V 1.0
» [Ask] code warna
» Get Color Code v2.1
» Code resume dan restart button di Pause menu
» (EXAMPLE)Trial+Activation Code
» [Ask] code warna
» Get Color Code v2.1
» Code resume dan restart button di Pause menu
» (EXAMPLE)Trial+Activation Code
Halaman 1 dari 1
Permissions in this forum:
Anda tidak dapat menjawab topik