|
-
Dec 22nd, 2022, 03:53 AM
#26
Re: Same Code Compiled on windows 11 will not run on Windows 7
as I wrote, I use Direct2D, WIC, OLEEXP and DirectSound for my game. those typelibs are the same.
the other references are:
Visual Basic For Applications (that should be the same)
Visual Basic runtime objects and procedures (that is located in C:\Windows\sysWOW64, that could be a problem)
Visual Basic objects and procedures (that should be the same)
OLE Automation (that is different C:\Windows\sysWOW64\stdole2.tlb)
the last one I can be without, but if I want to use API like OleCreatePictureIndirect, I need to include it. its the IPicture/StdPicture reference.
but the issues I get are not related to this at all.
the game itself its buggy. resulting in glitches. like some "memory" issue. maybe related to msvbvm60?
since the values of the game gets altered and of course if messing with values too much, eventually it will crash.
if I compile in windows 7, the game works well in all OS, but compiling it in windows 10 result in this.
and theres no "error" code showing like axisdj has. its full crash. or full glitches.
so, lets assume theres some "odd" memory leaks that will show in "big projects" or "specific project"
it will work, but since theres a memory problem, eventually it will start causing issues. strange behavior. and sometimes crashes.
dilettante just compile a couple of projects, make a run and if its works = ITS WORKING, SEE?!? I KNOW EVERYTHING U ARE ALL WRONG.
but u need to do A LOT OF TESTING. since it require the memory to be used "A LOT". u can not just test-run it. it need to run for a long time and u need to have a project that require MANY things.
my game is that. doing A LOT OF CALCULATIONS.
so, sure, following dilettante's conclusion. IT WORKS. well. it do until it doesn't. what then?
my game require it to be 100% correct. I can not have values altered. people will complain if they lose money, or their character gets faulty health values, or one item disappear or get bad.
or when saving, the save-data is corrupted and he can not load it anymore. I mean.... I CAN NOT HAVE IT LIKE THAT.
its not a utility tool that do a couple of calculation and some text-editing.
for u it WILL NOT MATTER. it works. and probably it will always even if sometimes something odd happens. but its not the end of the world.
but, the problem is, THERES SOMETHING GOING ON. and it can affect everybody.
Last edited by baka; Dec 22nd, 2022 at 03:57 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|