{"id":1894,"date":"2022-08-30T15:20:20","date_gmt":"2022-08-30T15:20:20","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/02\/problem-about-exe-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:20:20","modified_gmt":"2022-08-30T15:20:20","slug":"problem-about-exe-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-exe-collection-of-common-programming-errors\/","title":{"rendered":"problem about exe-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ad1b0c639f19876afcb51bac51de67de?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDavid Ruhmann<br \/>\nbatch-file exe<br \/>\nI&#8217;ve test.exe (console application\/windows application) and test.exe.config in the same directory on my machine.When I open a DOS prompt, I&#8217;m able to run test.exe %1 %2 %3, which successfully inserts data in an MS SQL table.The test.exe.config is compiled from app.config, which contains this:&lt;connectionStrings&gt; &lt;add name=&#8221;Common Instance&#8221; connectionString=&#8221;data source=eeeeee;Integrated Security=SSPI;Initial Catalog=YYYY;User ID=xxx;Password=xxxx&#8221; providerName=&#8221;System.Data.SqlClient&#8221;\/&gt;<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/296f0478cb1b6724e3f862ace601fa99?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSingerOfTheFall<br \/>\nc++ visual-studio file exe file-handling<br \/>\nI have tracked it down to when I am writing to a txt file. I&#8217;ve checked that it&#8217;s open and it writes a line to the file before it crashes. The VS2012 external debugger throws me this Unhandled exception at 0x77112D24 (ntdll.dll) in DTC.exe: 0xC0000005: Access violation writing location 0x10000000 and points me to this function virtual __CLR_OR_THIS_CALL ~basic_filebuf() inside of the fstream header.void main() {vector&lt;string&gt; fileNames;vector&lt;time_t&gt; fileTimes;CImg&lt;unsigned char&amp;g<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8918206c50ff22cacb602edfb8ca4f47?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nLankymart<br \/>\nc# dll exe class-library typeloadexception<br \/>\nI&#8217;ve got a really strange error occurring in my solution one of my projects which is a class library is causing a project it is referenced in to throw a TypeLoadException. I&#8217;ve looked through various answers on SO and the closest to my issue is;TypeLoadException was unhandled in C# [closed]This answer led me to question if this was my issue, doing some digging in the debug folders I found that my project that was referencing my class library is generating a DLL and EXE with the same name, could<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/bb9835691f00572d500099da0091e63c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nVishal Suthar<br \/>\nc# wcf exe run<br \/>\nWe have a WCF service that we recently switched from self-hosting to IIS-hosted. It needs to launch an executable using Process.Start(). This works fine when it&#8217;s self-hosted, but when hosted in IIS, we get the error:TimeOutException was unhandledvoid notepad() {System.Diagnostics.Process.Start(&#8220;notepad&#8221;).waitForExit(); }Any help would be appreciated. Thanks!<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/9777905e310606fc98c07238f75c6287?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRyan Blevins<br \/>\nvb.net exe unhandled<br \/>\nBeen trying to fix this program for 5 hours now by searching forums, very tired by now. Nothing has been helpful, and I think my patience may have ran out.Here&#8217;s an list of what i am doing.1st- I &#8220;publish&#8221; the program which compiles everything into a .exe and a resource folder 2nd- works flawlessly on my computer 3rd- copy it to my other computer(eventually renaming folders and everything to be exactly the same) 4th- open the .exe, this ridiculously unhelpful error pops up saying there was an un<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/JP7C7.png?s=32&amp;g=1\" \/><br \/>\nJosephStyons<br \/>\ndelphi libraries exe pascal<br \/>\nI have a windows .exe file, but the source code for it is missing. The developer was not responsible and left our company. I think it was a delphi\/pascal program. The developer used many libraries but I am not sure which ones. Is there a tool that can tell me which libraries were used to make this exe?<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/c01f4753f1ce4bf804ada29538c8427b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nreplicant<br \/>\nc++ exe pe<br \/>\nhttp:\/\/www.security.org.sg\/code\/loadexe.htmlhttp:\/\/pastebin.com\/QFHASx75I&#8217;ve compiled this but can&#8217;t get it to work properly, It runs fine and shows no errors in the consoleconsole output:C:\\~\\~\\Documents\\Visual Studio 2010\\Projects\\loadEXE\\Debug&gt;loadEXE.exe AcceleratedC++Exe_2-0.exe Original EXE loaded (PID = 4068). Original Base Addr = 110000, Size = 29000 Unmapped and Allocated Mem for New EXE at 400000 EIP = 772501C4 EAX = 12141F EBX = 7EFDE000 ECX = 0 EDX = 0 New EXE Image Size = 25000 N<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/53ef8e01e2ce4221d899317d28701c1c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSohorab Hossain<br \/>\nc++ linker exe<br \/>\nSay, a library , named player, has two functions named footballer() and cricketer(), and in program we only used footballer().Will the linker link both function to exe or only the used function i.e. football()&#8230;<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e35fcdf086289544ca6c1c750466c95f?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nuser1469139<br \/>\njava jar exe drjava<br \/>\nI have created a project in Dr. Java which after compiling can automatically be converted into a Jar file to then converted into an .exe however I keep getting this error:Illegal class literalwhen i try to test run the project any idea why this would be happening?this is the main class:import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*;public class CoolingTowerFrame extends JFrame { public JLabel testLabel = new JLabel(&#8220;All Temperatures in (deg<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b6116ac3c4b5835c6745570ea73a85c1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCharles<br \/>\njava jar exe<br \/>\ni have .java file. It runs perfectly. I convert it to .jar file. Then i try to convert it to .exe file using program named &#8220;exe4j&#8221;, and successfully converted. But, when i open this .exe file there is an error message:java.util.NoSuchElementExceptionat java.util.Scanner.throwFor(Unknown Source)at java.util.Scanner.next(Unknown Source)at penghitung.persentase(programguru.java:27)at programguru.main(programguru.java:361)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.N<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a967b1d42bf4990ff9fe8ad9660ab1b5?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nnitendra jain<br \/>\nc# console-application exe<br \/>\nI am working on data feeding console application. It feeds the xml files (data in form of xml file) from a directory to a portfolio application. It processes files one by one in for loop depends on file count.When I run the exe of this application sometimes it suddenly stops in between because of some unknown error. Though, I have used logging mechanism and error handling. What should I do so that it should not crash (stop) in between until all the files have been processed.<\/li>\n<li>\n<img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d2ee5a4e2d107903789e91bb8db99b81?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSWDeveloper<br \/>\njava file application exe<br \/>\nHi I want to create an exe file for my java app.I tried with some third party softwares JEXECreator, successfully created the exe file and its working fine in my system, when I tried with another machine, it&#8217;s not working. I got the following error* The error occurred while running the application. The exit code is 0x10000223.* Contact the vendor of the application for troubleshooting.java.lang.ClassNotFoundException: com.sample.SampleMainat java.net.URLClassLoader$1.run(Unknown Source)at java.s<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-12-02 21:13:13. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>David Ruhmann batch-file exe I&#8217;ve test.exe (console application\/windows application) and test.exe.config in the same directory on my machine.When I open a DOS prompt, I&#8217;m able to run test.exe %1 %2 %3, which successfully inserts data in an MS SQL table.The test.exe.config is compiled from app.config, which contains this:&lt;connectionStrings&gt; &lt;add name=&#8221;Common Instance&#8221; connectionString=&#8221;data source=eeeeee;Integrated Security=SSPI;Initial Catalog=YYYY;User [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1894","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1894"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1894\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}