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 / I think I did this right, but it still gives me an error on unexisting line =\

Author
Message
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 15th Jul 2006 21:29
Hi

I made this simple test DLL called "DNP.dll" and put it in
but two things happen:

1) It can't find the .DLL unless I supply the full address, and
2) When I run my
program, it says "Could not understand command on line 11".

Here is the code I used in the .DLL:


I'm using M$ Visual C++ 2005 Express edition. Here's the steps I follow to compile the DLL:

1) Make new project (Win32 Consol app)
2) Write some noob code
3) Go to Project->Properties
4) Maximize "Configuration Properties" node
5) Click "general" under "Configuration Properties"
6) Under "Project Defaults" I set "Configuration Type" from "Application (.exe)" to "Dynamic Library (.dll)"
7) Hit F7 to compile the project
8) Place .DLL file in the plugins-user folder

Do I need to use VC++6? That would stink.

Please and thanky

FunkyStickmen: Battle of the Races (1%)
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 15th Jul 2006 22:42
you need a stringtable!
look at the dbp help file under technical documents

Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 15th Jul 2006 22:58
Ooh ya...

I read something about that, then was reading the example code they had.. Then got sidetracked lol I just coded teh thingy and thought it would run.

FunkyStickmen: Battle of the Races (1%)
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 16th Jul 2006 00:46
I can't figure out how to add string tables in VC++ 2005 Express edition does anyone here know?

FunkyStickmen: Battle of the Races (1%)

Login to post a reply

Server time is: 2024-11-22 06:39:14
Your offset time is: 2024-11-22 06:39:14