This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hi all,
Alrighty, first off a disclamer: I really have little idea what I'm doing. Omega pushed me in the right direction, and I think i have most of it worked out, but evidently not all, as its still not working. What am I trying to do? well: I have a dll named "tae_ai.dll" which holds our custom AI routines. This is in the directory: root_hl\tae\ext_dlls\. I'm trying to load this dll from the game dll (tae.dll) and call various functions from it, specifically GetCharacterAI(). So, I tried the following (i've included links rather than clogging up the email with dumps of source code heh: http://www.tae-mod.com/shimms/dlllinking.php?tae_ai_h At the top of client.cpp I included that header file and declared the following: http://www.tae-mod.com/shimms/dlllinking.php?client.cpp At the end of ClientPutInServer in client.cpp I added: http://www.tae-mod.com/shimms/dlllinking.php?clientputinserver Now it loads the DLL file, but then wont find the function in the newly loaded DLL. tae_ai.dll contains the following in a .cpp file: http://www.tae-mod.com/shimms/dlllinking.php?tae_ai_cpp As I said at the start, I've got no idea what I'm doing here, so if I've missed something obviously belt me with a bit of salmon and let me know. Thanks, Michael Shimmins <mailto:[EMAIL PROTECTED]> The Absconder Effect _______________________________________________________ Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments, check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of Sesechial Software. -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

