Search found 11 matches

by kruddick
Wed Apr 07, 2004 1:32 pm
Forum: Coding Questions
Topic: Need help with MAPI
Replies: 6
Views: 1874

Hmm...

Sounds like you are using Outlook 2000/2002 and having problems with the security features... you may need to look here for ideas:

http://www.dimastr.com/redemption/

or

http://www.outlookcode.com/d/mapi.htm

in the tools section for a tool that gets around it.

Kent
by kruddick
Fri Mar 26, 2004 7:43 pm
Forum: Coding Questions
Topic: Definitive Unicode functions?
Replies: 7
Views: 3191

Definitive Unicode functions?

Does anyone know if there are a set of definitive functions on this board to work with unicode?

It would be nice to have some functions that :

1) Can detect if a string is unicode.
2) Convert a string to unicode.
3) Convert unicode to string.

Helpy was able to show me the conversion of a unicode ...
by kruddick
Thu Mar 25, 2004 2:06 pm
Forum: Coding Questions
Topic: Help With CallBack
Replies: 9
Views: 2516

Thanks Helpy.

It worked on XP also. Not sure how you knew to change from string to pointer, but I really appreciate that you fixed my code.

I really appreciate your efforts.

Kent
by kruddick
Wed Mar 24, 2004 8:44 pm
Forum: Coding Questions
Topic: Help With CallBack
Replies: 9
Views: 2516

I've been looking at that function, but I am getting jibberish from the conversion...

Procedure.l EnumPowerPolicy(Index.l, dwName.l, sName2.s, dwDesc.l, sDesc.s, *PP.POWER_POLICY, UserDefine.l)
;MessageRequester("",StrU(Index.l, #LONG)+ " " + sName.s)
sName.s = Space(dwName.l ...
by kruddick
Wed Mar 24, 2004 7:08 pm
Forum: Coding Questions
Topic: Help With CallBack
Replies: 9
Views: 2516

Helpy,

You are right. I just checked the SDK:

The sName and sDesc parameters are null-terminated strings; they are Unicode strings on Windows 2000/XP and ANSI strings on Windows Me/98/95.

How do I get around this... I will try a search on the boards.

Much Appreciated.
Kent
by kruddick
Wed Mar 24, 2004 5:02 pm
Forum: Coding Questions
Topic: Help With CallBack
Replies: 9
Views: 2516

Helpy Thanks. That worked correctly. Do you know why I am only getting the first letter of the string sName.s? I know there is a length value, but unsure why it is getting truncated.

Thanks again for showing me the way...

Kent
by kruddick
Wed Mar 24, 2004 3:41 pm
Forum: Coding Questions
Topic: Help With CallBack
Replies: 9
Views: 2516

Help With CallBack

Hello,

I am having some problems with the following code. The code runs but I only get the first letter of the strings returned. Not sure how to get the rest of the strings. And everything I try to access the PP structure seems to fail. Any help or pointers would be appreciated.

Thanks ...
by kruddick
Tue Mar 16, 2004 9:33 pm
Forum: Coding Questions
Topic: PBI or LIB or user libraries...
Replies: 2
Views: 1240

Thanks srod.

I've been trying to user the header converter in the sdk to get access to the powrprof.h structures. I used freaks lib converter on the library powrprof.lib

I get 3.obj.text: undefined reference to '_SetActivePwrScheme@12'
.
.
.

etc.

Not sure what I am doing wrong at this point ...
by kruddick
Tue Mar 16, 2004 4:36 am
Forum: Coding Questions
Topic: PBI or LIB or user libraries...
Replies: 2
Views: 1240

PBI or LIB or user libraries...

Can someone help me out with some questions about user created libraries?

How do you make these libraries? Any examples would be good.

Do they always end in PBI? Just stick them in the userlib folder and they work? Or do you need to initialize them? Do you need an include statement to get them to ...
by kruddick
Fri Mar 12, 2004 4:38 pm
Forum: Coding Questions
Topic: Swapping Icons in EXE
Replies: 4
Views: 2264

Swapping Icons in EXE

Hello,

I've looked around for some code to be able to switch the icon in an EXE and have only found this Visual Basic example..

Option Explicit

' The following structures are used to hold icon data
Private Type ICONDIRENTRY
bWidth As Byte '// Width of the image
bHeight As Byte '// Height of ...
by kruddick
Tue Mar 09, 2004 12:51 am
Forum: Coding Questions
Topic: Including a binary file to a compiled executeable
Replies: 11
Views: 3437

Link Broken

This is exactly what I am looking for... but the link is broken. Can you post the code?

Thanks
Kent