Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 4th, 2003, 06:21 PM
Authorized User
 
Join Date: Aug 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rosalynb
Default convert a Stored procedure to DLL by VC++

I have this stored procedure :
CREATE PROCEDURE [dbo].[GetTotalDebttoGrossIncomeRatio](@TotalDebttoGrossIncomeRatio Real Out,@ACCT int) AS
begin

select @TotalDebttoGrossIncomeRatio = DBTRO
from AS400Replica.dbo.HHMASTER
where HACCT# = @ACCT
    If ISNULL(@TotalDebttoGrossIncomeRatio, ' ') = ' '
        Begin
            select @TotalDebttoGrossIncomeRatio = CLDRT$
            from AS400Replica.dbo.FECLUE1FPF
            where ACCT#$ = @ACCT
        End
end
GO

does anybody know how could I re -write it with C++ and create a DLL by that?
any sample please....

thanks



__________________
--------------------
Thanks
Rose
[email protected]





Similar Threads
Thread Thread Starter Forum Replies Last Post
convert unmanaged dll to managed dll nitesh kumar Visual C++ 2005 0 August 4th, 2008 04:53 AM
Need to convert query to stored procedure nanu yaru SQL Server 2000 2 April 1st, 2008 07:46 AM
How to convert .NET dll to COM dll used by VB 6.0 gvprashanth .NET Framework 1.x 0 December 4th, 2006 05:05 AM
Calling Stored Procedure Using vc++ senthil_mano Visual C++ 0 August 30th, 2006 12:20 AM
convert VC++ 5.0 project to VC++ 6.0 MIDL ERR mdahd90943 Visual C++ 0 May 26th, 2005 08:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.