#hello I am a beginner in c++ and I need help to put a src to a dll if any kind soul could help

22 messages · Page 1 of 1 (latest)

modern compass
#

What are you trying to do with that dll?

mortal raft
lament eagle
#

what modloader are you trying to target to?
(Or not related to mod?)

mortal raft
dusk talonBOT
#

@mortal raft has reached level 1. GG!

mortal raft
#

its more a client

#

I made the modules etc but the src is for a old version and I tried to update the offsets etc but I need to try inject to see wich errors but Idk how to compile it has dll

lament eagle
#

There is exising DLL, and you are trying to replace it with custom one?
What are you using to build sources?

dusk talonBOT
#

@lament eagle has reached level 4. GG!

mortal raft
lament eagle
#

If your solution is consist of multiple projects, just setting the target of desired project to DLL is fine I guess.

#

If not, you have to split existing project into multiple ones in order to build DLLs AND executables

mortal raft
lament eagle
#

if you already have an solution and projects, just press build and it should create something.
If application(.exe) is produced, you have to change the output type

mortal raft
#

oh its in french mb

lament eagle
#

Do you have any means to share the sources (like GitHub)? Since it's hard to tell what is the actual error without looking into the sources themselves.
You can just drop the zip file at worst.

#

Anyway, it seems that the source cannot find "stdext" identifier, followed by double colon

#

If you are using <hash_map> or <hash_set>, consider using <unordered_map> or <unordered_set>
not related, i think

#

stdext::make_checked_array_iterator is the Microsoft's extension, which is defined in <iterator> header. Do you include one?

mortal raft
mortal raft
#

Thanks to @lament eagle its fixed and its done !