|
Hi there, it's my first post at Code Project. I'm a short time surfer there but I find it the greatest VC site I ever found.
I'm currently making an (HP) pcl2tiff converter for my company. This converter is designed to run on both PC and Unix.
I develop under MSVC 6.0 and I write portable code so that I've little or no modification when I'll do the port to Unix (HP-UX 11).
I've read somewhere - I'm not sure - it is possible to generate Unix compatible exe directly from Visual C++, that is I wouldn't have to compile under Unix and that would be so great.
Can someone confirm this - or is it just a silly idea ?
btw When finished this converter will read HPGL/PCL5 printer files and generate output to TIFF or Bitmaps.
Yarp
|
|
|
|
|
I've heard of one virus that can run on both Intel based Linux and Windows machines, but I think you have to go down to the assembler level to do this, and you would really need to know what you are doing. Effectively you would still need to include support for both systems in the exe as they are different API's. As well as that VC6 is for 32bit Win apps, and to get this working it would have to be half dos based - 16bit app, as all the Win32 exe headers would get in the way. I would say this is really not something you would want to attempt. Are the HP-UX machines Alpha based, in which case it nails the coffin shut.
Giles
|
|
|
|
|
In fact I need not include support to either system. All I do with this PCL decoder is to read the file and ouptput the result to another file - a bitmap for example. These are just file ios, that's the reason why I thought there was a little possibility.
The dream as gone but anyway thank for the answer.
Yarp
|
|
|
|
|
Hello, is there somebody to help me solve my problem? I did following:
1. I have back-up of computer' HDD with english W2000 instalation.
2. After damage of disk at this computer, I installed there german version of W2000
3. German version was installed successfully - I continued with unpacking HDD backup of previous - english version. Backup program was working OK, after
unpacking backup propmted for computer restart.
4. After restart english Win2000 login dialog appeared on screen.
5. I tried to log-in as administrator - win2000 prompt "Local security policy does not allow this user to log in". All other users of previous instalation are now unknown, noone can log in.
What to do now? In backup of previous - english instalation was backed up all the HDD content, including system directory, documents ... everything except backup directory.
What can man do, when administrator has no right to log on?
Gnimelf
|
|
|
|
|
Has anybody else experienced problems using UDP sockets for prolonged periods on NT 4, with the system partially locking up or producing a blue screen? The same app will work for days on Win 95 and Win 2K without any problems. I've tried running the app in the debugger and it just locks that up at the same time! Bounds checker also says that there is nothing wrong with the code.
Anybody any ideas?
Nick
|
|
|
|
|
I have developed a Proxy server application listening on
a purticular port running on Win 2K .This applicaion
serves the request coming from client machine Browser
by reading the header.
I want to upload a file from Apple Mac through browser
to my application running on windows 2k.
Is there any method to solve this? .The Application
is developed in visual C++ using MFC.
Is there a component to serve the purpose? if there is
some component let me know how to use it
bgpandey,
|
|
|
|
|
I have developed a Proxy server application listening on
a purticular port running on Win 2K .This applicaion
serves the request coming from client machine Browser
by reading the header.
I want to upload a file from Apple Mac through browser
to my application running on windows 2k.
Is there any method to solve this? .The Application
is developed in visual C++ using MFC.
Is there a component to serve the purpose? if there is
some component let me know how to use it
bgpandey,
|
|
|
|
|
I installed .Net,and I found the component writed with VB was correct while debug step by step,then I make the dll.But it does not work correct.(In one method of this component ,I called one function of another dll just for unzip files.)
If this is caused by .net?
sandos
|
|
|
|
|
Yeah, yeah, I know there's no quickview under 2000... I'm not asking that.
I wrote a quickview fileviewer under 98 for a proprietary format we use, and I'm wondering what my options are for porting it (somehow) to Win2K. Quickview plus doesn't look like it's expandable, or am I wrong? Is there any way to just use the old viewer somehow, or modify it slightly?
Thanks,
Josh
Joshua Berman
RealTime Gaming
|
|
|
|
|
I'd say write a shell extension that launches a viewer program. That way, you stay integrated with Explorer and can reuse that code that displays your files. Check out PicaView which takes this approach to viewing graphics files.
--Mike--
http://home.inreach.com/mdunn/
You are the weakest link, GOODBYE!
|
|
|
|
|
I heaard it possible to customize WinNT network login dialog at Windows startup.
Any information regarding this topic is very helpful.
Cheers
|
|
|
|
|
Sorry,
I have screened previous threads and found that
「GINA」 is the keyword.
Viewed MSDN, searched with that keyword and I could even get sample codes.
Thanks Jim and those who might have took a look at this topic
|
|
|
|
|
I am developing a java application and i want to get the Operation System Info. that which OS in installed on machine.
|
|
|
|
|
Use java.lang.System.getProperties()
|
|
|
|
|
Our subclassed CButtons are receiving Windows message 0x128 (296) when tabbing out of certain controls in the same dialog tab. This causes the button to draw over (or leave unpainted?) the art we want to see. In our case, the caption on the button has the standard gray button background, which we don't want. The bad drawing only occurs once in the life of the dialog. Covering/reexposing the bad areas causes them to redraw correctly.
If we return 0 from message 0x128 (not passing it to CButton), the problem disappears.
This occurs only on Windows 2000 and XP. Does anyone know what undocumented Windows message 0x128 (296) is supposed to do?
-- Phil Davidson
phil@phildavidson.com
|
|
|
|
|
The answer: This message 0x128 is WM_UPDATEUISTATE, which is documented in the MSDN library. I would have found this if I had inspected WINUSER.H from a recent version of the Platform SDK. Thanks to Usenet correspondents for this information.
-- Phil
|
|
|
|
|
Hello,
in win98 and win2k you can refresh the device tree by clicking on "refresh" in the device manager (control panel/system/hardware). Windows is then searching for new plug'n'play-devices. I want to do this refresh in my own installation program, maybe by a dll-function-call or something linke this. So far I can only reboot the computer to force the refresh. But a reboot is not really necessary. Could anyone explain me how to do such a refresh with my own src ? Thanx.
Bye.
Elmar.
|
|
|
|
|
Hi all,
I have a socket application which is running on Windows 2000. My socket application has been using local machine IP address to create a socket. Okay. at run time of the application, user can change local machine IP address throught network properties. Now in windows 2000, we dont need to restart machine after IP changes. After IP changes my application's communication will break. It want to restart again. So is there any way to know IP changes in my application, like IP change events or something?.
All comments are welcome.
Kareem ( kareem@amcomm.com)
|
|
|
|
|
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.
|
|
|
|