Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1
  • 2

TOPIC:

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2556

  • wolfram
  • wolfram's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 1
Lazarus in CT2.90 do not run.
I get the error "Procedure entry point "Direct3DCreate9Ex" not found in the DLL d3d9.dll" after start of lazarus.

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2557

  • Miquel Matas
  • Miquel Matas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 121
  • Thank you received: 10
Please, elaborate.

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2561

  • f00l
  • f00l's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
My poor English~
OK,I get the same issue

It occur on WinXP 32bit at CT2.9 BigIDE

So cannot start Lazarus BigIDE

Seem that Direct3DCreate9Ex only Exists in Vista and Up
So may CT2.9 include New packages(DirectX11?) With Direct3DCreate9Ex Binding

I am not good at Pascal, we may can found where it declared and Set it as Later Binding or Use {$IFDEF}?

I found {$DEFINE DIRECT3D_VERSION_9_VISTA} in Line 53 at C:\codetyphon\lazarus\components\pl_Win_DirectX\source\Direct3D9.pas

So Is it Missing some limit like {$IFDEF WinVersion>5.1}?

Regards

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2562

  • Johan
  • Johan's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 2
I'am having this error also, it happens when I startup lazarus on winxp SP3, could not test on a win7 machine, no messages found according this in the eventvwr of the system. Can you advice?

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2563

  • f00l
  • f00l's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
{$DEFINE DIRECT3D_VERSION_9_VISTA}
The same in
C:\codetyphon\lazarus\components\pl_ORCA\source\inc3d\orca_scene3d_canvas_directx.inc
C:\codetyphon\lazarus\components\pl_Win_DirectX\source\DirectDraw.pas
C:\codetyphon\lazarus\components\pl_Win_DirectX\source\Direct3D9.pas

and may be more

Please Log in or Create an account to join the conversation.

Last edit: by f00l.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2564

  • Miquel Matas
  • Miquel Matas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 121
  • Thank you received: 10

Please Log in or Create an account to join the conversation.

Last edit: by Miquel Matas.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2566

  • Johan
  • Johan's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 2
Hi, I downloaded the latest runtimes from Directx but still nog go concerning lazarus. The previous version still works, version 2.80
Kind Regards.

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2567

  • wolfram
  • wolfram's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 27
  • Thank you received: 1
I have already installd the lates Version of DirectX.
I installed it after the compile of the big IDE!
Do i have to rebuild the big IDE after installaion of DirectX?

Best Regards

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2569

  • Serge Lebedev
  • Serge Lebedev's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 3

miquelmatas wrote: Please, see if this could help you:

www.pilotlogic.com/codetyphon/help/index...?directx_samples.htm


this is not could help to me, because my Lazarus IDE (big IDE), was correctly compilied, on Windows XP SP3 can not start, crushes with error message "The procedure entry point not found in d3d9.dll". Problem is with a presence into IDE one of a DirectX packages, why is not compatible with last available DirectX for XP.

Thats, CodeTyphon 2.90 is for Vista or above only?

If no, which way I should fix this problem?

Manually remove problem package from make files?

what package? and how it must be removed?

Guys, not only your monitors is biggest than others users of codetyphoon, but Windows also ))

Thanks.

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2570

  • Miquel Matas
  • Miquel Matas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 121
  • Thank you received: 10
Hi,

I'll try to install CT 2.9 in a Virtual XP machine.

Get in touch....

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2573

  • Miquel Matas
  • Miquel Matas's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 121
  • Thank you received: 10
So, please, Sternas:

pl_Win_DirectX11 package produces error on XP systems.

"Direct3DCreate9Ex is supported only in Windows Vista, Windows Server 2008, and Windows 7"

People with Windows XP is unable to run CT 2.9 BIGIDE, could you remove DirectX packages?
Or, how can we desactivate them? and re-build lazarus?

Cheers,
Miquel.

Please Log in or Create an account to join the conversation.

Last edit: by Miquel Matas.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2574

  • Aleksandar
  • Aleksandar's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 150
  • Thank you received: 31

miquelmatas wrote: So, please, Sternas:

pl_Win_DirectX11 package produces error on XP systems.

"Direct3DCreate9Ex is supported only in Windows Vista, Windows Server 2008, and Windows 7"

People with Windows XP is unable to run CT 2.9 BIGIDE, could you remove DirectX packages?
Or, how can we desactivate them? and re-build lazarus?

Cheers,
Miquel.


I had an idea that I proposed to Avra some time ago (when he proposed the idea about tool for package maintenance), but never had time to test it myself. This response is based on that same idea, so you can try this. :)

Please check this file
c:\codetyphon\bin\settings\win64\slazarus\miscellaneousoptions.xml

I hope that path is correct, since I am on Linux.

For 32bit go to win32 instead of win64.

Find this line, remove it, save file and recompile Big IDE.
<Item24 Value="pl_Win_DirectX11"/>

If that is not enough, you can also try to remove
    <Item63>
      <Name Value="pl_Win_DirectX11"/>
      <Version Major="1"/>
      <Filename Value="components\pl_Win_DirectX11\pl_win_directx11.lpk"/>
      <LastUsed Value="20120829"/>
    </Item63>

from this file
c:\codetyphon\bin\settings\win64\slazarus\packagefiles.xml

I hope it will work.

Please let me know about the results.

Please Log in or Create an account to join the conversation.

Last edit: by Aleksandar. Reason: fixed mess that i made in this post

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2576

  • Ramon Retamar
  • Ramon Retamar's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 32
  • Thank you received: 0

wosc wrote: Lazarus in CT2.90 do not run.
I get the error "Procedure entry point "Direct3DCreate9Ex" not found in the DLL d3d9.dll" after start of lazarus.


I get the same error in Windows XP 32 SP3.

The "Direct3DCreate9Ex" function is only for Windows Vista and Windows 7.

The old version 2.80 works fine. :( ¿ The new version 2.90 is only for Windows Vista or Windows 7 ?

Please Log in or Create an account to join the conversation.

Last edit: by Ramon Retamar.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2579

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Did you install
MS DirectX End-User Runtimes Sir?
more info and links here
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2580

  • Ramon Retamar
  • Ramon Retamar's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 32
  • Thank you received: 0

sternas wrote: Did you install
MS DirectX End-User Runtimes Sir?
more info and links here


Windows XP SP3 support DirectX version 9 or lower. My Windows XP SP3 has installed this version.

The version 10 of DirectX only works into Windows Vista or Windows Seven.

The Codetyphon BigIDE 2.90 is searching for DirectX version 10, and don't start on Windows XP SP3.

Please Log in or Create an account to join the conversation.

Last edit: by Ramon Retamar.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2581

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Yes Sir
but did you install MS DirectX End-User Runtimes ?

In our LAB we have 5 PC with WinXP and with CodeTyphon 2.90
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2582

  • tt
  • tt's Avatar
  • Visitor
  • Visitor
Просто закомментируйте в
C:\codetyphon\ScriptsWin\x_Lazarus_Win32_Build.bat
строчку
START /B /WAIT ..\lazarus\bin32\lazbuild.exe --create-makefile ..\lazarus\components\pl_Win_DirectX11\pl_win_directx11.lpk

получится что то типа

....
START /B /WAIT ..\lazarus\bin32\lazbuild.exe --create-makefile ..\lazarus\components\pl_Win_DirectX\pl_win_directx.lpk
rem START /B /WAIT ..\lazarus\bin32\lazbuild.exe --create-makefile ..\lazarus\components\pl_Win_DirectX11\pl_win_directx11.lpk
START /B /WAIT ..\lazarus\bin32\lazbuild.exe --create-makefile ..\lazarus\components\pl_Win_DirectXUT\pl_win_directxut.lpk
....

и дальше в файле setup.bat выбираете опцию
6) Remove and Build Lazarus
или
8) Remove and Build ALL

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2583

  • Adriano Soares
  • Adriano Soares's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 40
  • Thank you received: 9
English version:

Simply comment out
C: \ codetyphon \ ScriptsWin \ x_Lazarus_Win32_Build.bat
line
START / B / WAIT .. \ lazarus \ bin32 \ lazbuild.exe - create-makefile .. \ lazarus \ components \ pl_Win_DirectX11 \ pl_win_directx11.lpk

get something like

....
START / B / WAIT .. \ lazarus \ bin32 \ lazbuild.exe - create-makefile .. \ lazarus \ components \ pl_Win_DirectX \ pl_win_directx.lpk
rem START / B / WAIT .. \ lazarus \ bin32 \ lazbuild.exe - create-makefile .. \ lazarus \ components \ pl_Win_DirectX11 \ pl_win_directx11.lpk
START / B / WAIT .. \ lazarus \ bin32 \ lazbuild.exe - create-makefile .. \ lazarus \ components \ pl_Win_DirectXUT \ pl_win_directxut.lpk
....

and further into the file setup.bat choose an option
6) Remove and Build Lazarus
or
8) Remove and Build ALL
The following user(s) said Thank You: Stefano, Ramon Retamar, Alfons Kemming

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2589

  • Ramon Retamar
  • Ramon Retamar's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 32
  • Thank you received: 0

sternas wrote: Did you install
MS DirectX End-User Runtimes Sir?
more info and links here


I try to install from this link: www.microsoft.com/download/en/details.aspx?id=35

And obtain the message "The installed version is more recent" in WinXP SP3. And Codetyphon don't work.

Please Log in or Create an account to join the conversation.

The procedure entry point not found in d3d9.dll. 12 years 1 month ago #2593

  • Johan
  • Johan's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 2
Performed as requested but lazarus still doesn't start, will try the other method that comments out the dx version.

When I comment out the entries I can open Lazarus, no problems anymore.
The following user(s) said Thank You: Ramon Retamar

Please Log in or Create an account to join the conversation.

Last edit: by Johan.
  • Page:
  • 1
  • 2