:: You know IE can draw many image formats. but, without a Unisys license, using it to draw GIF is illegal. if you like, i can find the MS page where they state this. -c
Chris
Posts
-
include a gif file as a resource file -
MPG Frame Extraction codedoes anyone know of any (free?) MPG video frame extraction code? it's fine with me if it uses the WiMP (Windows Media Player) in a non-visible window... -c
-
include a gif file as a resource fileyes. but don't. neither MFC nor Win32 supports GIF directly. even worse, if you want to use GIF code in your app (reading OR writing) you have to obtain a license from Unisys. many thousands of dollars... a better alternative is PNG - better compression, more flexible, free, well supported. here's a plug for my stuff, but there are plenty of places to find this kind of thing: http://www.smalleranimals.com/isource.htm -c
-
Unicode Linker errorI've tried to implement an Unicode program, to read and write Unicode character, but when I compile the program, this is the error message : msvcrtd.lib(wcrtexew.obj) : error LNK2001: unresolved external symbol _wWinMain@16 Debug/DAS Converter.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. I already define _UNICODE, and also use wWinMainCRTStartup as the entry point. Please help me, Thanks
-
Financial Math LibraryCan anybody suggest a third party Financial Math Library to use in VC++? My most pressing need is to use a class/type to replace the double type. The precision of the floating point math operations using doubles are not accurate enough for my needs. Thanks for any links, suggestions ...
-
Is there any CodeWright forum??? i really need helpYaron, Here is an AppBasic Macro that will do what you want. Create a file in Codewright, paste in the code below and then save it with filename of yourfile.cwb. To use it goto app basic tab and open the file. To use it press the run button. Then goto the API command dialog and type 'ExecMyUtil' (no quotes) and hit enter. It will then prompt you for an address to ping and it will then ping that address in the shell window. Once you see it works you can modify the code to ask for the parameters you would like and then Execute the command. To use the macro from a toolbar just use the function name directly. To load the cwb file so you do not need to every time you start codewright, goto the to Tools - Appbasic Macros - Load Macros menu item and in the lower section of the dialog that appears click add and then find the cwb file you created and then just click OK, now the macro will be loaded (but will no show in the AppBasic window) and be available for your toolbar. Chris **start of code** Attribute VB_Name = "ExecMyUtil" Private Sub ExecMyUtil() Dim FunctionToExec As String Dim Param1 As String Param1 = InputBox("Please enter address to ping") If Len(Param1) = 0 Then Exit Sub End If LibPreLoad "cwdosbox" 'Make sure Shell window is in place If LibFunctionExists("DosBoxExec") Then FunctionToExec = "DosBoxExec 'ping " & Param1 & "'" LibFunctionExec "DosBoxCurrent" ' Make Shell tab Current LibFunctionExec FunctionToExec Else MsgBox "Error Loading Shell Window" End If End Sub '{{CWBASIC_LOADERINFO ' cwbAddHandler 'Private Sub ExecMyUtil()', '%F' '}}CWBASIC_LOADERINFO **end of code**
-
BackStyle (ATL)I have been attempting to create my first control in ATL. I have managed to get the font, backcolor, and forcolor properties to work fine. I am now trying to get the BackStyle property to work. I can statically set the property in code (OPAQUE or TRANSPARENT), but I have not been able to populate the property dropdown list with these strings. Does anyone know how to do this?
-
how to set font (ATL)Hi, I have been trying to set the fontsize and fontface of a label control. Does anyone know how to do this in ATL? I am usnig the stock property "FONT", but I just can't get it to work. I have just about all the other properties doing what I want them to do, but font is really giving me a hard time. Thanks
-
Object Browser ImplementationDoes anybody know how to associate a TKIND_ALIAS with its corresponding TKIND_ENUM using the ITypeInfo interface? Some type libraries are using typedef's for their enums and using the mangled MIDL names for the enumeration. I am trying to get a hold of the "clean" name. The following is an example of a type library that does this (Microsoft Scripting Runtime 1.0). typedef [public] __MIDL___MIDL_itf_scrrun_0000_0001 FileAttribute; typedef enum { Normal = 0, ReadOnly = 1, Hidden = 2, System = 4, Directory = 16, Archive = 32, Alias = 1024, Compressed = 2048 } __MIDL___MIDL_itf_scrrun_0000_0001; Thanks, Chris
-
Printing multiple pages on the Clientwe want to preserve some kind of structure in the printed version, since these documents will likely be 20-30 pages. but, there's no way to force a page break when printing a web page.
-
Printing multiple pages on the Clientwe want to preserve some kind of structure in the printed version, since these documents will likely be 20-30 pages. but, there's no way to force a page break when printing a web page.