How to view / open .sof files in linux? - linux

I am trying to open *.sof file by using nedit / gedit , but it couldn't open. It seems that this file is binary file OR encrypted file.
Is there a way to view/open such kind of files in linux ?

The sof file extension is associated with Quartus II, a development environment for Microsoft Windows operating system used to develop apps for FPGAs, SoCs, and CPLDs.
SOF file stands for Altera SRAM Object File that contains the data for configuring all SRAM-based Altera devices supported by the Quartus II software, using the Programmer.
So, .sof file is native to windows World. Wondering how you got that on your Linux System. Coming to your Question I think -
If it is really a .sof file, you can open it on some Windows Machine in Notepad or Wordpad.
It may be the case that file extension is misspelled. In that case you can check for other file extensions such as .cof or .spf or .sod
You can refer to this site for further details.

Related

How do I load a Qt project from Linux in Windows

I think my question is the opposite of: How can I import a Windows project to Ubuntu on Qt?
My team has created a Qt project (*.creator, *.files, etc. files) that they use from Linux. I'm running Windows, and have the Qt Creator for Windows installed. I also have a drive (Z:) mapped to the Linux drive with the source and project files.
When they open the .creator file (as a project), all the files show up in their Qt Creator running on Linux. When I open that file (as a project) in Qt Creator for Windows, I only see 4 files (*.creator, *.config, *.files, *.includes), and I don't see the source files.
The *.files file has lines that look like:
/home/user/path/file.cpp
And my drive mapping does map this file as Z:/home/user/path/file.cpp (and I'm opening the *.creator file from Z:).
I only need to view and edit the files - I don't need to build in Windows. Is there a way I can use the existing Linux project files to load the project in Windows? If not, what changes do I need to make?
Thank you.
Usually u open the *.pro file with Qt Creator and if your paths in the pro file are relative and not absolute to that pro file, every file should be loaded into your project view.

Read-Only File C++

I'm trying to submit my homework assignment online and the professor wants it to be a zip file. When I go to zip the file it becomes a [Read-Only] file which is not what they want. Im using Visual Studios and also running it on a mac using parrallel desktop to run windows 10. Any suggestions on how to not make it a read only file?

How to access remote filesystem on Windows CE device via command line

I can view files on my embedded Windows CE device via Windows CE Remote File Viewer, but would prefer to do it through the command line. Is this possible?
Yes, since SO is for programmers the answer is following api's:
CeFindFirstFile
CeFindNextFile
Somebody's done the hard work for you already. The xda project has a set of command line utilities that communicate over RAPI including:
pdir - list wince directory
http://itsme.home.xs4all.nl/projects/xda/tools.html

Accessing windows applications controls from Linux

I'm currently using Linux as my main OS and I run some Windows applications via Wine. Let say I'm running Notepad under Wine for example purposes. Is there a way I can access the text entered in notepad from Linux ? (Java, C, C++, C#/mono).
Language doesn't matter
Thanks in advance
If the file is saved than you can share the file. If it is not saved I double you will find a solution. may be it can be coded but it will be very hard to do it!

How to run MSVC++ 6.0 off a USB drive as a portable app

Without using any third party program to do this (i.e. without VMware ThinApp, U3 or MojoPac etc.) How to move MSVC++ 6.0 from from its install on C: over to a USB drive? So that it can be used on different PCs with no admin rights and without installing anything on the host PC? Even if it's only usable as a console application would be fine, although to have the GUI including Visual Assist etc. would be even better.
Move the two folders that install created under c:\program files\ to the USB drive (e.g. to e:\progs\msvc\msvc6 and e:\progs\msvc\vc98), and append to the file e:\progs\msvc\vc98\bin\vcvars32.bat to suit e.g.
prompt $g
set path=e:\progs\uedit;e:\progs\utl;%PATH%
e:
cd e:\work
start e:\progs\uedit\uedit32.exe /i=e:\progs\uedit\uedit32.ini
cmd /k
Using a shortcut to vcvars32.bat then works fine for doing any simple console programming, which is all I’m using it for so far. I don’t know how well any of the GUI type programs in the tools folder will function.
I am not sure exactly how one would do that.
Here are a few ideas.
The installation procedure creates at least two sets of directories, so you could direct both of them onto the usb drive.
The installation procedure creates a bat file, that sets up the environment variables correctly for command line execution. Modifying it to point to the correct drive letter when your memory stick loads on the other machine may be important.
There are also registry entries for vc 6. Extracting them, and having a script of some sort to load them onto your target machine when needed, might be useful.
Is there a specific reason why vc 6 is required? Would another compiler do?
I haven't done this, but it should "just" be a matter of:
Copying all the application files to a USB drive. Remember there will be shared files and stuff that may need to go into the Windows directory.
Identifying and copying all of the registry entries, although you may need to be admin to create some of these on the target machine.
That's a heck of a lot of work, for little gain in my opinion. I think there may be a command line only version of the Visual C++ tool chain that may better suit your requirements. IIRC it was released to help people create build bots for open source projects, like the Mozilla Tinderbox, and includes the VC++ 7.0 compiler.

Resources