Failed To Create Win32 Control Error 1407
by Next message: [Lazarus] Remove unit from project Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi All, I have a Lazarus project which is a legacy game project from Delphi 7. It works fine in D7 and I used the tools menus to convert it to Lazarus. It compiles fine and when I run it it immediately gives this exception: Debugger Exception Notification Project ANIMALS.exe raised exception class 'Exception' with message:Failed to create win32 control, error: 1407 : Cannot find window class. I did a search on this error and only found a few C language references to it. Here is the project download link: http://hotfile.com/dl/111641603/97e0137/animals_001.zip.html The game is a simple single form application with 5 x tButtons, each with their own modal codes, a tEdit and a tMemo... and that's about it. The form is called from it's own unit with a form1.showmodal command (e.g. showing it's own form). I am hoping that someone can look at this and tell me what I am doing wrong. I think possibly I may need to separate out Animals.pas as a unit and make it's form a separate form and create it from my Animals.pas unit. Would this fix this problem? Best Regards,Peter / pew -------------- next part -------------- An HTML attachment was scrubbed... URL:
topic ForumsMembersHelp Files Developer Journals Gallery Calendar Downloads Resources Store Classifieds Tracker Links Home For Beginners Articles All Articles Post an Article Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL and Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile Development Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Music and Sound Visual Arts Business Breaking into the Industry Production and Management Interviews http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-March/061770.html Business and Law Event Coverage Forums All Forums Technical Game Programming General Programming Graphics Programming and Theory DirectX and XNA OpenGL & Vulkan Multiplayer and Network Programming Artificial Intelligence Math and Physics Mobile & Console Development Build Systems & Source Control Middleware, Libraries, and Tools Virtual and Augmented Reality Creative Game Design Writing For Games Music and http://www.gamedev.net/topic/631906-win32-solved-createwindowex-returns-error-1407/ Sound Visual Arts Gallery Business Breaking into the Industry Business & Law Production & Management Community GDNet Lounge Coding Horrors Article Writing Comments, Suggestions and Ideas Your Announcements Hobby Project Classifieds Indie Project Showcase Community Developer Journals Gallery Classifieds Jobs Freelancers Hobby Projects GDNet+ Membership Store Marketplace Newsletter » Home » Forums » The Technical Side » For Beginners Chat Watched Content New Content 0 [Win32] [solved] CreateWindowEx returns error 1407 Started by molehill mountaineer, Sep 27 2012 04:02 AM C++ win32 c++ create window Old topic! Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic. You cannot reply to this topic 4 replies to this topic #1 molehill mountaineer Members -Reputation: 595 Like 0Likes Like Posted 27 September 2012 - 04:02 AM Hello fellow coders,Can any of you spot what I'm missing here? I'm trying to create a win32 wi
> >> If you continue to run it, what is the exception http://www.developpez.net/forums/d867501/autres-langages/pascal/lazarus/error-1407-sous-windows/ message (or the >> GetLastError)? >> This means: ERROR_CANNOT_FIND_WND_CLASS 1407 0x57F Cannot find window class. failed to Does your lpr call Application.Initialize before it calls Application.CreateForm? Vincent _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus Previous message View by thread View by date Next message [Lazarus] Error when create a failed to create main window Carlos German Tejero Re: [Lazarus] Error when create a main window Vincent Snijders Re: [Lazarus] Error when create a main windo... Carlos German Tejero Re: [Lazarus] Error when create a main w... Vincent Snijders Re: [Lazarus] Error when create a ma... Carlos German Tejero Re: [Lazarus] Error when create... Vincent Snijders Reply via email to Search the site The Mail Archive home lazarus - all messages lazarus - about the list Expand Previous message Next message The Mail Archive home Add your mailing list FAQ Support Privacy 7fdb493a0901200319g68df1e6ej35ea3e9a8b4dbcc4@mail.gmail.com
Merise UML JavaPlateforme et langage Java Java Java Web Spring Android Eclipse NetBeans .NETMicrosoft Framework .NET Microsoft DotNET Visual Studio ASP.NET C# VB.NET Windows Phone Microsoft Azure Dév. WebDéveloppement Web et Webmarketing Développement Web AJAX Apache ASP CSS Dart Flash / Flex JavaScript PHP Ruby & Rails TypeScript Web sémantique Webmarketing (X)HTML EDIEnvironnements de Développement Intégré EDI 4D Delphi Eclipse LabVIEW NetBeans MATLAB Scilab Visual Studio WinDev Visual Basic 6 Lazarus Qt Creator ProgrammationProgrammation et langages de programmation applicatifs Programmation Débuter - Algorithmique 2D - 3D - Jeux Assembleur C C++ Go Objective C Pascal Perl Python Swift Qt XML Autres SGBDSystèmes de Gestion de Bases de Données SGBD & SQL 4D Access Big Data DB2 Firebird InterBase MySQL NoSQL PostgreSQL Oracle Sybase SQL-Server OfficeBureautique pour l'entreprise Microsoft Office Access Excel Word Outlook PowerPoint SharePoint Microsoft Project OpenOffice & LibreOffice Solutions d'entrepriseAutres logiciels pour l'entreprise Solutions d'entreprise Big Data BPM Business Intelligence ERP / PGI CRM SAS Cloud Computing SAP Microsoft BizTalk Server Talend IBM Bluemix ApplicationsApplications logicielles Applications Libres & Open Source OpenOffice & LibreOffice Projets MobilesLogiciels et matériels mobiles Mobiles Android iOS Windows Phone SystèmesLogiciels et matériels systèmes Systèmes Windows Linux Sécurité Hardware Mac Raspberry Pi Réseau Green IT Systèmes Embarqués Virtualisation EDI 4D Delphi Eclipse LabVIEW NetBeans MATLAB Scilab Visual Studio WinDev Visual Basic 6 Lazarus Qt Creator Actualités Lazarus Forum Lazarus Tutoriels Lazarus Tutoriels Pascal F.A.Q. Lazarus F.A.Q. Pascal Sources Lazarus Livres Lazarus Wiki Lazarus S'inscrire Aide Quoi de neuf ? Forum Actions Marquer les forums comme lus Bugs & Suggestions Réseau social Groupes Liste des utilisateurs FAQ forum Voir l'équipe du site Blogs Agenda Règles Blogs Projets Recherche avancée Index du forum Autres langages Pascal Lazarus [Lazarus] Error 1407 sous Windows + Répondre à la discussion Page 1 sur 2 12 Dernière Aller à la page: Discussion