here is a simple code to retrieve files from a directory and finding the size of each file
#include <dirent.h>
#include <sys/stat.h>
struct dirent *dit ;
DIR *dip ; ...
Type: Posts; User: kkchennai
here is a simple code to retrieve files from a directory and finding the size of each file
#include <dirent.h>
#include <sys/stat.h>
struct dirent *dit ;
DIR *dip ; ...
Hi ,
Thanks for your reply...
But i get a complier error at the place where f2(listNode * HashTable[HASHSIZE]) is defined.
The error is :
syntax error...
Do you want to build a dynamic link library?
If so i can help you out.
but i have got another doubt:
I have two functions f1 and f2.
f1 has a structure defined in it.(this structure is local to f1)
Now how do i pass this structure to f2.
Code:
f1()
{
How to pass an array of pointers to a function?
Please help me....
Hi thanks for ur reply..........
I used the APIs "LoadLibrary" to load the dll and "GetProcAddress " to load the functions , and it worked.........
thanks a lot..................
hi,
thanks for ur reply...but stiil i am not able to access the dll functions.........
This is my dll.h file:
#ifndef _DLL_H_
#define _DLL_H_
#if BUILDING_DLL
I have a long .C file full of functions.Now I want to group those functions and create them as a dll. I am working in DevC++.
So please help me to create dll in DevC++ and also to access the dll in...