Quote: "What's making me nuts is WHY the videos work when the exe is on the desktop with NO compatibility or admin rights but not from a folder with or without compatibility or admin rights?"
Hello,
It's hard to say. It could a path issue in your source. If you are using relative paths versus absolute paths, you may be running into some problems.
What version of DarkBASIC Classic are you using? Versions 1.13 and below writes some media files and variable values and such to C:/windows/temp which is an archaic path for modern windows os. Version 1.20 and above create a directory in the root of whatever drive the exe is run within, adding the folder name dbTemp. So if the exe was on the C drive then a folder would be created:
C:/dbTemp
If the program doesn't have permission to write to c:/windows/temp or it doesn't have permissino to create dbTemp, then that may be causing or contributing to the problem.
So, check the paths in your source code, and check on the temp directories DBC uses. It the paths in your source code are absolute and the paths do not exist, your media may not be found. If the paths are relative but subdirectories don't exist, that may also be part of the trouble.
Another possibility is if you use BUILD FINAL where you include everything in the build. The trouble with this command is that it takes EVERYTHING in the folders and subfolders and puts it in the final exe whether it uses that info or not. That means all of the tmp files, or extra images you hadn't planned on using, or dlls, or anything that's in the folders. Sometimes this will prevent the exe from working under any circumstances, other times it can create a problem in locating specific files.
So check to make sure your final exe directory and subdirectories are clean of everything except your source and the media you want to use. Remove the d3drm.dll before you make your final if it is sitting in the same folder as your source.
Again, this applies to building a FINAL EXE that includes media, not just a regular exe.
Enjoy your day.