Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: 1 ... 288 289 [290] 291 292 ... 321
4336
Multimedia / Re: [Uniaud] No sound even if audio card is recognized
« on: June 29, 2015, 01:14:31 am »
Delete the PMunixmix.ini file like I almost described above, stupid typo  :)

4337
Multimedia / Re: [Uniaud] No sound even if audio card is recognized
« on: June 29, 2015, 12:47:54 am »
Hi Pete, Try right clicking on the small square and choosing "Show all controls" or perhaps "Rebuild form".
At the worst try closing it and deleting x:\mmos2\PMUnix.ini.
You might want to report to David Parsons.

4338
Applications / Re: strange error with testing java program
« on: June 25, 2015, 04:25:12 am »
It looks like the program tried to free some memory twice and naturally failed. May be the program you're trying to run or might be in the Java virtual machine and possibly even a libc bug.

4339
Applications sounds fine in English and if by scripting (I haven't actually looked at Agena) you mean an interpretative language that is suitable for writing a few lines to eg parse a file or such, think shell scripts or REXX then it's also fine.

4340
Networking / Re: Simple scanner for IP addresses on local network
« on: June 23, 2015, 05:45:56 pm »
I'm pretty sure there is an old port of nmap (or similar) around but I've been trying to remember about it since this thread started with no luck  :(

4341
Programming / Re: ptrace and QtCreator
« on: June 22, 2015, 07:29:53 pm »
Well we do have sys/ptrace.h and it is listed as _ptrace() in emx/syscalls.h but I can only find it in emx.dll.
Look at the above mentioned headers, perhaps try calling _ptrace() instead of ptrace.
Looking at the kLIBC source there is a ptrace.asm file but seems to be from EMX. You might have to ask bird.

4342
It looks to me that SHPIINST.DLL can be listed as PM too. It has several PMMERGE and PMSHAPI functions on it.
http://www.edm2.com/index.php/SHPIINST.DLL

What is the best way to determine if this is just a forwarder?

Run exehdr on it. Example of a forwarder,
Code: [Select]
Library:                        pmwin

Module type:                    Dynamic link library
Number of memory pages:         00000000 (0)
Initial CS:EIP:                 object 0 offset 00000000
Initial SS:ESP:                 object 0 offset 00000000
Automatic data object:          0


Exports:
 ord  obj   offset    name
  52    0  00000000  WINQUERYUPDATEREGION forwarded to PMMERGE.3211
 129    0  00000000  WINQUERYDLGITEMSHORT forwarded to PMMERGE.3185
  31    0  00000000  WINQUERYWINDOWULONG forwarded to PMMERGE.3056
 639    0  00000000  WINLOCKPOINTERUPDATE forwarded to PMMERGE.3162
  14    0  00000000  WINENABLEWINDOWUPDATE forwarded to PMMERGE.3114
 319    0  00000000  WINQUERYDESKTOPBKGND forwarded to PMMERGE.3184
...

Note that pmwin isn't just a simple forwarder but also translates function names into ordinals.
Best to pipe the output through less or such.

SHPINST.DLL has some interestingly named exports which leads me to think that it isn't part of the (2.x+) PM but I'm not sure what uses profiles. Almost looks like it is to manipulate the Program Manager which I believe was how 1.x worked

4343
Programming / Re: programming in Java with netbeans
« on: June 20, 2015, 04:00:23 am »
it's the same version I have here. Unluckily there is lots that go wrong with Odin and there doesn't seem to be debug builds anymore so no logging. As I don't have netbeans to test, you'll have to wait for Greggory to post his setup.

4344
Hi Mentore,
Quote
The program compiles but doesn't link. If I use -Zomf, the prelinker stops reporting a bunch of undetermined references, while using -Zexe it's g++ (ld) which stops saying it doesn't recognize the -O option. Needless to say, but there's no '-O' option in linker switches.

The rule is that you need to link with -Zomf to pull in OMF libraries which usually have a .lib suffix. With kLIBC -Zomf will also pull in aout libraries (.a suffix). As QT is an OMF build you will always need to at least add -Zomf to LDFLAGS.
-Zexe is hardly ever useful now a days and was introduced for those cases where a *nix makefile targets foo instead of foo.exe. It's better to add $(exeext) to the makefile if needed but most build systems can figure this out due to Windows also needing it. Using -Zomf also seems to create a correct executable with the .exe extension.
The error about -O is part of the command that GCC creates to call LD.

4345
Programming / Re: programming in Java with netbeans
« on: June 19, 2015, 04:22:15 pm »
I'm pretty sure used to mix in real Windows DLLs with Odin. Looking in my old Odin directory, I added msvcrt.dll at some point. Its dated from '99. It may be the version you used.

4346
My priorities are having a decent browser and good multimedia (especially video) support.
So I've learned that I'm not a programmer but can still learn enough that I'm posting this with OS/2 SeaMonkey 2.28 (currently probably the only one in the world) and regularly test FFmpeg and even libav, including contributing my test results back upstream so they don't remove us. (fate.ffmpeg.org and fate.libav.org and do the odd fix. These are the bases of most of our (and most other open source)  multimedia support.
Even us non-programmers can work to have software working on our platform of choice.

4347
Programming / Re: programming in Java with netbeans
« on: June 18, 2015, 02:45:56 am »
Find a Windows msvcrt.dll and put it into your Odin directory and retry.

4348
Programming / Re: programming in Java with netbeans
« on: June 15, 2015, 02:35:46 am »
Sorry, thought that 5.5.1 was a bug fix or so on 5.5. Tried 6.9.1 with modified command files from 5.0, but I get same error "SYS1065: The input line is too long".

The usual way around this error is to use a response file. A response file starts with @ and lists all parameters, one on each line and is run like foo.exe @response instead of foo.exe /param1 /param2 /etc.
Also watch out for long path names.
BTW, which zip are you using? netbeans-6.5.1-200903060201-ml-java.zip?

4349
Running strings on WINCFG.DLL, it is a PM program and has a SOM call so I'd guess it is the part of the WPS that contains and does the WINOS2 object settings.

4350
Programming / Re: programming in Java with netbeans
« on: June 14, 2015, 01:12:22 am »
Perhaps post the sh script if you are still having problems

Pages: 1 ... 288 289 [290] 291 292 ... 321