|
I want to port a windows' program to macintosh's,how can I do?
Give my best wishs to anyone who gives me any tip!
|
|
|
|
|
Do you have development tools for Mac w/ the same language as your Win-Apps. If so all you would need to do is learn new GUI and could just copy the meat of the app.
-Matt Newman
|
|
|
|
|
There's not much to it, other than learning the quirks of Mac OS. You'll probably want to stick with Carbon and OS X (and beyond), especially if your app is C/C++ based.
Another helpful suggestion : start thinking in more generic terms. Use STL instead of Windows APIs. Design classes from an interface, not from an implementation. These small steps will help you go a long way in make porting less painful.
|
|
|
|
|
I have this kind of problem some time ago (in other platforms), agree, and take it further:
First of all, create (or buy) a common framework for the two platforms. And code using only this framework. We used call it "get rid of OS soon" in the project.
|
|
|
|
|
I have problems with dialogs under japanese win98 the length and hight of the dialogs are false.
the strings in the buttons are very small, all controlls are on a wrong place
how can i solve this problem???
who can help me?
can i do something in oninitdlg?
|
|
|
|
|
Hello, the codegurus around the world.;)
In fact, I have the same experience as yours.
After I developed some application on English Windows, and
I imported the same application to Japanese Windows,
the button layout is so weired sometimes.
In this case, I will work on Japanese OS to fix these stuffs.
I heard that Windows XP improve to show English letter more clearly.
Have a nice day!
-Masaaki Onishi-
|
|
|
|
|
Make sure the FONT line in your dialog resource says "MS Shell Dlg". The VC resource editor defaults to "MS Sans Serif" which works incorrectly on DBCS languages.
--Mike--
http://home.inreach.com/mdunn/
A recent survey reports that 1/4 of all internet users in England surf for porn.
The other 3/4 just didn't want to admit it.
|
|
|
|
|
sorry, bur where can i get this font "ms shell dlg"
please write me
thanks
|
|
|
|
|
thanks for your help i will try to fix my problem
if you now some new fixes or you have some new ideas please reply to me
it is very helpfull
thanks a lot
|
|
|
|
|
if anybody knows, tell me please
|
|
|
|
|
The error message I get is "Network request is unsupported". I have
installed Client for Microsoft Windows, File and Printer sharing for
Microsoft networks, NetBios, NetBEUI and TCP/IP. I can access the DOS
computer from NT, 95, 98 and ME.
Any ideas?
Cathy
|
|
|
|
|
anyone come acrosss a problem where they cannot increase the size of the virtual memory. I can set it to any number but the one displayed is still 20 megs but the odd thing is if I check the actual swap file, I get a size of whatever I allocated it..
Every time I reboot, I get the same increase virtual memory bla bla bla
thks,
eddie
w2k server
|
|
|
|
|
Hello all,
I need to perform some operation on some old 16 bit application (compiled under borland). Operation requires some text drawing (custom text control) and there is a problem. I use script which calls about 5000 such operations. After circa 500th there is a GDI problem. The result is that I receive dialog box "GDI cannot execute operation" and content of every window is not painted correctly (looks like global GDI failure). I tried to peridically closing this app, but I didn't notice any improve.
I wonder is there any solution of this? Maybe I should try to change OS to Win9x, which has different old Win app emulation? Or maybe there is some app, which 'cleans' unused GDI resources? Any anser will be appreciate.
I use Win2000, 128MB RAM, 32MB Video.
Regards
Bartek
|
|
|
|
|
If don't know if this is possible to do from a script. But, if you could kill the "NTVDM" process (Windows NT Virtual DOS Machine) process, the GDI resources used by 16-bit programs should be free'ed...
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
Yes, thank you - I found this method useful yesterday. Instead of killing NTVDM process - I kill wowexec (all resources are freed, too). I wonder which method is more correct?
Regards
Bartek
|
|
|
|
|
GREETINGS
My internet doesn't work properly under Win2K. I can't view different sites(for example - CodeGuru or mail on Yahoo). Who knows how to solve this problem?
Modem - Creative Modem Blaster V.90 PCI DI5655
Thank you!
LOVE & PEACE to everyone
LOVE & PEACE to everyone
|
|
|
|
|
Anyone know off the top of your head what the max length of a domain name is defined as under NT? Thanks in advance. I'd rather not spend an hour searching MSDN.
|
|
|
|
|
Hi,
I think I asked this question before in "the lounge" a while ago but this forum is probably a better place for it.
Because we cannot tell which machine our customers our going to run our software on I got myself an "Me" machine. It all works fine except for when I start up the machine or release the communication port after having used it the serial ports on it go into a very strange state. In all other windows versions I have used (3.1,95,98,Nt 3.51, Nt4.0, Nt2000) releasing or not using a serial port just brings the RS232 port in rest condition (RTS,DTR and TX line go negative: between -3 and -12V) which is what is supposed to happen. An unused is "not used" and therefore inactive. The RS232 standard says the port signals should be at rest in that case. That is not what my "Me" machine does. it sets RTS and DTR (positive voltage) and puts the TX line in "break" mode continuously.
I now have the problem that I do not know whether the problem is a one off case or whether it is typical for "Me". Anyone got any ideas or has heard about that sort of thing ? At microsoft nobody has a clue and when it comes to giving specs about what their product is supposed to do it is equally hopeless (believe me, I have tried extensively)
Any ideas/help greatly appreciated.
Filip
|
|
|
|
|
Recently I encountered a weird problem: when running debug mode in Microsoft VC++ 6.0, passing the first breakpoint (or second press of "Step Into/F11") produced blue screen of death saying "A fatal exception occurred in ... VXD TRIOVXD..."…
I found that this behavior was independent of application being debugged, and after wasting some time trying to find something related in DevStudio settings - but everything looked fine - I started to think what have had changed in the system since the last time I've been working with debug. The only change that occurred to me is that I installed Matrox G450 DualHead card instead of old ATI 128 Rage. So I went back, removed Matrox, uninstalled drivers, put ATI, but the problem still persisted. What was suspicious though, that at some point of dealing with old/new card drivers (I do not remember what stage it was exactly) I got exactly the same blue screen message… So, it convinced me even further that the problem originated in graphic card, presumably Matrox, and then I did all kinds of things - downloaded updated drivers, uninstalled, reinstalled, physically removed and installed new/old card, etc. - with no result. Finally, I searched system files for any reference to TRIO, and found the line device=trio.386 in [386enh] block of system.ini file. I deleted it, partly expecting that the machine will not boot, but it did, and this fixed the problem, without any other noticeable effect…
It is still quite obscure to me where this line came from, should it be there at all or not, and what does it mean, so if anybody can shed light on this issue, I'll be very grateful.
Regards,
Igor Kagan
http://igoresha.virtalave.net
|
|
|
|
|
I keep running into this problem in the vc++6 editor where the copy and paste functions dont always work. Whether I use the edit menu, context menu, or ctrl-c/ctrl-v, sometimes it just wont copy and paste. Sometimes it does.
This only happens on one particular machine of mine. I've never had this happen before but its damn annoying.
Any ideas.
Josh
josh@that-guy.net
|
|
|
|
|
This is a known bug in NT. See MS KB article Q231652. Fix is in the following .reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msdev.exe]
"DisableHeapLookaside"="1"
|
|
|
|
|
Yup it's win2k. That fixed it.
Thanks
Josh
josh@that-guy.net
|
|
|
|
|
Hi
I would like to disable the Ctrl+Alt+Del key combination on WinNT/2000. Am able to disable all other system key but this!
Please show me the way.
TIA
Anil.
|
|
|
|
|
You can't block Ctrl+Alt+Del on NT/2K. Check the KB article Q125614 for more info. BTW - why do you need this feature?
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|
|
I need this feature for a kiosk style application. I understand the security implications and also that a new keyboard filter or a replacement GINA dll are the only ways to do this. But just looking for info as there is a paucity of time. Of course, if these are the only ways to do it, then so be it.
Thanks
Anil
|
|
|
|