Sign in to follow this  
ghostbear77

Unity MS VisualStudio Offline help not complete?

Recommended Posts

ghostbear77    132
i just excanged my old IDE (C++Builder) to the free MS Visual C++ 2005 ExpressEdition (full img-download) and tried to figure out, how to work with it. now i got 2 problems: its easy to generate a WinApp. forms, buttons ect. but when i enter a source snipped (i.e. code to be executed when a button is pressed) the IDE tells me to put it into the "form.h". isn't code supposed to go into the "form.cpp" or whatever? and the headers to be inside the header-file? second: how can i update the offline help? i know there is always the online-help and it is more up to date ect. but if my i-net gots down or i want to use the help on a non-connected PC? i get annoying errors to, when using the local-part of the help:
The information you are trying to access could not be found. Various events could have caused this error.

You have chosen to use local Help only for Search and F1 results, and the topic could not be found in local Help.
This error can be caused when local Help has not been installed or only a subset of local Help was installed.

To correct this error
On the Tools menu, click Options.

Expand Help and then click Online.

In When loading Help content, select Try local first, then online.

In Search these providers, verify that MSDN Online or Codezone Community is selected.

Click OK and then try to access Help again.

You have chosen to use a mix of online and local Help for Search and F1 results, but online Help is not available.
This error can be caused when the information you are attempting to access can only be found online, but online Help is not available.

To correct this error
Verify that you have an active connection to the Internet.

—or—

If you connect to the Internet using a proxy server, verify that the proxy server is functioning properly.

A cross-reference link in the body of a topic is broken.
This error can be caused when a link refers to a topic that no longer exists or refers to a topic that has changed locations. This error can also be caused when a link refers to a topic that was not included in local Help for your product edition. For example, Express Editions frequently install a subset of Help so that topics that do not apply to Express Edition features are excluded from Help.

To correct this error
Try searching for the topic using the Search page or Index window.

For more information, see Full-Text Search Tips and Index Search Tips.

Help is not installed.
Additional links to information might appear below:

Topic Location 
Installation Information Microsoft Document Explorer 


To correct this error
Install Help. 

Note  
Installation instructions will vary based on which product installed Help. 
 

If available, in the Options dialog box select the Try online first, then local option to specify that Help display topics located on the Internet rather than topics installed on your computer. 

help is installed (the link providet isn't usefull either ^^) fulltext-search finds the file online but not locally and i already reset the help to full "local first, then online" and all the sources on the dumb thing is, the page i tried to open locally is accessible through the online-help if i manually locate it or via search function. but VS doesn't keep the files it downloaded. me thinks: no wonder i don't like MS products. it's mutual... can anybody help me?

Share this post


Link to post
Share on other sites
You aren't required to put code in cpp files. Putting the code in the class declaration automatically inlines it in native C++, for example. In managed it seems that the automatic method creator wants you to put it in the class declaration as well.

You don't have to.

When it adds, say:

class Form1
{
private: void MyControl_OnResize(Object^ obj, EventArgs^ e)
{
//TODO: Stuff
}
};


just remove the body of the function, and create a Form1.cpp and do:

void Form1::MyControl_OnResize(Object^ obj, EventArgs^ e)
{
//TODO: Stuff
}


Microsoft simply recommends you leave it in the prior form. Why? I guess it's less files.



I've never had any trouble with the help files, personally. You sure you don't have any filters or anything?

Share this post


Link to post
Share on other sites
ghostbear77    132
first: thanks for the reply

second: stupid MS for 'breaking' (or bending) (C++)standards... again

third: i first hat ZoneLabs lock out net-access for VS, and deactivated any online-ressources in the help-options. accidently i had "Local help" switched off for "search in providers" too. help worked until i stumbled across the missing help-page. (Help -> How do I -> Windows Applications -> Code for Windows Form Applications aka "the missing file")
then i released any locks and set the help-options back to "every thing on", but the pages remain only accessible through the msdn-page.
as of filters, the language filter is set to C++, since i don't need help on VBasic, C# or Java. haven't seen any other filters yet.

Share this post


Link to post
Share on other sites
Quote:
Original post by ghostbear77
second: stupid MS for 'breaking' (or bending) (C++)standards... again

I'm fairly certain you're working in Managed C++, which already breaks with the standards by providing interface, sealed, abstract, ref, value, ^ as a handle, % to get handle, only supporting single inheritance except from interfaces, etc. It's my understanding that the method they want you to use is more like the other .net languages.
Quote:
Original post by ghostbear77
as of filters, the language filter is set to C++, since i don't need help on VBasic, C# or Java. haven't seen any other filters yet.

I recall (my dev computer is in the process of being restored from backups atm) there being filters on which libraries to search as well.

But it seems you're just missing a help file, or the link isn't right. I've never used "How Do I" so I don't know.

Share this post


Link to post
Share on other sites
Dranith    504
Quote:

second: stupid MS for 'breaking' (or bending) (C++)standards... again


It's not that they are 'breaking' the standard at all. If you are using Managed C++, that is more or less a new language built on top of C++ with added functionality. It isn't meant to be compliant to the C++ standard, its just meant to possibly shorten development times. If you want normal standard compliant C++ than you can use that with their compiler too, you just lose the added features introduced into the Managed C++ language. I don't think you can use straight C++ for Windows Forms coding though, I think you are stuck with Managed C++, or C# or another .NET language. If you aren't using Managed C++, then I'm not sure what you are refering to with MS 'breaking C++ standards.' If it is the fact that they seem to want yout to implement class member functions in the header instead of a seperate .cpp file, then that is perfectly legal by the C++ standard. You can always define a class along with all it's member functions in the header, providing you implement the members within the class definition. I know it is fashionable to always hate Microsoft, but in this case it isn't really a just criticism.

Share this post


Link to post
Share on other sites
ghostbear77    132
i already wondered about the ^ ...

MS: "do it our way or dont do it at all"

the CBuilder had none of the fancy stuff like "managed" C++ and could build WindowForms quite well. guess it would be easier just to upgrade it with BCC5.5 and drop VS again.

it's not that i hate MS, i just don't like their attitude and the way we are (i am) forced to use their products. there is not always an alternative. *sigh* less complaining, more problem solving and programming ;)

Share this post


Link to post
Share on other sites
Quote:
Original post by ghostbear77
MS: "do it our way or dont do it at all"

the CBuilder had none of the fancy stuff like "managed" C++ and could build WindowForms quite well. guess it would be easier just to upgrade it with BCC5.5 and drop VS again.


You're using the express edition, the scaled down edition with the bare necessities. I can't speak to wether the standard has a form builder for native use, but it's not all that surprising that the express edition is limiting.

Quote:
Original post by Dranith
I don't think you can use straight C++ for Windows Forms coding though, I think you are stuck with Managed C++, or C# or another .NET language.

You can, they used to do it with MFC. They've since dropped MFC because it was... yeah. But you can still build forms with C++ using the platform sdk apis. It's just... difficult to make dialog boxes without a form builder. Making forms is easy enough, you just use CreateWindow for all the controls, but dialog boxes must be "predefined" (more or less), and the platform help for building dialog boxes is shoddy at best. Form builders make it a lot easier.

Share this post


Link to post
Share on other sites
Sneftel    1788
Quote:
Original post by ghostbear77
i already wondered about the ^ ...

MS: "do it our way or dont do it at all"

No, "do it our way or do it your own way." Regular C++ is still usable (in the same IDE). Don't immediately assume that your problems stem from MS being evil.

[Edited by - Sneftel on November 12, 2005 8:10:47 PM]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • By ilovegames
      You - the chief doctor of the hospital. Working late into the evening, did not notice the majority of hospital workers went home ... But where you disappeared the night shift is also not known. Hastily taking important documents, go home, but something went wrong as usual ... Can you get out of the hospital alive?
      Download https://falcoware.com/AtTheHospital.php



    • By Gator Man
      Game Concept Doc: https://docs.google.com/document/d/1B5eS_eGMke3gk5xPyMLekZY1T7uE2q1pO4vFdALIOC8/edit

      We are looking for every position. From Game designer, to marketer, to programmer, to 3D modeler. Any further questions can be discussed through discord
      DISCORD: Gator#5635
    • By ilovegames
      Wind Of Fear is a game where we have to kill different kinds of waves of monsters packing weapons. The main goal is to survive the waves and pump up your own weapons. There is a store where you will buy new weapons, scattered crystals that restore your life are also on the map!

      Controls:
      WASD - Walking
      Shift - Running
      Mouse1 - Attack
      Space - Jump
      ScrolDown - weapon change
      T - Deceleration of time
      G - Bleed your weapon
      Esc - Exit, pause
      Download http://falcoware.com/WindOfFear.php
       



    • By ilovegames
      Continuation of the first part of the game, Invention. While you were on the island exploring the underground laboratory, the infection was busy spreading throughout the world. In this episode, you have to go through a city populated by monsters in search of salvation aided by weapons that you will find during your travels. The gloomy atmosphere, music and atmosphere and a crowd of walking meat will keep you on your toes!
      Download http://falcoware.com/Invention2.php



    • By Jacob Laurits Besenbacher Kjeldsen
       
      Intro - "The challenges of dynamic system design"
      Custom Quest evolved during development, from a minor quest system used for our own needs in our own game production Quest Accepted, to something entirely more dynamic and customizable, now finally released, these are our thoughts on quest design and developing standalone subsystems. 
      Splitting what is a major production for a small indie team, into smaller installments such as a quest system was a good idea we thought, this way we can get some releases out there and fuel the development of our game. But building a system that works for yourself is one thing, building a unity plugin that will let other developers create quests, missions, and objectives, you would never have thought of is something else entirely.
      The first thing we had to realize was that when building a quest system, the task is not to design great quests, the task is to enable the users to create great quests.
      That still meant we had to find out what good quest design is and what a quest really is.
      Our task was to create a system where the user is free to create creative engaging and rewarding mission experiences for their players.
      What is a quest? - "Cut to the core"
      First off, we need to know what a quest really is.
      A quest is the pursuit, search, expedition, task or assignment a person(s) does in order to find, gain or obtain something.
      In games, quests and missions function in many different ways depending on the genre.
      A single game can contain a multitude of different types of quests put together in just as many ways. In an MMO, for instance, quests are vehicles for the story and the player's progression. In many cases they are formulaic and simple, some can even be repeated, there are hundreds of them and everyone can do them. In other games quests are for single player campaigns only, here they shape each level giving the player a sense of purpose.
      Quests can span the whole game or just be a minor optional task on the way, there are so many design philosophies and creative quest designs that we had to narrow it down and really cut to the core of what is needed for good quest design.
      What all quests have in common is the task, the criteria for successful completion of the quest, and the reward, the goal of the quest, what the player gets out of doing what we ask of him.
      Quests cover an incredible variety of tasks so it was important for us to base our decisions on thorough research. In our research, we found that there are three layers to quest design.
      The type, the pattern and the superstructure.
      Quest types exist within quest patterns and quest patterns exist within the quest superstructure.
      We found that there are 8 basic types of quests these are the various tasks/criteria the player must do in order to complete the specific quest.
      There are 12 quest patterns. These are ways designers can use their quests, connect multiple quests set them up in engaging ways or teach players how to interact with and get the most out of the game world creating variety and engaging the player.
      Enveloping the patterns is the quest superstructure, the overall structure of quests in the game, we found that there are two main ways of structuring your quests.
      Historically quest have a quest giver, an NPC or object that informs the player about the quest, what they need to do, the story behind it and perhaps even what their reward will be should they complete the quest.
      Quest types - "Do this, do that"
      The core task each quest consists of, the criteria for completing part of or all of a single quest. These are the actions we want Custom Quest to be able to handle.
      Kill
      Probably the most basic quest type, the task is to kill something in the game, for example; kill 10 goblins. Gather
      Again very simple, the task is to gather x things in the game world, collecting berries or the like. Escort
      The player must escort or follow a person or object from point A to B while keeping it safe. FedX
      The player is the delivery boy, they must deliver an item to a person or point. Defend
      The player has to defend a location from oncoming enemies, often for a set number of waves or time. Profit
      The player must have a certain amount of resources to complete the quest, contrary to gather quests these resources are resources the player would otherwise be able to use himself. Activate
      The player's task is to activate/interact with one or more objects in the game world or talk to a number of NPC’s. In some cases, this must be done in a certain order for a puzzle effect. Search
      Search an area, discover an area of the game world. This is useful for introducing areas of the map to the player and giving them a sense of accomplishment right off the bat, showing them a new quest hub or the like. Quest Patterns - "An engaging experience"
      Tasks are one thing, and in many games, that might be plenty but we wanted custom quest to let the users create chains of quests, specialize them and set them up in ways that draw the player into the experience, there are many ways to go about this.
       
      Arrowhead
      The most basic quest pattern, the quest chain starts out broad and easy, the player has to kill some low-level cronies. The next quest is narrower, the player must kill fewer but tougher enemies, lets say the boss' bodyguards. The last quest is the boss fight, the player has killed the gang and can now kill the boss. This quest pattern is very straightforward and works well, giving rewards either at every stage or only when the boss is dead.  
      Side stub 
      A side stub is an optional part of the overlapping quest. Lets say quest A leads to quest C but there is an option to complete a side objective B, which makes completing C easier or it changes the reward, for example. The player must escape prison, the side stub is “free the other prisoners” in this example escaping with all the prisoners is voluntary but it might make it easier to overpower the guards or the prisoners might reward the player when he gets them out. The side stub differs from a generic side quest in that it is tied to the main quest directly.  
      Continuous side-quests
      These are side-quests that evolve throughout the game, one unlocks the next, but they are also affected by external requirements such as story progress. This pattern is often found with party members in RPG games, where the player must befriend the party member to unlock their story quests.  
       
      Deadline
      As the name implies these quests are time sensitive. The task can be of any type, the important thing is that the quest fails if time runs out. This could also be used for a quest with a side quest where the side quest is timed for extra rewards but the main objective is not.  
       
      Deja-vu quests
      This kind of quest pattern gives the player a quest they have done or seen before. In some cases, this “new” quest will have a twist or something that sets it apart. It can also be the same sort of quest that exists in different areas of the game world, perhaps there is more than one goblin camp? or perhaps the player has to pick berries daily.  
       
      Delayed impact
      Delayed consequences of a previous decision. Often used in games where the story is important and the players’ choices matter. These quests are tied together without the player knowing. Let's say the player is set the optional task of giving a beggar some gold to feed himself. The player gives the beggar a few gold and is on his way. The next time he meets the beggar the beggar has become rich and rewards the player for his kindness with ten times what he gave.  
      One of many
      The player is presented with a number of quests, they have to choose which one to complete, they can only choose one. The others will not be available.  
       
      Hidden quests
      Hidden tasks that aren’t obviously quests at first glance or are hidden away for only the most intrepid players to find. This could be an item the player picks up with an inscription in it if the player then finds the person the inscription is about he can get a reward for delivering it. A good quest pattern for puzzles, these kinds of quests can really make the game world come alive and feel a lot more engaging, allowing the player to uncover secrets, Easter eggs and discover all of the world created for them   
      Moral dilemma
      Punish the bread thief who stole to feed his family? often used in games that have a good/ evil alignment level for the players, these kinds of quests make the player make a choice about what kind of character they want to play, they get to choose if their character is good or evil.  
       
      Side quests
      Optional quests, these quests are often found in level based games where the overall quest must be completed to get to the next level, the player can optionally do some extra tasks to get more points. The important part is that these are optional but they give the player a reward for, getting everything they can out of the game.  
       
      Tournament
      Tournament style quests, a series of quests that get harder as the player progresses. An example could be a gladiatorial arena if the player defeats five enemies one after the other he gets rewarded as the champion of the arena, but if for example, he fails at the third, the whole tournament is failed and he has to start all over from quest 1.  
       
      Vehicle missions
      Despite the name these quests are not confined to being about cars, these are simply quests where the players control scheme changes to complete the quest(s). An example could be; changing from running around in the game world to driving a tank to destroy a fort.  
      Quest superstructure - "The whole package"
      With quest superstructures, we are venturing into general game design. The superstructure is how the player is allowed to complete quests in the game world. It's basically a question of whether the game is “open world” or a linear experience.
       
      The diamond structure 
      The open world model, think games like The Elder Scrolls V: Skyrim, the player is introduced to the game through a quest, but after that, they can go wherever and do whatever quests they want. There are tons of quests of the above types and patterns, the player is free to pick and choose which to do, giving the player the illusion of freedom within the game world (the diamond). However, the game still ends by completing a quest that is locked and always a requirement to complete the game. This can, of course, be varied by different choices the player has made throughout the game or even have multiple endings. Quests can be concentrated into quest hubs, i.e. towns with lots to do or the like, but they don't have to be completed in a linear fashion  
       
       
      Linear hub structure
      This structure consists of a number of required “bridge” quests that need to be completed in order to unlock the next area or “hub”, each hub can have any number of quests, this could be a town full of people in trouble, each with their own quests and quest chains to complete, when they are all done, the player moves on to the next hub through another bridge quest. Limiting the quest size of the hubs will make the quest structure feel more linear and thereby the game linear, and creating larger more open hubs can make the player feel freer.  
       
      Outcome - "So many options!"
      The development of custom quest has been the quest to allow game developers to create quests and missions that use these types. However, no matter how well we have researched, some one will come up with a new and creative way of doing quests.
       
      The solution for us was to make the system more customizable. Letting users convert their quest prefabs to quest scripts that automatically inherits the core functionality, so the user can freely add their own additional functionality on top of the existing core
      Asset development as fuel - "A learning experience"
      Developing this way, splitting the production into sub systems that can function on their own and even be used by others is not something that should be taken lightly, but if you can build something lasting, something others can find value in using, then the final product will be all the better for it. Custom Quest started as a project we thought could be completed in a couple of months, it ended up taking 7.
      In part this is because we realised that if we were going to release the system, we might as well do it right, that meant creating a system that was customizable and robust, a system that can be added to the users game and not the other way around, a system we could be proud of.
      The experience of developing for other developers is quite different to developing a game. One that has made us much stronger as programmers and as a company, it forced us to think in new ways, in order to create a dynamic and customizable solution. Custom quest has evolved from an asset we could use in Quest Accepted, into a tool others can use to create a unique game experience. All in all, the experience has been a good one and Random Dragon is stronger for it, I would, however, recommend thinking about your plugin and extra time before you start developing.
       
       
      Sources:
      www.pcgamesn.com -"We know you aren't stupid" - a quest design master class from CD Projekt RED
      http://www.pcgamesn.com/the-witcher-3-wild-hunt/the-witcher-quest-design-cd-projekt-masterclass
      http://www.gamasutra.com/ - Game Design Essentials: 20 RPGs - http://www.gamasutra.com/view/feature/4066/game_design_essentials_20_rpgs.php?print=1
      Extra credits - Quest Design I - Why Many MMOs Rely on Repetitive Grind Quests https://www.youtube.com/watch?v=otAkP5VjIv8&t=219s
      Extra credits - Quest Design II - How to Create Interesting MMO and RPG Quests https://www.youtube.com/watch?v=ur6GQp5mCYs
      Center for Games and Playable Media - Situating Quests: Design Patterns for Quest and Level Design in Role-Playing Games - http://sokath.com/main/files/1/smith-icids11.pdf
      Center for Games and Playable Media - RPG Design patterns https://rpgpatterns.soe.ucsc.edu/doku.php?id=patterns:questindex
       
      Special thanks to Allan Schnoor, Kenneth Lodahl and Kristian Wulff for feedback, constructive criticism and background materials.
  • Popular Now