Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DirectX Constant DLL Load/Unload

51 views
Skip to first unread message

Alan Abram

unread,
Jun 14, 2008, 6:02:18 AM6/14/08
to
On my current project i have the strange error that calling
SwapBuffers(hDc) is causing the following DLL's to be constantly loaded
and unloaded every frame.

'XnFPS.exe': Loaded 'C:\Windows\System32\glu32.dll'
'XnFPS.exe': Loaded 'C:\Windows\System32\ddraw.dll'
'XnFPS.exe': Loaded 'C:\Windows\System32\dciman32.dll'
'XnFPS.exe': Loaded 'C:\Windows\System32\setupapi.dll'
'XnFPS.exe': Unloaded 'C:\Windows\System32\opengl32.dll'
'XnFPS.exe': Unloaded 'C:\Windows\System32\ddraw.dll'
'XnFPS.exe': Unloaded 'C:\Windows\System32\setupapi.dll'
'XnFPS.exe': Unloaded 'C:\Windows\System32\dciman32.dll'
'XnFPS.exe': Unloaded 'C:\Windows\System32\glu32.dll'

Anyone any ideas on what could be causing this?

Alan

Richard [Microsoft Direct3D MVP]

unread,
Jun 14, 2008, 1:37:31 PM6/14/08
to
[Please do not mail me a copy of your followup]

Alan Abram <all_el...@msn.com> spake the secret code
<ramdndDdooqGCs7V...@giganews.com> thusly:

>On my current project i have the strange error that calling
>SwapBuffers(hDc) is causing the following DLL's to be constantly loaded
>and unloaded every frame.

If you are using Direct3D, why are you calling SwapBuffers?
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
<http://www.xmission.com/~legalize/book/download/index.html>

Legalize Adulthood! <http://blogs.xmission.com/legalize/>

h...@40th.com

unread,
Jun 15, 2008, 3:00:20 PM6/15/08
to
AA- [Sat, 14 Jun 2008 11:02:18 +0100]:
>and unloaded every frame.

I've seen as weird elsewhere. I grab a hammer
and beat a LoadLibrary call in (once per DLL,
to bump the count so it won't unload). Pay
the lady on the way out.

--
40th Floor - Software @ http://40th.com/
iplay.40th.com - Advanced mobile audio player
phantasm.40th.com - The final destination

Alan Abram

unread,
Jun 16, 2008, 6:39:44 AM6/16/08
to
Richard [Microsoft Direct3D MVP] wrote:
> [Please do not mail me a copy of your followup]
>
> Alan Abram <all_el...@msn.com> spake the secret code
> <ramdndDdooqGCs7V...@giganews.com> thusly:
>
>> On my current project i have the strange error that calling
>> SwapBuffers(hDc) is causing the following DLL's to be constantly loaded
>> and unloaded every frame.
>
> If you are using Direct3D, why are you calling SwapBuffers?

I was following a tutorial and it called swap buffers, so i guessed i
was meant to.

Richard [Microsoft Direct3D MVP]

unread,
Jun 17, 2008, 10:49:31 PM6/17/08
to
[Please do not mail me a copy of your followup]

Alan Abram <all_el...@msn.com> spake the secret code

<Uc6dnVx2yYua3svV...@giganews.com> thusly:

SwapBuffers is an OpenGL function. Try an OpenGL newsgroup.

0 new messages