Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / "Could not find function 'PrintText' in 0:dbporcore.dll"

Author
Message
Jonas
18
Years of Service
User Offline
Joined: 10th Aug 2005
Location: What day is it?
Posted: 14th Apr 2007 10:28
I followed the "Third Party Commands SDK V1.2" tutorial using dev-c++ and used the same two first commands they had:




I am simply trying to get the string tables down. I opened the DLL in notepad like they suggested in the tut but found nothing that closly resembled the "decorated form of my function." I did some forum searching and found out someone else had done it like this:



instead of:



Well my problem is, either way, I still get the error: "Could not find function '[decorated name]' in 0:dbprocore.dll"

So I've attached EVERYTHING. Hopefully, someone can make me look like an idiot and explain it in a manor which makes some sense.

I also upgraded from U6.3 to U6.6b and still have the problem. So I'm pretty sure its not that.

P4 3.4ghz/2gb RAM (+PF=24gb)/GeForce 6200 A-LE 256meg AGP8x (Altered for 16pipelines, 768mb forced TurboCache-ish)/WinXP Pro/74gb WDRaptor(SATA,OS)/3x 200gb WDCaviar(IDE)/250gb WDCaviar SE16(SATA)

Attachments

Login to view attachments
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 14th Apr 2007 15:27
It'd help if you told us which compiler you are using - they decorate the names in different ways.

Anyway, a quick fix is to switch off the name decoration. This can be done using this:


... and using the alternative string table you discovered.

Jonas
18
Years of Service
User Offline
Joined: 10th Aug 2005
Location: What day is it?
Posted: 14th Apr 2007 17:20 Edited at: 14th Apr 2007 17:36
Sorry, Bloodshed Dev-C++ uses Mingw port of GCC as it's compiler. But I'll be a small hairy mammal's uncle! Your fix worked like a charm IanM! Thank you so much... I'm gonna start work on a few plugins now.

Edit: lol it also dropped the dll file size 0.1kb

P4 3.4ghz/2gb RAM (+PF=24gb)/GeForce 6200 A-LE 256meg AGP8x (Altered for 16pipelines, 768mb forced TurboCache-ish)/WinXP Pro/74gb WDRaptor(SATA,OS)/3x 200gb WDCaviar(IDE)/250gb WDCaviar SE16(SATA)

Login to post a reply

Server time is: 2024-05-20 15:27:48
Your offset time is: 2024-05-20 15:27:48