Function Calling From A DLL In a DLL

This is a discussion on Function Calling From A DLL In a DLL within the Windows Programming forums, part of the Platform Specific Boards category; Hmm, this may sound confusing lol. I am making a dll that needs to call functions from another dll.
My ...

Function Calling From A DLL In a DLL

Hmm, this may sound confusing lol. I am making a dll that needs to call functions from another dll.

My program will have to dlls, fen.dll & dat.dll. Basically what im having problems doing is calling a putting a function from dat.dll inside fen.dll and then calling it.

I think this is possible to do isnt it?

Anyway i can put can get fen.dll to compile fine, and i can call my own functions just written in that dll from my program fine, but when i try to call a function from fen.dll thats in dat.dll it just dosnt work, has no effect in the program.

Can someone show me how i should define functions inside fen.dll so i can use them. I am linking the dat.lib file as well.

So i just need to know how to define functions in fen.dll so i can just call them in fen.dll from dat.dll.