[Required]Gif non-mfc class - Windows Mobile Development and Hacking General

Hi guys,
I need a vs2005 compilable version of c++ unmanaged code to use on a today plugin.
I have a few classes that I found somewhere but they're quite heavy on the dll...
Problem is I only find mfc classes and since today plugins are a mfc "no go" i'm left empty handed...
Thanks

philocritus said:
Hi guys,
I need a vs2005 compilable version of c++ unmanaged code to use on a today plugin.
I have a few classes that I found somewhere but they're quite heavy on the dll...
Problem is I only find mfc classes and since today plugins are a mfc "no go" i'm left empty handed...
Thanks
Click to expand...
Click to collapse
Check here:
http://www.xdp.it/cximage.htm
It's a wide imaging API in aC++ (look for the PocketPC port in downloads section). There will be a lot of things that you may not use... but it includes gif support may be you can extract it from there....
Hope this helps.

APBilbo said:
Check here:
http://www.xdp.it/cximage.htm
It's a wide imaging API in aC++ (look for the PocketPC port in downloads section). There will be a lot of things that you may not use... but it includes gif support may be you can extract it from there....
Hope this helps.
Click to expand...
Click to collapse
Thanks for the quick reply apbilbo!
I'm using that one for now. Yesterday I ripped the code down to gif-bmp support only, but still the final dll was about 400kb... too large!
I'll still be trying to rip extra-funtions since i ripped only the classes and includes for now..
Do you use it on throttle?

philocritus said:
Thanks for the quick reply apbilbo!
I'm using that one for now. Yesterday I ripped the code down to gif-bmp support only, but still the final dll was about 400kb... too large!
I'll still be trying to rip extra-funtions since i ripped only the classes and includes for now..
Do you use it on throttle?
Click to expand...
Click to collapse
Throttle code is MFC . Also it doesn't have gif support (other than the one provided by the IImagin api).... for now .

APBilbo said:
Throttle code is MFC . Also it doesn't have gif support (other than the one provided by the IImagin api).... for now .
Click to expand...
Click to collapse
your right... should have remembered that when I saw the .exe on the today plugin version..
Do you happen to know a sweet simple template for .net today plugin programming?
the one on the msdn site is pretty crappy :S

philocritus said:
your right... should have remembered that when I saw the .exe on the today plugin version..
Do you happen to know a sweet simple template for .net today plugin programming?
the one on the msdn site is pretty crappy :S
Click to expand...
Click to collapse
nope sorry... that's the only one I know

Related

ChARMeD - Disassembler for ARM CPU

Hi,
This is the program i mentioned earlier,
IT IS STILL IN BETA
so it has a problem here and there,
but i had only three days to work on it
when i get a chance from work and university i will try and add the analyzer *gulp* etc
let me know if it looks useful, pm me or post reply
(oh and if anyone is interested in hosting on the web pls let me know too)
(i hope posting this here is ok)
thanx for ur interest toenailed
latest version available at
http://carolos.za.net/
charmed on ftp
hi,
also put charmed.zip in root of ftp
tnx .. carolos
i was looking for a Good dissassembler from ages now ......
i will try it and give my feedback later.. ( :wink: )
anyway i will split this post ..
and put it in Developing and Hacking section ..
so other can see also your app ..
tnx again .. n looking forward for your future upgrade especially the analyzer .. .. tnx so much
-toe
it works!
It seems to work pretty good! Great job man!
carolos,
will it be too much to ask you for a small program to delete files and/or folders for WM2k5? Something like the old AutoRun.exe-Config.txt program; where you can list the folder/file names in a file for deletion.
If not, does this already exist? Could you point me there?
Thanks.
hi acmorfe
hmmm...
to tell you the truth
i started playing with windows ce 2.0
then i left portable devices until recently (about a month ago)
because i got a phone that has windows ce 2003 se
so i am a bit rusty
but if you want a program that does it on the phone itself
there was like ms cmd for pocket pc or something like that
i think you could possibly make it run a .bat or .cmd file on execution
and i think you can add the that to the registry of your ppc
i wont be able to write anything anytime soon...
because
1) i dont have the ms sdks
2) they are too big to download
3) internet access is really expensive here
sorry i hope info helps, good luck
Charmed BETA 0.2
hi,
gee 59 downloads already...
well i hope everyone who downloaded beta 0.1
will download beta 0.2
added 17 mnemonics
and fixed some mnemonics that were too restrictive
for full info look at help
-bye
Re: Charmed BETA 0.2
Why are you developing this program? You cannot make anything that would be as useful as an IDA (www.datarescue.com). You'd better spend your time on IDC scripts or developing a processor module for ARM if you don't like IDA's builtin disassembler (which is really great in 4.80).
didn't everyone at one point in their live write their own disassemblers?
http://www.xs4all.nl/~itsme/projects/disassemblers/
willem
@mamaich: I just wanted to point out the same thing.
the only sence of making a disassembler - is to integrate it into a really useful program for all PocketPC developers: a good and stable debugger.
http://www.datarescue.com/idabase/wince/index.htm
i beta tested it, i works very nicely, much better than the evc debugger.
willem
@itsme: Very nice. How are we supposed to wait till "Q2-Q3 2005"?
Re: hi acmorfe
carolos said:
hmmm...
i wont be able to write anything anytime soon...
sorry i hope info helps, good luck
Click to expand...
Click to collapse
Carolos, thanks anyways.
Guys, what programming language would you suggest that i study for programming stuff for PPC (WM2k5)?
Re: hi acmorfe
acmorfe said:
carolos said:
hmmm...
i wont be able to write anything anytime soon...
sorry i hope info helps, good luck
Click to expand...
Click to collapse
Carolos, thanks anyways.
Guys, what programming language would you suggest that i study for programming stuff for PPC (WM2k5)?
Click to expand...
Click to collapse
hi again,
c++ (embedded c++) would probably be the best
because you can do anything u like with it
but there are other options
c# and visual basic (visual studio 2005)
but they rely on the .net frame work, which is kinda like the java Virtual Machine, only microsofts version, it allows them to port applications to any os easily (even mac probably if there is a .net vm for mac)
good luck
Re: Charmed BETA 0.2
mamaich said:
Why are you developing this program? You cannot make anything that would be as useful as an IDA (www.datarescue.com). You'd better spend your time on IDC scripts or developing a processor module for ARM if you don't like IDA's builtin disassembler (which is really great in 4.80).
Click to expand...
Click to collapse
last time i checked ida was not free
and also there was no built in assembler? was there?
mamaich said:
the only sence of making a disassembler - is to integrate it into a really useful program for all PocketPC developers: a good and stable debugger.
Click to expand...
Click to collapse
charmed was intended to be a debugger...
but disassembler must be finished first...
oh yah and ida is not 250k
i knew about the new ida with remote debugging
even before i started charmed
but its not free!!!
Charmed BETA 0.3!
hi
toenailed requested some upgrades
charmed now has an export to .html and .txt
and a search
yay!
does anyone want this program???
please post if you think its useful else
its gona stay at 0.3
it was never supposed to go beyond 0.1 anyway
i wrote it for my own use and 0.1 was good enough
Thank you very much. I like it. As you said, IDA is not free, hence the reason I don't have it. Now to just figure out how to make small changes. Thanks for your hard work.
@carolos: Why don't you start a new project at sf.net? So others might help and someday it may become better than IDA - who knows.

today screen Plugin ?

hi
any one know how to code my own Today Screen Plugin?
i m a programmer.
i want to create my own usefull Today Screen Plugin like Clock.
short cuts. and timer..
i can only develop application for O2, but i dont know how to make
Today Screen
Hi tinkyawoo!
I assume you program in c++?
Today plug-in is basically a DLL that exports two functions with fixed ordinals.
InitCustomItem - the important one, and another (don't remember the name) for options dialog (if you want one).
There is an article on this at www.pocketpcdn.com.
You can also use my code published here for reference:
http://forum.xda-developers.com/viewtopic.php?t=45084
Good luck!
thanks. i will check it
tinkyawoo: if you're a programmer, I suggest checking out the SDK; it has a good example framework for a plugin, although watch out for the repainting bug in the sample.
Otherwise, read levenum's source code as well. It's excellent. You can learn a lot.
V
Would it not be possible....
Would it not be possible to write a small dll which can be controlled from VB.NET or C#.net to display certain things?
If this was released (under BSD or another permissive licence) then we could all use it to develop stuff, which would help those of us who's first language is Basic
Today Plugin
Unfortunately you can't write today screen DLLs in .Net.
There is a lot of info on the microsoft web site - if u care to search.
They do - however - give you a means of writing a EVC DLL that calls a .net application for the today screen info , but I haven't tried it.
Charlie Grillo
Re: Would it not be possible....
What do you mean by "controlled from". Do you want a .NET app to be able to effect the plug in somehow? If so, it is possible...since .NET is managed code and the plug-in is a native dll, the simplest way to have the two communicate is via windows messages.
You can do the following:
-Register a custom Message that your .NET app will broadcast to your plug-in(s)
-in your DLL WndProc procedure, listen for that message and act accordingly
Alternatively, you can have the dll do the same thing, but ofcourse, your .net app would have to be running to recieve that message (unless you have the dll launch it directly).
JonTheNiceGuy said:
Would it not be possible to write a small dll which can be controlled from VB.NET or C#.net to display certain things?
If this was released (under BSD or another permissive licence) then we could all use it to develop stuff, which would help those of us who's first language is Basic
Click to expand...
Click to collapse

How does one create a Today Plug-in?

I have a program called Weather Watcher Mobile. It's a great program that I would love to see a Today Plugin incorporated. I have seen some developers on these forums who have made Today screen plug-ins. How would one create a Today Plugin for an established program? Thanks.
Here is an excellent article that helped me wright my plugin:
http://www.microsoft.com/mspress/books/sampchap/5461a.aspx#100
The problem is from what I can see on the developers site (is this the one you are talking about http://www.singerscreations.com/RSS/Posts/339.asp)
he programs in .NET
There is no way to create a plugin using .NET languages, only using C / C++.
In any case I believe it would be best if you referred this developer directly to the forum so he can ask the specific questions he has himself.
levenum said:
There is no way to create a plugin using .NET languages, only using C / C++.
Click to expand...
Click to collapse
Sure? http://msdn2.microsoft.com/en-us/library/ms839442.aspx
Ok, my mistake, I should have said There is no way to create a plugin using only .NET languages."
I forgot I read about something similar briefly - using a .NET dll and a C++ dll together.
Thanks. I'll direct him to this thread.
Is it possible to write a today plugin, the text on which can be controlled through command line or any other way ?
Plugins do not except command line - they are dll not exe files, but there are plenty of other ways to control plugin text.
For example I am going to release a plugin soon that takes a string from registry, displays it and checks for changes couple of times per second.
levenum said:
Plugins do not except command line - they are dll not exe files, but there are plenty of other ways to control plugin text.
For example I am going to release a plugin soon that takes a string from registry, displays it and checks for changes couple of times per second.
Click to expand...
Click to collapse
When...when...when....????
I am planing a very nice plugin but it is really difficult to make one. All examples on the net are for evc++, I did not find a single sample for Visual Studio 2005.
If u are making something like this, it will really save a lot of my time.
Soon I hope, but it will be evc++ as well. I hate VS 2005, its fat, slow and costs a lot.
But if you are using c++ (there are samples on MSDN for c#) it doesn't matter what compiler the project is for, just use the source files.
See the links in previous posts for detailed explanations.

html page on today screen ?

is it possible ?
there's an example on the MSDN how to achieve this.
It's a tutorial to make a Today Screen plugin with the .NETCF Framework. SInce it's impossible to make a TodayScreen with .NET they use a c++ host which enables you to create an HTML container on the Today Screen. I think that's what you want
activetoday?
Interesting, can you point out what is the title of the example?
So I can search in msdn.
Rhapsody said:
there's an example on the MSDN how to achieve this.
It's a tutorial to make a Today Screen plugin with the .NETCF Framework. SInce it's impossible to make a TodayScreen with .NET they use a c++ host which enables you to create an HTML container on the Today Screen. I think that's what you want
Click to expand...
Click to collapse
I had to search for a while but here it is:
http://msdn2.microsoft.com/en-us/library/ms839442.aspx
I tried it a long time ago, but couldn't get it to work. (but I think that's because of me and not because of the article)
Modaco wrote a plugin for Modaco Plus users to do this.
Also the Plugin app SideX does this, probably others to!
Not so hard to write from scratch if you wanted to.
V
vijay555 said:
Modaco wrote a plugin for Modaco Plus users to do this.
Also the Plugin app SideX does this, probably others to!
Not so hard to write from scratch if you wanted to.
V
Click to expand...
Click to collapse
If you're not familiar with C++ it can be hard

[Q][Help] Need code for editing and saving file in VB.NET

Hay,
i'm trying to develop a program, in VB.NET. i call it wDiary stands for Workout Diary.
The purpose is to let the user choose 4 (or more) sports to save progess/daynotes of, and to view the txtfiles, like a dayly diary in a calendar.
i have comed to that part where i'm want to save a file in a spesific directory.
like save:
"Jogging - " + date".txt in %MyDocuments%\wDiary\Jogging\
print textbox1.text in line one and so on
like the this code
Code:
FileOpen(1, My.Application.Info.DirectoryPath & "\Jogging - "+date".txt", OpenMode.Output)
PrintLine(1, TextBox2.Text)
PrintLine(2, TextBox3.Text)
FileClose(1)
But thats a code i used for an Windows app. I want the same function for my Touch pro (WinCE 6.1) :/
Fraction
Reserved..
Just a quick one, and I understand English might not be your first language but a Dairy is where they bottle milk, and make other dairy produce like cheese and cream.
I think your app should have been called wDiary - as in a diary of events
I'm not taking the mick here, just offering a bit of help As for the file editing, what language are you doing it in? C++.net, C#.net, VB.net?
If it's vb.net you're using - this site has some decent basic file routines (checking if it exists, adding text, appending, closing etc)
Hope this helps
Doing a quick search, it points out to be VB.net indeed. Try stating which language you use next time.
The link in the above post should give you sufficient info.
FrederickUK said:
Just a quick one, and I understand English might not be your first language but a Dairy is where they bottle milk, and make other dairy produce like cheese and cream.
I think your app should have been called wDiary - as in a diary of events
I'm not taking the mick here, just offering a bit of help As for the file editing, what language are you doing it in? C++.net, C#.net, VB.net?
If it's vb.net you're using - this site has some decent basic file routines (checking if it exists, adding text, appending, closing etc)
Hope this helps
Click to expand...
Click to collapse
****, now i'm embarrassed. no, english is not my primar language. hehe.
Visual basic.net
EVILRipper said:
Doing a quick search, it points out to be VB.net indeed. Try stating which language you use next time.
The link in the above post should give you sufficient info.
Click to expand...
Click to collapse
i have edit the topic, and the first post. thanx, i forgot.
Fraction
You should be able to use the standard System.IO.StreamReader and System.IO.StreamWriter Functions. I can code this in c# if you can translate to VB.net.
Change of direction
Actually let me make another suggestion. Sometimes when writing a small app to collect data I use a very lazy yet very usefull feature of .net DataSets.
I databind the controls to the dataset by dropping the dataset on the form and assiging the bindings via autogenerated bindinsource component. All I do now to read and save are the following lines of code
Read:
Code:
dataSet1.ReadXml("mydb.xml");
Write
Code:
dataSet1.WriteXml("mydb.xl", XmlWriteMode.WriteSchema);
It might not be pretty but it does the trick. Also less code and no need for parsing XML
yes please
cornelha said:
You should be able to use the standard System.IO.StreamReader and System.IO.StreamWriter Functions. I can code this in c# if you can translate to VB.net.
Click to expand...
Click to collapse
Yes, please
I have one more thing, if sombody can help. the Design seems perfectly in Visual basic. put when i deploy it to the emulator it looks smal and rubbish. the buttons (png.files) gets streched in width and pressed in the height. so, how can i design in 480x640 (VGA) for my Touch pro :/
I've set my emulator settings to USA WM 6.1 Classic and it works fine when deployed to my touch pro. If your screen resolution is fairly high (I use 1280x1024) you could use USA WM 6.1 VGA but it filled my entire screen. You might have better luck if you use 1600x1280 or whatever (or run multi-monitor)
Hope this helps
FrederickUK said:
I've set my emulator settings to USA WM 6.1 Classic and it works fine when deployed to my touch pro. If your screen resolution is fairly high (I use 1280x1024) you could use USA WM 6.1 VGA but it filled my entire screen. You might have better luck if you use 1600x1280 or whatever (or run multi-monitor)
Hope this helps
Click to expand...
Click to collapse
i Also use 1280x1024, and i (usa?)VM 6.1 profesional.
and yes it it fills my hole screen ;P

Categories

Resources