Saturday, November 19, 2022
HomeGame Developmenthome windows - How can I make my sport use DLLs which...

home windows – How can I make my sport use DLLs which can be inside one other folder on C++?


For instance, the Goldsrc engine (the sport engine that powers Half-Life) has an exe referred to as hl.exe, which checks for the DLLs referred to as: hl.dll and shopper.dll, every one inside valvedlls and valvecl_dlls.

So I am making a sport engine that’s going to make use of that characteristic, and I would like my sport exe to test for a dll referred to as: sport.dll, inside a folder referred to as bin, which is inside the sport listing.

One thing like this: [game directory]bingame.dll

Or if that is not clear, that is what I imply in a construction:

I would like the exe to test for the dll in a folder inside the sport listing, as a substitute of every part in the identical listing, how can I try this on C++?

I am utilizing a Home windows working system with Code::Blocks by the way in which if that helps. However I’ve plans to make a Linux port sooner or later, so I am open to listen to Unix solutions.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments