Студопедия
Случайная страница | ТОМ-1 | ТОМ-2 | ТОМ-3
АвтомобилиАстрономияБиологияГеографияДом и садДругие языкиДругоеИнформатика
ИсторияКультураЛитератураЛогикаМатематикаМедицинаМеталлургияМеханика
ОбразованиеОхрана трудаПедагогикаПолитикаПравоПсихологияРелигияРиторика
СоциологияСпортСтроительствоТехнологияТуризмФизикаФилософияФинансы
ХимияЧерчениеЭкологияЭкономикаЭлектроника

User DLL

OpenHoldem has the ability to interface with a user-compiled DLL. Microsoft Windows provides a feature whereby running code can load other code, presuming that code is provided in the form of DLL files. OpenHoldem utilizes this Windows DLL feature to allow you to extend the functions within OpenHoldem to practically anything that you want, provided you can write the code for it and compile it. Generally, people who create DLLs write them in the C or C++ languages, as those are the native historical target languages for using DLL functions, as defined by Microsoft. There are ways to have OpenHoldem use a C/C++ DLL shell which then calls code written in other languages, such as managed languages like.NET, but that topic is beyond the scope of this manual. If you are interested in doing this, there are plenty of programming forums on the Internet that can help with this activity.

 

OpenHoldem provides a number of preferences for how a user-DLL will be loaded. It can be done on start-up, when a formula is loaded, or manually. See the {Preferences} section for more information.

 

From this point on, the assumption is that, if you are creating a user-DLL, it will be written in the C or C++ languages. To do this, you need a C/C++ compiler – the express editions of Microsoft Visual Studio will suffice for this, as these user-DLLs typically do not need the MFC library, which is only present in the paid versions of Microsoft Visual Studio. A starting framework for a user-DLL can be found in the source code library on Google Code, but is also embedded just below this paragraph. See the {References} section for links.

 

 


Дата добавления: 2015-07-20; просмотров: 173 | Нарушение авторских прав


Читайте в этой же книге: Manipulating font records using OpenScrape | Manipulating hash point records using OpenScrape | Manipulating hash records using OpenScrape | Menu Options | Toolbars | The Formula Editor | Secondary Functions | Menu Options | The Scripting Language | Calculated Symbols |
<== предыдущая страница | следующая страница ==>
Poker Value| How OpenHoldem calls DLL functions

mybiblioteka.su - 2015-2024 год. (0.005 сек.)