- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
clf=
char(10)//char(13)
Anthony used this code, I have never struck the // operator and Metcalf tells me it is a char operator, but do not what it does. Can some tell me please?
I took my last Fortran class in 1979 at Newcastle University, we used punch cards on a mainframe or a Daemon computer that was in the library.
If I add radio buttons the code gets added to the resource.h file, but not always to the FD file, how do I recompile the fd file? or do i have to fix it by hand?
JMN
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> I have never struck the // operator and Metcalf tells me it is a char operator, but do not what it does.
Concatenation of the character expressions on either side of it.
Concatenation of the character expressions on either side of it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What compiler are you using and what integrated development environment
(IDE, e.g. DevStudio, Visual Studio, full version please)? Are you using
the resource editor that is supplied with your IDE or editing the
resource file manually?
Normally, when creating a project from scratch using DevStudio or Visual studio, the resource.h is created automatically and the IDE normally would automatically run an included executable to recreate the resource.fd file needed by the Fortran compiler from it. Every time you change the resource file and modify the resource.h header file that is included into it and do a rebuild of your project, then the rersource.fd would normally be rebuilt before the Fortran code is recompiled. When using Visual Studio and the Intel compiler to create a project, if you right-click on the resource.h file and select properties then examine the custom build step entry, you should find a command to run the DEFTOFD.EXE program with the RESOURCE.H file as input, which then creates the RESOURCE.FD file as output. If this build step is missing, then that is why your .FD file will be getting out of step with your .RC and .H resource files.
P.S. in my experience, Windows will not let you run an EXE where command buttons have been given the BS_OWNERDRAW style, even if you can select Ownerdraw from the Properties sheets.
Normally, when creating a project from scratch using DevStudio or Visual studio, the resource.h is created automatically and the IDE normally would automatically run an included executable to recreate the resource.fd file needed by the Fortran compiler from it. Every time you change the resource file and modify the resource.h header file that is included into it and do a rebuild of your project, then the rersource.fd would normally be rebuilt before the Fortran code is recompiled. When using Visual Studio and the Intel compiler to create a project, if you right-click on the resource.h file and select properties then examine the custom build step entry, you should find a command to run the DEFTOFD.EXE program with the RESOURCE.H file as input, which then creates the RESOURCE.FD file as output. If this build step is missing, then that is why your .FD file will be getting out of step with your .RC and .H resource files.
P.S. in my experience, Windows will not let you run an EXE where command buttons have been given the BS_OWNERDRAW style, even if you can select Ownerdraw from the Properties sheets.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page