Notices

Water Fountain General Chit/Chat

Reply
 
LinkBack Thread Tools
Old 08-22-06, 09:32 PM   #1 (permalink)
Aximsite Prospect
 
Join Date: Aug 2006
Posts: 13
Device: RAZR V3
Carrier: T-Mobile
Thanked 0 Times in 0 Posts
Pocket C#

I need some major help with this software. I have installed everything on my x51v. So what do I do from there? I was trying to play around by writing a simple "Hello World" program and I don't know what the next step is. I have already searched the yahoo pcsharp user group and it takes days for them to reply. Any lead on a "dummies" tutorial would be helpful. Thanks!
axmanjr is offline   Reply With Quote
Sponsor Ads
Old 08-23-06, 12:17 PM   #2 (permalink)
Aximsite Major League
 
greytrev's Avatar
Senior Member
 
Join Date: Jul 2005
Location: Owego, NY
Posts: 305
Device: LG
Carrier: Verizon
Thanked 1 Time in 1 Post
as far as i can tell, it's exactly the same as regular C#. there's tons of resources for that. i'd try googling "C#" and also looking in the .NET section of planetsourcecode.com

good luck
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


MSN:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


SKYPE me!


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

56.4% Geek


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



Te audire non possum. Musa sapientum fixa est in aure.
greytrev is offline   Reply With Quote
Old 08-23-06, 02:48 PM   #3 (permalink)
Aximsite Hall of Fame
 
Pocketbrain's Avatar
Addicted Member
 
Join Date: Mar 2005
Location: West Palm Beach, FL
Posts: 6,025
Device: iPhone
Carrier: AT&T
Thanked 0 Times in 0 Posts
Thanks. I wanna work with some programming apps for PPC.



.
__________________
The plural of Wii is Wiii.

boot up. log on. drop out.

THE REVOLUTION WILL BE SYNTHESIZED
Pocketbrain is offline   Reply With Quote
Old 08-25-06, 04:02 AM   #4 (permalink)
Aximsite Rookie
 
kauz's Avatar
DAP Site StaffDAP Site StaffDAP Site Reviewer
 
Join Date: Sep 2003
Location: Germany
Posts: 24
Thanked 1 Time in 1 Post
That sounds good. I'm interested in this tool.
But: How do I get it working on a X51v with WM5? The CMD crashes everytime. Are there any Registryhacks?
kauz is offline   Reply With Quote
Old 08-25-06, 11:28 AM   #5 (permalink)
Aximsite Major League
 
greytrev's Avatar
Senior Member
 
Join Date: Jul 2005
Location: Owego, NY
Posts: 305
Device: LG
Carrier: Verizon
Thanked 1 Time in 1 Post
Originally Posted by kauz
That sounds good. I'm interested in this tool.
But: How do I get it working on a X51v with WM5? The CMD crashes everytime. Are there any Registryhacks?
i'm not sure why it would crash. you might want to post a question in the yahoo group for it. maybe someone else has had the same problem and has a resolution.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


MSN:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


SKYPE me!


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

56.4% Geek


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



Te audire non possum. Musa sapientum fixa est in aure.
greytrev is offline   Reply With Quote
Old 08-29-06, 01:42 AM   #6 (permalink)
Aximsite Prospect
 
Join Date: Aug 2006
Posts: 13
Device: RAZR V3
Carrier: T-Mobile
Thanked 0 Times in 0 Posts
I gave up on pcsharp, since I do not know how to use the program. I actually now am messing with PGCC, since I am very familiar with C and C++. I can download the program from the Yahoo user group and I think the freeware site has it too. It works like a charm, now that I have straightened out all my issues :approve:
axmanjr is offline   Reply With Quote
Old 08-29-06, 01:36 PM   #7 (permalink)
Aximsite Prospect
 
Join Date: Apr 2006
Posts: 13
Thanked 0 Times in 0 Posts
I found in the yahoo group the solutions for your problem, i can't recall now what entry must be changed, but all you have to do is to change the original value of th key to 0 (cero). whit this the cmd will work. Unfortunatelly the csant.exe doesn't work. Every time i tried to compile something i've got some message telling me that the default building folder was not found.

I already tried to reinstall the program in different other folders, i changed the loader adress in the regestry, etc, and the result is the same.

I belive that the program needs to be rewritten in order to work properly on the WM5
chupes_on is offline   Reply With Quote
Old 08-30-06, 12:08 PM   #8 (permalink)
Aximsite Prospect
 
Join Date: Jan 2006
Posts: 18
Thanked 0 Times in 0 Posts
Originally Posted by axmanjr
I gave up on pcsharp, since I do not know how to use the program. I actually now am messing with PGCC, since I am very familiar with C and C++. I can download the program from the Yahoo user group and I think the freeware site has it too. It works like a charm, now that I have straightened out all my issues :approve:
AXMANJR, can you provide an outline of the steps to setup PGCC on X51v? Thanks.
pmkw7 is offline   Reply With Quote
Old 08-30-06, 07:11 PM   #9 (permalink)
Aximsite Prospect
 
Join Date: Aug 2006
Posts: 13
Device: RAZR V3
Carrier: T-Mobile
Thanked 0 Times in 0 Posts
I'll make this as descriptive as possible, just in case you don't understand a certain step. I was confused a bunch of times beforehand. So bear with this mini-tutorial. I recommend using Mamaich's version of PGCC, since it works extremely well with both C and C++. Vitaly's version doesn't work well with C++ and it is also not supported any more. Here's a semi-detailed order of what you need to do in order to get PGCC working (I learned the hard/pain-aching way ) :

*Before doing any of this, be sure to have at least 30mb of free space on your axim. It makes life so much easier.
1. Download Mamaich's Version
2. If you don't have one, I would recommend using winRAR to open up the file. I tried using Alzip to open it, and only half the files showed up. So I recommend using winRAR. And while you're at it, on the same link is a winRAR program for the pocket PC!
3. Download PocketCMD and PocketConsole. Other versions floating around the net are bad.
4. Install PocketCMD to your default directory. I'd say install it on the ppc, since people to to get errors when installing it on a storage card.
5. Install PocketConsole to your default directory as well. Be sure you install CMD first, and then Console second.
6. Download the registry editor. In order for CMD to work, you need this. Install it on your ppc, and then run it. Select the following directory: HKEY_LOCAL_MACHINE\Drivers\Console. At the bottom of the screen select "OutputTo" and change the "Value Data" to 0 (zero). Click "OK" and close the program.
7. Soft re-boot your pocket PC. Just push the little button on the back.
8. Use winRAR to uncompress your pgcc.rar file onto your PC.
9. Copy the pgcc folder over to the root directory of your ppc. Before doing this, on your PC I would recommend opening up each folder in the pgcc folder and uncompressing all the .rar files. You could technically leave the .rar files in the pgcc folder and copy it over to your ppc, but compiling programs take forever.
10. Copy libc.dll and sdlgcc.dll to the "windows" folder directory on your ppc

Now you are all set! Get plugged into the Yahoo! user group, since those guys provided lots of help for me.

For compiling, you can either use this .bat file or this .bat file.

The second one is my favorite. And as always, you could easily tweak it to suit your needs. If using the second .bat file, you should download the file to your computer (since it's easier to edit) and edit it in notepad. Edit the 2nd, 3rd, and 4th lines in the file to look exactly like this:

Code:
path \pgcc\bin
set src=\pgcc\samp\test\
set dest=\pgcc\samp\test\
After doing that, save the file and place it in the root directory of your ppc.

To compile, first create your source code and save it in a folder in the \pgcc\samp\ directory. For my example above, I created a folder named 'test'. If using a different folder, change the name above as well. Then, from your pocket pc, select Start -> Programs -> CMD. Type
Code:
compile <file name> <output name> con
Don't be alarmed if you don't see anything on the console. I don't know how to fix it yet, but if you click on "Tools", then "Properties..." and then close the window, it'll show you what you typed. Anyways, the file name is obviously the name of your source code file. Include the extension .cpp. The output name is what you want your executable file to be called. And the the last argument "con" is the target type. With this specific .bat file, you can choose among the following targets: con, win, dll, and sdl. An example of how it should look is as follows:
Code:
compile test.cpp test con
It'll compile and then all you have to do is open up the .exe file in your directory and it'll run. I tried to make this as informative as possible. Hopefully it helps. Also, sign up for the user group on Yahoo. People are constantly helping out and there are also other good resources there. Let me know if you need anything else.

Last edited by axmanjr; 08-30-06 at 07:30 PM.
axmanjr is offline   Reply With Quote
Old 08-31-06, 09:13 PM   #10 (permalink)
Aximsite Prospect
 
Join Date: Jan 2006
Posts: 18
Thanked 0 Times in 0 Posts
Originally Posted by axmanjr
I'll make this as descriptive as possible, just in case you don't understand a certain step. I was confused a bunch of times beforehand. So bear with this mini-tutorial. I recommend using Mamaich's version of PGCC, since it works extremely well with both C and C++. Vitaly's version doesn't work well with C++ and it is also not supported any more. Here's a semi-detailed order of what you need to do in order to get PGCC working (I learned the hard/pain-aching way ) :

*Before doing any of this, be sure to have at least 30mb of free space on your axim. It makes life so much easier.
1. Download Mamaich's Version
2. If you don't have one, I would recommend using winRAR to open up the file. I tried using Alzip to open it, and only half the files showed up. So I recommend using winRAR. And while you're at it, on the same link is a winRAR program for the pocket PC!
3. Download PocketCMD and PocketConsole. Other versions floating around the net are bad.
4. Install PocketCMD to your default directory. I'd say install it on the ppc, since people to to get errors when installing it on a storage card.
5. Install PocketConsole to your default directory as well. Be sure you install CMD first, and then Console second.
6. Download the registry editor. In order for CMD to work, you need this. Install it on your ppc, and then run it. Select the following directory: HKEY_LOCAL_MACHINE\Drivers\Console. At the bottom of the screen select "OutputTo" and change the "Value Data" to 0 (zero). Click "OK" and close the program.
7. Soft re-boot your pocket PC. Just push the little button on the back.
8. Use winRAR to uncompress your pgcc.rar file onto your PC.
9. Copy the pgcc folder over to the root directory of your ppc. Before doing this, on your PC I would recommend opening up each folder in the pgcc folder and uncompressing all the .rar files. You could technically leave the .rar files in the pgcc folder and copy it over to your ppc, but compiling programs take forever.
10. Copy libc.dll and sdlgcc.dll to the "windows" folder directory on your ppc

Now you are all set! Get plugged into the Yahoo! user group, since those guys provided lots of help for me.

For compiling, you can either use this .bat file or this .bat file.

The second one is my favorite. And as always, you could easily tweak it to suit your needs. If using the second .bat file, you should download the file to your computer (since it's easier to edit) and edit it in notepad. Edit the 2nd, 3rd, and 4th lines in the file to look exactly like this:

Code:
path \pgcc\bin
set src=\pgcc\samp\test\
set dest=\pgcc\samp\test\
After doing that, save the file and place it in the root directory of your ppc.

To compile, first create your source code and save it in a folder in the \pgcc\samp\ directory. For my example above, I created a folder named 'test'. If using a different folder, change the name above as well. Then, from your pocket pc, select Start -> Programs -> CMD. Type
Code:
compile <file name> <output name> con
Don't be alarmed if you don't see anything on the console. I don't know how to fix it yet, but if you click on "Tools", then "Properties..." and then close the window, it'll show you what you typed. Anyways, the file name is obviously the name of your source code file. Include the extension .cpp. The output name is what you want your executable file to be called. And the the last argument "con" is the target type. With this specific .bat file, you can choose among the following targets: con, win, dll, and sdl. An example of how it should look is as follows:
Code:
compile test.cpp test con
It'll compile and then all you have to do is open up the .exe file in your directory and it'll run. I tried to make this as informative as possible. Hopefully it helps. Also, sign up for the user group on Yahoo. People are constantly helping out and there are also other good resources there. Let me know if you need anything else.
Thanks for the detailed instructions. I am going to try it out. Looks like I will have fun unpacking all the rar files in the include directory :)
pmkw7 is offline   Reply With Quote
Old 09-01-06, 01:48 AM   #11 (permalink)
Aximsite Prospect
 
Join Date: Aug 2006
Posts: 13
Device: RAZR V3
Carrier: T-Mobile
Thanked 0 Times in 0 Posts
I was unpacking the rar files the slow way! I found out that you could just select all the .rar files in a given folder (since the pgcc.rar file contains at least a dozen folders!), right-click on them and select "Extract Here" from the menu. It should be the 8th one down on the menu list. Then after they are all extracted, delete the .rar files, so you can save a lot of space when you bring everything over to your pcc.
axmanjr is offline   Reply With Quote
Old 09-01-06, 06:17 PM   #12 (permalink)
Aximsite Veteran
 
DaLabrador's Avatar
 
Join Date: Jun 2006
Posts: 1,173
Device: Nokia 5310
Thanked 5 Times in 5 Posts
I'd really like the batch file. The link didn't work for me.
Perl is also an excellent companion for your pocket pc.
DaLabrador is offline   Reply With Quote
Old 09-01-06, 06:33 PM   #13 (permalink)
Aximsite Prospect
 
Join Date: Aug 2006
Posts: 13
Device: RAZR V3
Carrier: T-Mobile
Thanked 0 Times in 0 Posts
DaLabrador, I think you have to log onto Yahoo in order to access those files. The user group there is pretty helpful. I don't know how to send attachment files via PM, but if you PM me your email address, I'll be happy to email you both .bat files.
axmanjr is offline   Reply With Quote
Old 09-01-06, 07:31 PM   #14 (permalink)
Aximsite Prospect
 
Join Date: Apr 2006
Posts: 13
Thanked 0 Times in 0 Posts
In order to see what you tipe in the cmd, all you have to do is to force the program to run in VGA mode. I use the Tweaks2k2 net to do this.
chupes_on is offline   Reply With Quote
Old 09-02-06, 03:42 PM   #15 (permalink)
Aximsite Prospect
 
Join Date: Aug 2006
Posts: 13
Device: RAZR V3
Carrier: T-Mobile
Thanked 0 Times in 0 Posts
Originally Posted by chupes on
In order to see what you tipe in the cmd, all you have to do is to force the program to run in VGA mode. I use the Tweaks2k2 net to do this.
Is there any other way to force the program into VGA mode. I don't really want to pay $10-$15 for Tweaks2k2.
axmanjr is offline   Reply With Quote
Reply

Tags
pocket

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pocket HL2, Pocket Quake, pocket UT, Pocket Battlefield 1942... and wi freakin fi!!! OC Noob X50 / X51 Forums 56 04-26-05 11:34 PM
SBSH - the makers of Pocket Breeze - have released Pocket Weather 1.0! hnelson59 Mobility Site News 43 11-20-04 05:18 PM
4 MB CF card w/sega classics for pocket pc and don't forget 500+ games for pocket PC dellxfive Classifieds 4 08-30-04 11:05 PM
Pharos Pocket GPS Navigator for HP iPAQ 38/39/22/5xxx Series Pocket PC $78.79 Rasputinj Hot Deals 1 05-28-04 09:49 PM
pocket doom - pocket quake - pocket wolf gHetto-CoW Games 14 08-26-03 12:55 PM


All times are GMT -5. The time now is 01:30 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC