sykobag 0 Newbie Poster

hey, sykobag,

i am using pico too. i type pico and a blank window comes up. the problem that i have is this ... when i quit a session, save my file and want to come back to it. if i log back on and type pico, i get a blank editor. how do i call pico for the file that i want to edit instead of calling a blank window each time?

thanks
crq

at the bottom of the pico window there should be a load from file or something its been a while since i used it but it will load from a file all of the text you edited before

sykobag 0 Newbie Poster

In the unix that I used last semester in school the editor was called "pico" just type that on the command line and the text editor comes up. I don't know if that is standard unix or if it was on the server that I was using but you can always give it a shot.

sykobag 0 Newbie Poster

I have been working on updating a program that was written by someone else in Microsoft Visual C++ 6.0 to Microsoft Visual .NET 2003 (7.1 compiler). After fixing all of the minor syntax errors I came accross one that I wasn't real sure about:

c:\DFC\dfc\source\DFCTfo.hpp(422): error C2491: 'DAssociationFile<KEY,VALUE>::getNextAssociation' : definition of dllimport function not allowed

When someone else was having this exact error he corrected it by moving the function definition to be right next to the declaration (inlining I believe is the proper word). He said he never got another error after that. I wasn't as lucky. After I moved the definitions of all of the functions in this class, I got more errors. The only 2 that no longer gave me errors were one virtual function and the function that was immediately next in the class definition. The other functions, including the constructor and destructor (which was virtual), all gave me an error saying this:

DFCDev error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall DAssociationFile<class DDeviceKey,class DDeviceValue>::getNextAssociation(class DDeviceKey &,class DDeviceValue &)" (__imp_?getNextAssociation@?$DAssociationFile@VDDeviceKey@@VDDeviceValue@@@@QAE_NAAVDDeviceKey@@AAVDDeviceValue@@@Z) referenced in function "public: virtual void __thiscall DDeviceAssociation::reload(void)" (?reload@DDeviceAssociation@@UAEXXZ)

Immediately followed by 2 of these errors:

DFCDev error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall DAssociationFile<class DDeviceKey,class DDeviceValue>::getNextAssociation(class DDeviceKey &,class DDeviceValue &)" (__imp_?getNextAssociation@?$DAssociationFile@VDDeviceKey@@VDDeviceValue@@@@QAE_NAAVDDeviceKey@@AAVDDeviceValue@@@Z)

After studying these errors and the .NET help files I tried a couple different things. The first was checking for spelling mistakes. Second, I checked to make sure my braces all lined up properly. Third, …