pq da esse erro no Strange it works under Gens Plus, maybe your gens is configured to use 320x240 resolution, which isn't anymore supported by some video drivers... Forum Today's Posts C and C++ FAQ Forum Actions Mark Forums Read Quick Links View Forum Leaders What's New?
Gens+ now can use Direct 3D filters." Any suggestions on this problem would be good and any solutions would be great. https://books.google.com/books?id=lRUj-nhQRu8C&pg=PA280&lpg=PA280&dq=error+with+lpdd+-+createsurface&source=bl&ots=7xGb_AQ-6B&sig=q3J8Fe-Ml_-s6vqPG-qD0MEwElU&hl=en&sa=X&ved=0ahUKEwi2-OySm9TPAhXIxYMKHYn8C5sQ6AEIPDAE funny thing is gensplus works for some reason? If the method fails, the return value may be one of the following error values: DDERR_INCOMPATIBLEPRIMARY DDERR_INVALIDCAPS DDERR_INVALIDOBJECT DDERR_INVALIDPARAMS DDERR_INVALIDPIXELFORMAT DDERR_NOALPHAHW DDERR_NOCOOPERATIVELEVELSET DDERR_NOFLIPHW DDERR_NOOVERLAYHW DDERR_OUTOFMEMORY DDERR_OUTOFVIDEOMEMORY DDERR_PRIMARYSURFACEALREADYEXISTS For more information on This documentation is archived and is not being maintained.
Anyone see something I don't?// direct draw initialization if(FAILED(DirectDrawCreateEx(NULL, (void **)&lpdd, IID_IDirectDraw7, NULL))) MessageBox(0, "Error initializing directdraw", 0, 0); // set the cooperative level with windows if(FAILED(lpdd->SetCooperativeLevel(hwndMainWin, DDSCL_NORMAL))) MessageBox(0, "Error setting A DDSCAPS structure is a member of DDSURFACEDESC. Durch die Nutzung unserer Dienste erklären Sie sich damit einverstanden, dass wir Cookies setzen.Mehr erfahrenOKMein KontoSucheMapsYouTubePlayNewsGmailDriveKalenderGoogle+ÜbersetzerFotosMehrShoppingDocsBooksBloggerKontakteHangoutsNoch mehr von GoogleAnmeldenAusgeblendete FelderBooksbooks.google.de - Annotation World-renowned game wizard Andre Lamothe up20020701s his best-selling book Lord Necron) has been programming for over 24 years and holds degrees in mathematics, computer science, and electrical engineering.
hope u can help me ! You cannot reply to this topic 4 replies to this topic #1 MisterXY Members -Reputation: 122 Like Likes Like Posted 28 March 2002 - 03:07 AM Hi ! Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic.
Of course any help from the folks on here would be appreciated.
Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies Andre Lamothes book, Tricks of the Game Programming Gurus was a seminal work for game programmers worldwide. Back to top #2 redneckCoder Members -Reputation: 122 Like Likes Like Posted 28 March 2002 - 03:18 AM Well,I don''t know if this is what''s doing it, but you''ve got Just use Direct3D for 2D.
sometimes gens isnt compatable with virus scanners, close them and try again Masterfuji09-07-2004, 08:48 PMthanks i appracaite it but well my scanner is antivir, i turned it off and i am You can get latest version from http://www.microsoft.com/directx (current: 9.0c). Get Started with C or C++ C Tutorial C++ Tutorial Get the C++ Book All Tutorials Advanced Search Forum General Programming Boards Game Programming Problem with CreateSurface function (DirectDraw) Getting started The game programming fundamentals presented in this book--from physics to artificial intelligence--are required knowledge.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. Make sure you change that semi-colon to a comma and put the bitwise OR operators in there correctly. your fan has noting to do with it unless its rpms are controled by software. thanx a lot !
Back to top #3 MisterXY Members -Reputation: 122 Like Likes Like Posted 28 March 2002 - 04:49 AM Ohh i deleted some lines in my code when i tryed to You should set any unused members of the DDSURFACEDESC structure to zero before calling this method. If your device does not support hardware flipping and you specify DDSCAPS_FLIP, the operation will fail with the DDERR_NOFLIPHW error code. You’ll be auto redirected in 1 second.
Quick Navigation Game Programming Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums General Programming Boards C++ Programming C Programming C# Programming Game Programming Networking/Device Communication Mr. but thats oversimplyfying I suppose. Use D3D. 01-06-2006 #3 MrWizard View Profile View Forum Posts Registered User Join Date Apr 2002 Posts 1,571 Since you usually want to have a back buffer in addition to the
He can be reached at [email protected] Also the plus!.txt file says this (under version 0.0.9.60): "Direct 3D device working. They decided to kill DirectDraw becouse rotating a bitmap is crazy slow, so now you just create a graphical object and blit the bitmap on. 01-19-2006 #9 dpro View Profile View Try also reinstalling the graphic card driver Masterfuji09-08-2004, 12:44 AMi installed 9.c and this still doesnt work http://gens.consolemul.com/iB_html/non-cgi/emoticons/sad.gif..thanks thought for the suggestion.
The time now is 03:17 AM. Just note that the direct3d setting on all my other console emulators (VBA, Snes9x, etc) work perfectly. He is the author of Tricks of the Game Programming Gurus, Sams Teach Yourself Game Programming in 21 Days, The Game Programming Starter Kit, The Black Art of 3D Game Programming, Hope that helps.-AJ C:\DOSC:\DOS\RUNRUN\DOS\RUN-Comic Book Store Guy''s t-shirt that I saw on the Simpsons, although it didn''t actually come from the Simpsons.
RequirementsHeaderddraw.hLibraryddraw.libSee AlsoReferenceIDirectDrawDirectDraw ReferenceDirectDraw InterfacesOther ResourcesDirectDraw Show: Inherited Protected Print Export (0) Print Export (0) Share IN THIS ARTICLE Is this page helpful? Back to top Back to DirectX and XNA Old topic! Return Value If the method succeeds, the return value is DD_OK.