Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
developing linux card game
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: developing linux card game (Read 2179 times)
4nt-0k
Newbie
Posts: 1
developing linux card game
«
on:
April 29, 2006, 05:51:57 pm »
Does anyone know how to load cards.dll that is provided by windows to be used in lazarus on linux?
The w32 version of lazarus have the ability to load 'cards.dll' by using LoadLibrary syntax and unit windows. But I can't find any equivalent syntax to load dll files on linux version.
If that is impossible to load 'cards.dll' on linux, then how can I make card game using lazarus linux version?
Logged
Marmin_
Guest
developing linux card game
«
Reply #1 on:
April 29, 2006, 05:58:40 pm »
Are you sure it is legal to use a m$ dll for Linux ?
Sorry, about the question.. make an own Card engine?
Logged
4nt-0k unlogged
Guest
developing linux card game
«
Reply #2 on:
April 29, 2006, 07:09:36 pm »
What if I use a freeware version of cards.dll that is created by other people?
It has the same structure with the original anyway.
It is only a college assignment, not for publication or commercial use.
So can lazarus for linux load it?
Logged
felipemdc
Administrator
Hero Member
Posts: 3165
developing linux card game
«
Reply #3 on:
April 29, 2006, 11:32:19 pm »
Quote from: "4nt-0k unlogged"
So can lazarus for linux load it?
DLLs are not native to Linux and just won´t work easely. It does is possible, and some software like Wine and MPlayer are able to do it, but it´s surely a very complex technology. Probably more complex then the cards.dll itself.
It´s not a question of Lazarus being able to do it. Linux software in general cannot do it unless they use some hardcore tricks.
Do you have the source code of that dll? If so you can try to recompile it on Linux. It probably won´t work due to calls to Windows API. Further more you can try to convert that source to Pascal and substitute WinAPI calls with LCL/FCL/RTL calls to make it cross-platform.
Another option is to create your own card engine.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
developing linux card game
Recent
ListBox Filter
by
lainz
[
Today
at 05:00:07 am]
BGRAControls
by
lainz
[
Today
at 03:10:41 am]
FPCUp FPC/Lazarus SVN ins...
by
lainz
[
Today
at 03:09:38 am]
What is this Delphi Heade...
by
DirkS
[
Today
at 12:11:59 am]
Build of SQLite3 for WINC...
by
bambamns
[
Today
at 12:09:01 am]
Lazarus crashes after “Re...
by
and4977
[May 20, 2012, 11:26:31 pm]
Scrambled dragimage
by
Ocye
[May 20, 2012, 10:30:19 pm]
Transparency with Qt on D...
by
Ocye
[May 20, 2012, 08:14:43 pm]
DragImage adds as new win...
by
Ocye
[May 20, 2012, 08:05:24 pm]
TFrame size
by
iru
[May 20, 2012, 07:03:22 pm]