2021年12月4日 星期六

dll headers to Delphi

 tlb COM Object  CoInitialize

 

http://www.drbob42.com/headconv/ 

https://www.freepascal.org/tools/h2pas.var

http://rvelthuis.de/articles/articles-convert.html#main

http://rvelthuis.de/articles/articles-cobjs.html

http://rvelthuis.de/programs/convertpack.html


https://github.com/neslib/Chet

https://www.drbob42.com/Delphi/headconv.htm


https://docwiki.embarcadero.com/RADStudio/Sydney/en/Type_Libraries

https://github.com/RRUZ/delphi-dev-shell-tools

https://docwiki.embarcadero.com/RADStudio/Sydney/en/Code_Generated_When_You_Import_Type_Library_Information



 CreateComObject CreateOleObject ComObj.pas.
  if SaveInitProc <> nil then TProcedure(SaveInitProc);
  if (CoInitFlags <> -1) and Assigned(ComObj.CoInitializeEx) then
    NeedToUninitialize := Succeeded(ComObj.CoInitializeEx(nil, CoInitFlags));
    IsMultiThread := IsMultiThread or
      ((CoInitFlags and COINIT_APARTMENTTHREADED) <> 0) or
      (CoInitFlags = COINIT_MULTITHREADED); //this flag has value zero
    NeedToUninitialize := Succeeded(CoInitialize(nil));
Obviously he is used to call CoInitialize to initialize the com environment.
In the initialization section of ComObj.pas:
initialization
  LoadComExProcs;
  VarDispProc := @VarDispInvoke;
  DispCallByIDProc := @DispCallByID;
  SafeCallErrorProc := @SafeCallError;
  if not IsLibrary then
    SaveInitProc := InitProc;
   //point the InitProc pointer to the function InitProb
    InitProc := @InitComObj;
end; Come to the Forms.pas file, take a look at the TApplication.Initialize section:
procedure TApplication.Initialize;
  if InitProc <> nil then TProcedure(InitProc);

https://flylib.com/books/en/3.264.1.146/1/

Creating and Using COM Interfaces | C++Builder 5 ...


IDataBroker

Design time interface for remote data modules.

IDispatch

Interface used for providing Automation. (This is used in some of the following examples.)

IEnumVARIANT

Interface used for enumerating a collection of variant objects.

IFont

Interface to a COM font object, which is actually a wrapper around a Windows font object.

IPicture

Interface to a picture object, which is a language-neutral abstraction for bitmaps, icons, and metafiles, and its properties.

IProvider

Provider interface for TClientDataSet .

IStrings

Collection Interface for TStrings .

IUnknown

The base interface for all other interfaces. Introduces the QueryInterface() method, which is useful for discovering and using other interfaces implemented by the same object.

https://docs.microsoft.com/en-us/windows/win32/learnwin32/initializing-the-com-library


http://www.techvanguards.com/stepbystep/comdelphi/insideclient.asp


https://theroadtodelphi.com/category/com/

https://flylib.com/books/en/2.37.1/from_com_to_com_.html




delphi DirectX

 https://github.com/sadanboy

 https://github.com/microsoft/DirectX-Graphics-Samples

https://github.com/CMCHTPC/DelphiDX12 

https://github.com/BrokenGamesUG/delphi3d-engine

https://github.com/yizraor/PubDX_VCL_LCL

https://github.com/tothpaul/Delphi/tree/afa771afd8eaa912c21109ef5c53b0a7d711d49d/DesktopDuplicationAPI

https://github.com/BrokenGamesUG/rise-of-legions

https://github.com/gxlmyacc/sciter4d

https://github.com/MarcoCestari/Asphyre

https://github.com/ds-pack/components

https://github.com/MakeMagazinDE/GRBLize

https://delphi.fandom.com/wiki/Undelphix

http://www.lohninger.com/delfcomp.html

http://www.felix-colibri.com/papers/graphic/delphi_3d_designer/delphi_3d_designer.html


https://github.com/Mzonetd/MPascalCoin

https://github.com/PascalCoinDev/PascalCoin

https://github.com/adminborcvarr/kemercoin

https://github.com/nummer8/PascalCoin

https://github.com/mehmetsamat/kmercoin

https://github.com/MicroCoinHU/MicroCoinMiner

https://github.com/SkybuckFlying/PascalCoinSimplified

https://github.com/zahidaliayub/PascalCoin

https://github.com/BigJoe01/MicroCoin

https://github.com/OHLChain/techplayground


https://github.com/CWBudde/PasOpenCL

https://github.com/duzenko/OpenclMemBench


https://github.com/search?l=Pascal&q=jedi+delphi&type=Repositories

https://github.com/search?l=Pascal&p=4&q=D3D11.pas&type=Code

https://sourceforge.net/directory/?q=delphi+directx


https://castle-engine.io/

https://sourceforge.net/projects/ca9dx2delphi/

https://sourceforge.net/projects/andorra/

https://sourceforge.net/projects/dspack/

http://www.micrel.cz/Dx/index.html

http://glscene.sourceforge.net/wikka/

https://asphyre.net/


https://opensourcelibs.com/lib/d3d12memoryallocator

https://opensourcelibs.com/lib/llgl

https://opensourcelibs.com/lib/directxtk

https://opensourcelibs.com/lib/directxtk12

https://opensourcelibs.com/lib/d912pxy

https://opensourcelibs.com/lib/d9vk

https://opensourcelibs.com/lib/directx-wrappers


https://torry.net/quicksearchd.php?String=DirectX+&Title=Yes


GraphiX, Games, DirectX, OpenGL, OpenAL, SDL