Re: coff 2 omf

2006-07-05 Thread Gilles Rassat
Hi

try "implib name.lib name.dll" to make a lib file with omf format.
This create the lib file directly from the dll.


mohammad moeini a écrit :

>hi
>ihave a .lib file that bds not link to this .
>in message says:
>"[Linker Error] Error: 'C:\PROGRAM FILES\PARADIGMA
>SOFTWARE\VCOMPONENTS_WIN_VC\KERNEL_WIN32_RELEASE_IMP.LIB' contains invalid
>OMF record, type 0x21 (possibly COFF)".
>i try convert this in window command by this code : "coff2omf ThisAdrress
>NewAdress".
>after convert the file resize from 1,500,000 byte to 512 byte and the bds
>not link to this.
>please help me.
>___
>Delphi mailing list -> Delphi@elists.org
>http://www.elists.org/mailman/listinfo/delphi
>  
>


-- 
Gilles RASSAT
Altaiire
5 avenue du Pré Félin
PAE les Glaisins
74940 ANNECY LE VIEUX
http : www.altaiire.fr
Tel : 04 50 64 00 36
Fax : 04 50 64 09 16

___
Delphi mailing list -> Delphi@elists.org
http://www.elists.org/mailman/listinfo/delphi


Re: similiar to opening a csv file in default program

2006-07-05 Thread Wim Sterns


--- Rich Cooper <[EMAIL PROTECTED]> wrote:

> I'm trying to pipe a DOS command to a file using a
> ShellExecute,
> but it doesn't create  the output file.  Here's the
Rich,

try
pchar('d:\harbor.txt'),nil,pchar('d:\')


Wim


> code:


 
> var D : string;
> ...
>   D := GetStartDir;
>   ShellExecute(0,pChar('ipconfig/all > 
> '),pchar('harbor.txt'),nil,pChar(D),SW_SHOWNORMAL);
> ...
> 
> but no file named 'harbor.txt' gets created.  Does
> anyone know how to
> fix this?
> 
> Thanks,
> Rich
>

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Delphi mailing list -> Delphi@elists.org
http://www.elists.org/mailman/listinfo/delphi


Re: similiar to opening a csv file in default program

2006-07-05 Thread Rich Cooper
I'm trying to pipe a DOS command to a file using a ShellExecute,
but it doesn't create  the output file.  Here's the code:

var D : string;
...
  D := GetStartDir;
  ShellExecute(0,pChar('ipconfig/all > 
'),pchar('harbor.txt'),nil,pChar(D),SW_SHOWNORMAL);
...

but no file named 'harbor.txt' gets created.  Does anyone know how to
fix this?

Thanks,
Rich

Brendan Blake wrote:

> ShellExecute works fine for me:  (still on Delphi 5)
>
> ShellExecute(0,'open',PChar(filen),nil,nil,sw_ShowNormal);
>
> Where filen is a string containing the full path, filename and file
> type/extension (.csv)   You need "uses ShellAPI" (I recall).
>
> My default application is Excel. Works fine. Maybe you have not got the
> registration correctly set up to your default application?
>
> Regards,
>   Brendan.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of Chris Stebbing
> Sent: 03 July 2006 09:37
> To: Delphi List
> Subject: opening a csv file in default program
>
> Hi All,
>
> I'd like to be able to launch a CSV file into Excel or whatever
> happens to be the default application to handle CSV's.  I had though
> that I could just do a ShellEx or CreateProcess with the csv as the
> application name, but that doesn't seem to work.
>
> Can anyone advise how I might acheve this?
>
> Ta muchly,
> Chris.
>
> ___
> Delphi mailing list -> Delphi@elists.org
> http://www.elists.org/mailman/listinfo/delphi
>
> ___
> Delphi mailing list -> Delphi@elists.org
> http://www.elists.org/mailman/listinfo/delphi
> 

___
Delphi mailing list -> Delphi@elists.org
http://www.elists.org/mailman/listinfo/delphi


coff 2 omf

2006-07-05 Thread mohammad moeini
hi
ihave a .lib file that bds not link to this .
in message says:
"[Linker Error] Error: 'C:\PROGRAM FILES\PARADIGMA
SOFTWARE\VCOMPONENTS_WIN_VC\KERNEL_WIN32_RELEASE_IMP.LIB' contains invalid
OMF record, type 0x21 (possibly COFF)".
i try convert this in window command by this code : "coff2omf ThisAdrress
NewAdress".
after convert the file resize from 1,500,000 byte to 512 byte and the bds
not link to this.
please help me.
___
Delphi mailing list -> Delphi@elists.org
http://www.elists.org/mailman/listinfo/delphi