- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it because of the systerm the computer used? How could I fix this problem and make the application run on
every computer?
Thanks a lot.
Bisheng
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
http://software.intel.com/en-us/articles/redistributable-libraries-of-the-intel-c-and-fortran-compiler-for-windows/
Note that you cannot redistribute debug versions of the libraries.
Also, if you are linking to the DLL version of the libraries, an alternative is to link to the static version instead, then the libraries will be within your executable file. This can avoid issues of incompatible versions.
Regards,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I doubt that anyone can produce an executable program that can be run on "every computer".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The systerm I use:
Windows XP Professional 2002 with SP3
Intel core 2 Duo CPU
Intel visual fortran compiler integration package ID: w_cprof_p_11.1.060.
My problem:
I have made an interface to do the numerical calculation. When click the executable file, the interface will show up. After inputting the parameters and press the Run button, the calculation will start. This application work well on my own and some computers. But on some other computers, after pressing the
Run button, there is no response and the calculation does not start.
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the calculation starts, the CPU will be occupied 100% on my computer.
This project works on my computer with Windows XP 2002 with SP3, but it does not
work on another computer with Winodws XP 2002 with SP2. I don't know why.
On my computer, even when CPU is 100% occupied, the program is runningafter the "Run" buttone is pressed. But on the computer where it does not work, I think it should not be the program waiting. it doesn't have response for a long time.
Bisheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, steve.
! MAIN PROGRAM: CREATE THE PROJECT AS A QUICKWIN APPLICATION..
MODULE GEOTH
USE DFLOGM
USE DFLIB
USE DFNLS
USE DFWIN
INTEGER(4) event, ix, iy
CONTAINS
SUBROUTINE GEOPRO_START()
USE DFLIB
INTEGER(4) I4
TYPE (QWINFO) QW
TYPE(WXYCOORD) WXY
INTEGER(2) STATUS
!CALL OPENFILES
OPEN(UNIT=3, FILE='USER', TITLE='GeoPro')
! CLEAR THE SCREEN TO THE BACKGROUND COLOR.
I4 = SETBKCOLOR(0)
!CALL CLEARSCREEN($GCLEARSCREEN)
!CALL GRAPHICSMODE()
!GET THE APPLICATION'S CHILD WINDOW.
I4 = GETWSIZEQQ(3,QWIN$SIZECURR, QW)
! MAXIMIZE IT.
QW.TYPE = QWIN$MAX
I4 = SETWSIZEQQ(3, QW)
I4=SETEXITQQ(QWIN$EXITPERSIST)
do while (.TRUE.)
i4 = waitonmouseevent(MOUSE$RBUTTONDOWN, i4, ix, iy)
end do
END SUBROUTINE GEOPRO_START
SUBROUTINE GRAPHICSMODE()
USE DFLIB
LOGICAL MODESTATUS
INTEGER(2) MAXX, MAXY,HALFX,HALFY,ROWS,COLS
TYPE (WINDOWCONFIG) MYSCREEN
COMMON MAXX, MAXY,HALFX,HALFY,ROWS,COLS,MYSCREEN
!SET HIGHEST RESOLUTION GRAPHICS MODE.
MYSCREEN.NUMXPIXELS=-1
MYSCREEN.NUMYPIXELS=-1
MYSCREEN.NUMTEXTCOLS=-1
MYSCREEN.NUMTEXTROWS=-1
!MYSCREEN.NUMCOLORS=-1
MYSCREEN.FONTSIZE=-1
!MYSCREEN.TITLE = "GEOPRO "C !
MODESTATUS=SETWINDOWCONFIG(MYSCREEN)
!DETERMINE THE MAXIMUM DIMENSIONS.
MODESTATUS=GETWINDOWCONFIG(MYSCREEN)
MAXX=MYSCREEN.NUMXPIXELS - 1
MAXY=MYSCREEN.NUMYPIXELS - 1
HALFX = MAXX / 2
HALFY = MAXY/ 2
COLS = MYSCREEN.NUMTEXTCOLS
ROWS = MYSCREEN.NUMTEXTROWS
END SUBROUTINE GRAPHICSMODE
END MODULE GEOTH
!*********************************************************
! MAIN PROGRAM
PROGRAM GEOPRO
USE GEOTH
CALL GEOPRO_START()
END PROGRAM GEOPRO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CALL SLEEPQQ(200)
to cause the main thread to wait for 200ms each time, waiting for the user to close the application from the other thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Previously I put three buttons on the interface, one of which is to stop the program. Later I deleted this button, but I forgot to delete the commandsrelated tothis button. The commands for this button look like this: if thebuttonstate is true, the program will stop.
As I didn't assign a value to the initial state of this button, the value is arbitrary. On some computers, it is"true", the program will stop when thecommands realated to this button is reached. But on some other
computers, thestate of thisbutton isFALSE,so the program works well.
Now I deleted the commands related to this button, the application works well.
Anyway,thank you very much for your patience.
Bisheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
![](/skins/images/98E68944C1FF703B8AC50091329B92AF/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page