Jump to content


Photo

Dll Programming Resources


  • Please log in to reply
295 replies to this topic

#31 Porfirio

Porfirio

    GMC Member

  • GMC Member
  • 1209 posts

Posted 09 August 2005 - 07:55 AM

Assembly is just themost powerfull language in the world.....
But its the most hard too ^_^
For making single things you need tones of commands
  • 0

#32 LizardMan

LizardMan

    Squirlism Gaming

  • New Member
  • 309 posts

Posted 11 August 2005 - 02:06 PM

Does Dev-C++ come with a library of all the C++ functions it can use? I downloaded it and I have to move it to a different computer before I install it. So I wanted to know before I move it.

LizardMan

Edited by LizardMan, 11 August 2005 - 02:07 PM.

  • 0

#33 Simon

Simon

    GMC Member

  • GMC Member
  • 126 posts

Posted 11 August 2005 - 04:12 PM

Yes, it comes with the MingW header files and import libraries.
  • 0

#34 LizardMan

LizardMan

    Squirlism Gaming

  • New Member
  • 309 posts

Posted 11 August 2005 - 05:12 PM

How Do I use them?

LM
  • 0

#35 RiChArD_fLoOd

RiChArD_fLoOd

    GMC Member

  • New Member
  • 395 posts

Posted 16 August 2005 - 05:12 PM

at the begining of your code put
#include<stdio.h> or whatever header file u want.
if the program knows where to find them that is

  • 0

#36 VitalDragon

VitalDragon

    GMC Member

  • New Member
  • 83 posts

Posted 17 August 2005 - 01:16 AM

There's been ASM, C++, and Pascal (GM) DLL Tutorials on my web site for a while...they all use free compilers

http://mdgames.atspa.../tutorials.html
  • 0

#37 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 19 August 2005 - 02:30 PM

Compilers and Development Environments [C++]

-----------------------------------------------

Dev-C++
  • Name: Dev-C++
  • URL: http://www.bloodshed.net/dev/
  • Price ($ USD): Free
  • Other Information: Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as its compiler. It creates native Win32 executables, either console or GUI. Dev-C++ can also be used in combination with Cygwin.
  • Submitted By: Unknown
Digital Mars C/C++ Compiler
  • Name: Digital Mars C/C++ Compiler
  • URL: http://www.digitalma...eecompiler.html
  • Price ($ USD): Free
  • Other Information: Win32 console versions of the tools, C and C++ compilers, Optlink Linker, Librarian, Standard and Win32 header files. Runtime linkable libraries, Does not come with a debugger, but works with the Symantec or Microsoft debuggers. MicroEmacs for Win32.
  • Submitted By: Unknown
Pelles C
  • Name: Pelles C
  • URL: http://www.smorgasbordet.com/pellesc/
  • Price ($ USD): Free
  • Other Information: Pelles C is a complete development kit for Windows and Windows Mobile. It contains among other things an optimizing C compiler, a macro assembler, a linker, a resource compiler, a message compiler, a make utility and install builders for both Windows and Windows Mobile.
  • Submitted By: Unknown
Borland C++ Compiler
  • Name: Borland C++ Compiler
  • URL: http://www.codegear....free/cppbuilder
  • Price ($ USD): Free
  • Other Information: The Borland C++ Compiler 5.5 (BCC) is the foundation and core technology of C++Builder 5. Borland C++ Compiler 5.5 is a blazingly fast 32-bit optimizing compiler. It includes the latest ANSI/ISO C++ language support including, the STL (Standard Template Library) framework and C++ template support and the complete Borland C/C++ Runtime Library (RTL). Also included in the free download are the Borland C/C++ command line tools such as the high performance Borland linker and resource compiler.
  • Submitted By: Unknown
Ultimate++
  • Name: Ultimate++
  • URL: http://www.ultimatepp.org/
  • Price ($ USD): Free
  • Other Information: U++ is a C++ cross-platform rapid application development framework focused on programmers productivity. It includes a set of libraries (GUI, SQL, etc..), and an integrated development environment.
  • Submitted By: Unknown
MinGW
  • Name: MinGW
  • URL: http://www.mingw.org/
  • Price ($ USD): Free
  • Other Information: A collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs.
  • Submitted By: Unknown

Edited by Roach, 05 July 2009 - 09:53 PM.

  • 0

#38 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 19 August 2005 - 02:32 PM

Compilers and Development Environments [PASCAL]

-----------------------------------------------

Free Pascal
  • Name: Free Pascal
  • URL: http://www.freepascal.org/
  • Price ($ USD): Free
  • Other Information: Free Pascal is a GPL compiler for 32-bit and 64-bit CPU architectures such as Intel 32/64 bit, AMD 32/64 bit, SPARC, PowerPC and Intel ARM. It is language compatible to Turbo Pascal, Delphi (till version 7), and partly Metrowerks Pascal. It comes with a cross-platform Run-Time Library, many interfaces to existing libraries, and a large set of non-visual classes in the Free Component Library. Last but not least, a text-mode IDE exists on various platforms, and FPC comes with 1800 pages of documentation.
  • Submitted By: Unknown
Dev-Pascal
  • Name: Dev-Pascal
  • URL: http://www.bloodshed.../devpascal.html
  • Price ($ USD): Free
  • Other Information: IDE with which one can create Win32 programs, dll's and console-applications using the Free Pascal compiler (included). Features: multi-window editor, setup creator, insight Debugger, customizable syntax highlighting, setup creator, resource file editor, tool manager, project templates, etc.
  • Submitted By: Unknown

Edited by Roach, 05 July 2009 - 09:54 PM.

  • 0

#39 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 19 August 2005 - 02:35 PM

Compilers and Development Environments [BASIC]

-----------------------------------------------

XBasic
  • Name: XBasic
  • URL: http://www.maxreason...sic/xbasic.html
  • Price ($ USD): Free
  • Other Information: XBasic is a comprehensive program development environment that integrates a powerful editor, compiler, debugger, function libraries and GuiDesigner into a seamless working environment that encompasses the whole process of creating fast, efficient, reliable, portable 32-bit programs.
  • Submitted By: Unknown
LibertyBasic
  • Name: LibertyBasic
  • URL: http://www.libertybasic.com/
  • Price ($ USD): $59.95 / Free Trial
  • Other Information: Easy and very simple. Easy BASIC language - write a one line program, Runs on all versions of Windows, Includes a special interactive tutorial, Comes with tons of instructive sample programs, Terrific online community is fun and helpful, Editor that color codes your programs, Visual tool for drawing windows, Dozens of commands for drawing graphics, Multimedia features including sound and sprite animation, Easy to use debugging tools, User functions and subs with scoped variables, and Make API calls and use DLLs.
  • Submitted By: Unknown

Edited by Roach, 05 July 2009 - 09:55 PM.

  • 0

#40 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 19 August 2005 - 02:37 PM

Compilers and Development Environments [ASM]

-----------------------------------------------

RosAsm
  • Name: RosAsm
  • URL: http://betov.free.fr/RosAsm.html
  • Price ($ USD): Free
  • Other Information: IDE with full integration of all components. Real Sources Editor with tons of unique features, specificaly devoted to secure editions and to huge mono-files assembly sources: Tree-view, instant jump to any type of declaration by simple right-click, division of the mono-files into TITLEs, advanced IncIncluder pre-parser.
  • Submitted By: Unknown
MASM32
  • Name: MASM32
  • URL: http://www.masm32.com/
  • Price ($ USD): Free
  • Other Information: The MASM32 SDK version 10 is a working development environment for programmers who are interested in either learning or writing 32 bit Microsoft assembler (MASM). The installation is an automated process that installs the correct directory tree structure on the local drive of your choice. Note that MASM32 will not install on a network drive. MASM32 comes with its own runtime library written fully in assembler and an extensive range of macros for improved high level emulation and faster development. It builds its own IMPORT libraries for the Windows API functions and supplies its own include files for a very large number of API functions.
  • Submitted By: Unknown
Flat Assembler
  • Name: Flat Assembler
  • URL: http://flatassembler.net/index.php
  • Price ($ USD): Free
  • Other Information: Integrated syntax-highlighting editor, edit, compile and execute your programs from one place. It also contains the set of includes with equates and macroinstructions for Windows programming and some examples of Windows programs created with help of them. The provided documentation is in PDF format.
  • Submitted By: Unknown
Netwide Assembler (NASM)

Edited by Roach, 05 July 2009 - 09:56 PM.

  • 0

#41 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 19 August 2005 - 02:44 PM

Tutorials [C++]

-----------------------------------------------

C++ Language Tutorial
  • Name: C++ Language Tutorial
  • URL: http://www.cplusplus.com/doc/tutorial/
  • Other Information: These tutorials explain the C++ language from its basics up to the newest features of ANSI-C++, including basic concepts such as arrays or classes and advanced concepts such as polymorphism or templates. The tutorial is oriented in a practical way, with working example programs in all sections to start practicing each lesson right away.
  • Submitted By: Unknown
C++ Programming Language TutorialsC++ TutorialsC++ Tutorial

Edited by Roach, 05 July 2009 - 09:59 PM.

  • 0

#42 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 19 August 2005 - 02:46 PM

Tutorials [PASCAL]

-----------------------------------------------

Learn Pascal
  • Name: Learn Pascal
  • URL: http://www.taoyue.co...torials/pascal/
  • Other Information: An introduction to the Pascal programming language. It covers all of the syntax of standard Pascal, including pointers.
  • Submitted By: Unknown
Roby's Pascal TutorialPascal TutorialsPascal Programming

Edited by Roach, 05 July 2009 - 10:01 PM.

  • 0

#43 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 19 August 2005 - 02:47 PM

Tutorials [BASIC]

-----------------------------------------------

None

Edited by Roach, 05 July 2009 - 10:02 PM.

  • 0

#44 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 19 August 2005 - 02:49 PM

Tutorials [ASM]

-----------------------------------------------

Assembly Tutorial

Edited by Roach, 05 July 2009 - 10:03 PM.

  • 0

#45 hrishikesh

hrishikesh

    bloo guy

  • New Member
  • 158 posts

Posted 20 August 2005 - 04:03 AM

Can liberty basic create dlls?
are u sure?

-hrishikesh :D
  • 0

#46 IsmAvatar

IsmAvatar

    Good Samaritan

  • GMC Member
  • 2411 posts
  • Version:GM8

Posted 03 September 2005 - 03:39 AM

I've tried creating a dll in Pascal, using the instructions listed above, as well as by visiting the VitalDragon's website in which the post was excerpted from.

I am moderately fluent in Pascal, and I generally know what to change if something isn't working right. Compiling goes fine, however, when I try to run it from GM, it says "Error defining an external function." for both dll's.

I'm writing up the dll's in Dev Pascal 1.9.2. I've even tried changing Result to the function name (as this is normally a way to make a function return a value) but neither of those ways works. I've also tried going through the New Project DLL thing, and that just gives the same error.

Can anyone point me in the right direction, or at least point out where I've gone wrong? GM and Pascal are my 2 favorite languages, and to be able to combine them would just be amazing.

Thanks.
-IsmAvatar

Edited by IsmAvatar, 03 September 2005 - 03:40 AM.

  • 0

#47 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 03 September 2005 - 12:08 PM

Try not making 'addition' capitalized, I never do when I create DLLs with Pascal, and it works fine for me ::lmao::
  • 0

#48 IsmAvatar

IsmAvatar

    Good Samaritan

  • GMC Member
  • 2411 posts
  • Version:GM8

Posted 03 September 2005 - 02:04 PM

thanks a bunch. That was it. I suggest modifying your post to note that.
  • 0

#49 Ado

Ado

    GMC Member

  • New Member
  • 22 posts

Posted 12 September 2005 - 12:15 PM

How can i make a dll with VB6? :)
  • 0

#50 tsg1zzn

tsg1zzn

    GMC Member

  • New Member
  • 1163 posts

Posted 12 September 2005 - 06:43 PM

How can i make a dll with VB6?  :)

<{POST_SNAPBACK}>

It won't work with Game Maker.
  • 0

#51 kamen

kamen

    GMC Member

  • New Member
  • 226 posts

Posted 16 September 2005 - 12:58 PM

wow thanks for the tutoial!
I took the c++ one and it seemed to work (I'm just barely learning c++)
-Kamen
  • 0

#52 Dox

Dox

    GMC Member

  • New Member
  • 2 posts

Posted 11 October 2005 - 12:16 PM

Hey roach of death man, thanks for this topic. About a year ago I stopped suing gamemaker and started down the lines of VB and C++ and languages like that but after I have a had trouble finding good working compilers or tutorials I thought back to gamemaker and how easy it was to use a learn so I came to the forum to see how things was and I look under a random section and here is this great topic :D

I am still going to stick with gamemaker but now that you showed me this I will be able to do some cooler stuff too.

Thanks
  • 0

#53 gamemaker intermediate

gamemaker intermediate

    GMC Member

  • New Member
  • 123 posts

Posted 18 October 2005 - 09:30 AM

when i compile it with dev-c++ i keep getting cpp files insted of a dll do you know what im doing wrong?
  • 0

#54 rpgfreak2004

rpgfreak2004

    GMC Member

  • New Member
  • 282 posts

Posted 30 October 2005 - 01:04 AM

I can't get it to work with dev-pascal..
I first get a windows message saying it's not a good Windows copy or something and then a GM error message saying "Error defining an external function.".
Does anyone know how I can do this correctly with dev-pascal?

EDIT
here is the dll and a sample gm6 file I've made to show u what I mean:
HERE

Edited by rpgfreak2004, 30 October 2005 - 01:13 AM.

  • 0

#55 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 30 October 2005 - 01:39 AM

rpgfreak2004, you apparently did not compile it, and I can tell without even looking at your test file. :P
  • 0

#56 pythonpoole

pythonpoole

    Scorpion Software

  • New Member
  • 1894 posts

Posted 30 October 2005 - 01:56 AM

Indeed it wasn't compiled..

A DLL is in machine code, I shouldn't be able to get this our of it:
library additionDLL;
uses Windows;
function addition(arg1,arg2:Real):Real;  stdcall;
begin
 Result := arg1+arg2;
end;
exports addition;
begin
end.

  • 0

#57 rpgfreak2004

rpgfreak2004

    GMC Member

  • New Member
  • 282 posts

Posted 30 October 2005 - 09:31 AM

how do I compile a dll in dev-pascal then?
EDIT
nvm, I worked it out, it works great thanks :P

Edited by rpgfreak2004, 30 October 2005 - 09:45 AM.

  • 0

#58 rpgfreak2004

rpgfreak2004

    GMC Member

  • New Member
  • 282 posts

Posted 30 October 2005 - 10:54 PM

nvm *cough*

Edited by rpgfreak2004, 30 October 2005 - 11:14 PM.

  • 0

#59 Eletron

Eletron

    789 Programmer

  • New Member
  • 282 posts

Posted 07 November 2005 - 11:41 PM

What are some Dev-C++ functions? All I have heard of is:

MessageBox(NULL,text,title,MB_OK)

I NEED THIS!!!!
  • 0

#60 tangibleLime

tangibleLime

    Lunatic

  • Retired Staff
  • 2520 posts
  • Version:GM:HTML5

Posted 08 November 2005 - 01:14 AM

DevC++ is just an IDE, it doesn't really have funtions like GameMaker.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users